/* Readable community navigation and compact collections. All accents use the shared theme palette. */
:root[data-theme] .lf-forum-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.lf-forum-heading-actions [hidden]{display:none!important}.lf-exit-site{font:500 13px/1.4 var(--font);color:var(--lf-secondary)}
:root[data-theme] .lf-administration-link{display:flex;align-items:center;gap:9px;font:600 14px/1.45 var(--font);color:var(--lf-rose-ink);border:1px solid var(--lf-stroke);background:var(--lf-rose-wash);padding:12px;border-radius:12px;white-space:normal;overflow-wrap:anywhere}
.lf-administration-link .lf-icon{width:20px;height:20px;flex:0 0 20px}
:root[data-theme] #navigation [data-header-profile]{display:flex;align-items:center;gap:8px}
:root[data-theme] #navigation .lf-header-inbox{display:flex;position:relative;align-items:center;justify-content:center;width:40px;height:42px;padding:0;border:1px solid var(--lf-stroke);border-radius:12px;color:var(--lf-rose);background:var(--lf-surface)}
#navigation .lf-header-inbox .lf-icon{width:21px;height:21px}
:root[data-theme] :is([data-inbox-count],[data-chat-count]){display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:22px;height:22px;padding:0 5px;box-sizing:border-box;border-radius:20px;background:var(--lf-rose);color:#17202b;font:700 12px/1 var(--font);box-shadow:none;white-space:nowrap}
:root[data-theme=light] :is([data-inbox-count],[data-chat-count]){color:#fff}
:root[data-theme] :is([data-inbox-count],[data-chat-count])[hidden]{display:none!important}
#navigation .lf-header-inbox [data-inbox-count]{position:absolute;right:-6px;top:-6px}
:root[data-theme] #navigation .lf-identity-menu nav .lf-identity-card>.lf-mascot{flex:0 0 42px!important;width:42px!important;height:42px}
:root[data-theme] #navigation .lf-identity-menu nav .lf-identity-card strong{display:block;font:400 12px/1.45 var(--font);color:var(--lf-secondary);text-transform:none;letter-spacing:0;overflow-wrap:anywhere}
#navigation .lf-identity-menu[open]>nav{animation:lf-menu-appear .18s ease-out;transform-origin:top right}
@keyframes lf-menu-appear{from{opacity:0;transform:translateY(-5px) scale(.98)}to{opacity:1;transform:none}}
:root[data-theme] #lfForum .lf-forum-home{display:flex;align-items:center;gap:10px;padding:12px 14px;margin:0 0 18px;border-radius:12px;border:1px solid var(--lf-stroke);background:var(--lf-surface);color:var(--lf-ink);font:600 14px/1.5 var(--font)}
.lf-forum-home .lf-icon{width:21px;height:21px}
:root[data-theme] #lfForum .lf-community-select{color:var(--lf-secondary);font-size:13px}
:root[data-theme] #lfForum .lf-community-select select{font-size:15px;min-height:46px;color:var(--lf-ink);background:var(--lf-field);border-color:var(--lf-stroke)}
:root[data-theme] #lfForum .lf-hub-tabs{gap:7px;padding:4px 1px 16px}
:root[data-theme] #lfForum .lf-picture-link{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:flex-start;text-align:left;gap:10px;min-height:58px;padding:11px 13px;border:1px solid #ffffff25;border-radius:12px;background:#12212d;color:#f7f9fc;box-sizing:border-box;white-space:normal;font:600 14px/1.4 var(--font);text-transform:none;letter-spacing:0;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
#lfForum .lf-picture-link>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:80% 45%;z-index:-2;opacity:.8;transition:transform .4s ease}
#lfForum .lf-picture-link::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#10202dfa 15%,#10202de8 50%,#10202d80 100%)}
#lfForum .lf-picture-link>.lf-icon{width:21px;height:21px;flex:0 0 21px;color:#ffc3df;opacity:1}
#lfForum .lf-picture-link>span{position:static;flex:1;min-width:0;overflow-wrap:anywhere;color:inherit;text-align:left;font:inherit;text-transform:none;white-space:normal;letter-spacing:0}
:root[data-theme] #lfForum .lf-picture-link:is(:hover,:focus-visible){transform:translateX(3px);border-color:#f5a9d2;box-shadow:inset 3px 0 #f5a9d2;color:#fff;background:#12212d}
#lfForum .lf-picture-link:hover>img{transform:scale(1.07)}
:root[data-theme] #lfForum .lf-picture-link[aria-current=page]{border-color:#f7b2d5;box-shadow:inset 3px 0 #f7b2d5;color:#fff;background:#12212d}
.lf-side-discover .lf-picture-link{margin-top:10px;min-height:94px!important}
.lf-side-guidelines .lf-administration-link{margin-top:16px}
.lf-discovery-controls{position:relative;margin:0 0 22px;padding:16px;border:1px solid var(--lf-stroke);border-radius:16px;background:var(--lf-surface)}
.lf-discussion-search,.lf-store-search{display:flex;align-items:center;gap:10px;min-width:0}
.lf-discussion-search>.lf-icon,.lf-store-search>.lf-icon{width:22px;height:22px;flex:0 0 22px;color:var(--lf-secondary)}
:root[data-theme] #lfForum :is(.lf-discussion-search,.lf-store-search) input{min-width:0;flex:1;width:100%;background:var(--lf-field);color:var(--lf-ink);font:400 15px/1.5 var(--font);padding:12px;border:1px solid var(--lf-stroke);border-radius:10px;box-sizing:border-box}
.lf-discovery-filters{display:flex;gap:12px;margin-top:14px;align-items:end;flex-wrap:wrap}
.lf-discovery-filters>label{flex:1;min-width:110px;display:grid;gap:6px;color:var(--lf-secondary);font-size:12px}
:root[data-theme] #lfForum .lf-discovery-filters select{min-width:0;width:100%;font:500 14px/1.4 var(--font);min-height:44px;padding:10px;border:1px solid var(--lf-stroke);border-radius:9px;background:var(--lf-field);color:var(--lf-ink)}
.lf-sort-help>summary{list-style:none;cursor:pointer;border:1px solid var(--lf-stroke);border-radius:50%;width:28px;height:28px;text-align:center;font-size:14px;line-height:28px;margin-bottom:8px;color:var(--lf-secondary)}
.lf-sort-help>p{position:absolute;right:14px;top:100%;max-width:300px;padding:16px;margin:6px 0;z-index:9;border:1px solid var(--lf-stroke);border-radius:12px;background:var(--lf-surface);box-shadow:0 12px 30px #0003;color:var(--lf-ink);font-size:13px;line-height:1.5}
.lf-post-views{display:inline-flex;gap:5px;align-items:center;font:400 12px/1.4 var(--font);color:var(--lf-secondary)}
.lf-post-views .lf-icon{width:16px;height:16px;flex:0 0 16px}.lf-thread>.lf-post-views{margin-top:10px}
:root[data-theme] #lfForum .lf-post-top time{font-size:12px;color:var(--lf-secondary)}
.lf-country-flag{display:inline-flex!important;align-items:center;vertical-align:middle;padding:2px!important;min-width:0;line-height:1;border:1px solid var(--lf-stroke);border-radius:5px;background:var(--lf-surface);box-shadow:0 2px 5px #0001}
.lf-country-flag>img{display:block;width:24px!important;height:18px!important;object-fit:contain;border-radius:2px}
.lf-country-field{display:grid;gap:8px;position:relative;font-size:15px;min-width:0;z-index:8}
.lf-country-field>span{color:var(--lf-ink)}
[data-country-picker]>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;list-style:none;cursor:pointer;min-height:48px;padding:11px 13px;border:1px solid var(--lf-stroke);border-radius:10px;background:var(--lf-field);color:var(--lf-ink);box-sizing:border-box}
[data-country-picker]>summary::-webkit-details-marker{display:none}
#lfCountryValue{display:inline-flex;gap:10px;align-items:center;min-width:0}
.lf-country-popover{position:absolute;inset:calc(100% + 6px) 0 auto;padding:10px;border:1px solid var(--lf-stroke);border-radius:12px;background:var(--lf-surface);box-shadow:0 16px 38px #0004;z-index:30;min-width:0}
.lf-country-options{max-height:280px;overflow:auto;margin-top:8px;overscroll-behavior:contain;scrollbar-width:thin}
:root[data-theme] .lf-country-options button{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:0;gap:10px;padding:10px 8px;min-height:45px;background:transparent;color:var(--lf-ink);border:0;border-radius:7px;text-align:left;font:400 14px/1.4 var(--font);white-space:normal;cursor:pointer}
.lf-country-options button>span:not(.lf-country-flag){flex:1;overflow-wrap:anywhere}.lf-country-options small{color:var(--lf-secondary)}
:root[data-theme] .lf-country-options button:is(:hover,[aria-pressed=true]){background:var(--lf-rose-wash);color:var(--lf-rose-ink)}
.lf-country-options .lf-country-flag{flex:0 0 24px}
.lf-feature-cover{height:126px;background-size:cover;background-position:50% 48%;border-radius:18px;margin-bottom:24px;position:relative;overflow:hidden}
.lf-cover-store{background-image:linear-gradient(90deg,#16263410,#16263450),url('/assets/community/tile-store.webp')}
.lf-cover-exchange{background-image:linear-gradient(90deg,#16263410,#16263450),url('/assets/community/tile-exchange.webp')}
:root[data-theme] #lfForum .lf-store-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:14px;border:1px solid var(--lf-stroke);border-radius:14px;background:var(--lf-surface);margin-bottom:14px}
.lf-store-tools>.lf-store-search{flex:1 1 100%;margin:0}
.lf-store-tools>label:not(.lf-store-search){display:flex;gap:8px;align-items:center;color:var(--lf-ink);font-size:13px}
.lf-store-tools input[type=checkbox]{width:18px;height:18px;accent-color:var(--lf-rose);flex:0 0 18px}
:root[data-theme] #lfForum .lf-store-tabs{display:flex;flex-wrap:wrap;gap:7px;overflow:visible;margin:0 0 16px}
:root[data-theme] #lfForum .lf-store-tabs button{color:var(--lf-secondary);background:var(--lf-surface);border:1px solid var(--lf-stroke);min-height:40px;padding:9px 12px;font:500 13px/1.3 var(--font);border-radius:24px;white-space:normal}
:root[data-theme] #lfForum .lf-store-tabs button[aria-pressed=true]{color:var(--lf-rose-ink);background:var(--lf-rose-wash);border-color:var(--lf-rose)}
.lf-store-count{color:var(--lf-secondary);font-size:12px;margin-bottom:14px}
:root[data-theme] #lfForum .lf-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}
:root[data-theme] #lfForum .lf-store-item{min-width:0;border-radius:15px;background:var(--lf-surface);border:1px solid var(--lf-stroke);overflow:hidden;transition:transform .2s,border-color .2s}
#lfForum .lf-store-item:hover{transform:translateY(-3px);border-color:var(--lf-rose)}
#lfForum .lf-store-item>div:last-child{padding:12px}.lf-store-item h3{font:600 14px/1.45 var(--font)!important;letter-spacing:0;overflow-wrap:anywhere;min-height:40px;margin:7px 0 12px}
#lfForum .lf-store-item .lf-kicker{font-size:9px;letter-spacing:.06em;color:var(--lf-secondary)}
#lfForum .lf-store-item .lf-product-photo,#lfForum .lf-store-item .lf-store-badge{height:170px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at bottom,color-mix(in srgb,var(--item-color) 25%,var(--lf-surface)),var(--lf-raised));overflow:hidden;padding:8px}
#lfForum .lf-store-item .lf-product-photo>.lf-mascot{height:100%;width:150px;max-width:100%;background:none;border-radius:0}
#lfForum .lf-store-item .lf-store-badge>.lf-badge-art{width:120px;height:132px;max-width:90%;object-fit:contain;filter:drop-shadow(0 9px 8px #0003)}
#lfForum .lf-store-item .lf-store-price{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
:root[data-theme] #lfForum .lf-store-item .button{font:600 12px/1.4 var(--font);padding:9px 10px;min-height:39px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.lf-store-price strong{color:var(--lf-ink);font-size:14px}.lf-store-price small{color:var(--lf-secondary);font-size:10px}
.lf-store-item [data-equip-sku]{margin-top:8px}.lf-store-item .lf-back{display:block;margin-top:10px;font-size:12px}
.lf-badge-art{display:block;width:58px;height:62px;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 4px 4px #0002)}
:root[data-theme] #lfForum .lf-achievement{position:relative;background:var(--lf-surface);color:var(--lf-ink);border:1px solid color-mix(in srgb,var(--rank-color,var(--lf-rose)) 65%,var(--lf-stroke));overflow:hidden;transition:transform .2s,border-color .2s}
#lfForum .lf-achievement:hover{transform:translateY(-2px);border-color:var(--lf-rose)}
.lf-badge-options .lf-achievement{display:flex;justify-content:flex-start;align-items:center;flex-direction:row;padding:10px;gap:10px;min-height:84px}.lf-badge-options .lf-achievement>span{font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.lf-badge-options input:checked+.lf-achievement{outline:2px solid var(--lf-rose);outline-offset:2px}
.lf-room-showcase .lf-badge-art{width:44px;height:48px}.lf-room-showcase .lf-achievement{max-width:none}
.lf-premium-badge .lf-badge-art,.lf-badge-prismatic{animation:lf-prismatic-badge 7s linear infinite}
@keyframes lf-prismatic-badge{0%,100%{filter:hue-rotate(0deg) drop-shadow(0 0 8px #f49aca70)}50%{filter:hue-rotate(50deg) drop-shadow(0 0 12px #92b6fc80)}}
.lf-avatar-preview .lf-avatar-stage{perspective:900px}.lf-avatar-preview .lf-avatar-stage>.lf-mascot{transition:transform .5s ease;filter:drop-shadow(0 12px 10px #0003)}
.lf-avatar-preview .lf-avatar-stage:hover>.lf-mascot{transform:rotateY(-8deg) rotateZ(2deg) translateY(-5px)}
.lf-wardrobe-pages{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;font-size:13px;color:var(--lf-secondary)}
:root[data-theme] .lf-wardrobe-pages button{min-height:42px;border:1px solid var(--lf-stroke);background:var(--lf-raised);color:var(--lf-ink);border-radius:10px;padding:10px 13px;font:500 13px/1.4 var(--font)}
.lf-player-search-field{position:relative;min-width:0}.lf-friend-search{display:block;flex:1;min-width:0}.lf-member-search{min-width:0;max-width:100%}.lf-member-search input{box-sizing:border-box;width:100%;min-width:0}
.lf-player-suggestions{position:absolute;z-index:35;left:0;right:0;top:calc(100% + 6px);padding:7px;border:1px solid var(--lf-stroke);background:var(--lf-surface);border-radius:12px;box-shadow:0 16px 40px #0004;max-height:300px;overflow:auto;min-width:0}
:root[data-theme] #lfForum .lf-player-suggestions>button{display:flex;align-items:center;gap:9px;text-align:left;width:100%;min-height:50px;border:0;border-radius:8px;background:transparent;color:var(--lf-ink);padding:9px;font:500 13px/1.4 var(--font);cursor:pointer}
#lfForum .lf-player-suggestions>button>span:not(.lf-mascot){overflow-wrap:anywhere;min-width:0}.lf-player-suggestions .lf-mascot{width:30px;height:30px;flex:0 0 30px}
:root[data-theme] #lfForum .lf-player-suggestions>button:is(:hover,:focus-visible){background:var(--lf-rose-wash);color:var(--lf-rose-ink)}
.lf-player-suggestions>p{font-size:13px;margin:10px;color:var(--lf-secondary)}
:root[data-theme] #lfForum .lf-chat-layout{overflow:visible}.lf-chat-layout>aside{border-radius:15px 0 0 15px}
:root[data-theme=light] #lfForum :is(.lf-country-popover,.lf-player-suggestions,.lf-wardrobe-tabs){background:#fff;color:var(--lf-ink)}
:root[data-theme=light] #lfForum :is(.lf-wallet-hero,.lf-store-item,.lf-settings-card,.lf-country-field) :is(p,small,label){color:var(--lf-secondary)}
@media(min-width:1600px){:root[data-theme] #lfForum .lf-forum-layout{grid-template-columns:230px minmax(0,1fr) 240px}:root[data-theme] #lfForum .lf-store-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1180px){:root[data-theme] #lfForum .lf-store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lf-side-discover .lf-picture-link{min-height:65px!important}}
@media(max-width:760px){
 :root[data-theme] .lf-forum-heading{flex-wrap:wrap;align-items:flex-start;gap:15px}.lf-forum-heading-actions{justify-content:flex-start!important;width:100%;gap:8px}.lf-forum-heading-actions>.button{min-height:42px;font-size:13px;padding:10px 13px}
 :root[data-theme] #lfForum .lf-forum-left{max-height:none;overflow:visible}.lf-community-navigation{padding:13px}.lf-community-navigation>summary{font:600 15px/1.5 var(--font)!important;min-height:30px;align-items:center}
 :root[data-theme] #lfForum .lf-hub-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lf-hub-tabs .lf-administration-link{grid-column:1/-1}
 :root[data-theme] #lfForum .lf-picture-link{min-height:64px;font-size:14px;padding:11px 10px;gap:8px}.lf-picture-link>.lf-icon{width:19px!important;height:19px!important;flex-basis:19px!important}
 .lf-forum-left .lf-forum-home{margin-top:12px!important;margin-bottom:14px!important}
 :root[data-theme] #lfForum .lf-forum-sidebar{display:none}.lf-discussion-search{gap:8px}.lf-discussion-search>.lf-icon{display:none}.lf-discussion-search .button{font-size:13px;padding:10px;min-height:44px}
 .lf-discovery-controls{padding:12px}.lf-discovery-filters{gap:9px}.lf-discovery-filters>label{min-width:calc(50% - 12px)}.lf-discovery-filters>label:nth-child(3){flex-basis:calc(100% - 48px)}
 :root[data-theme] #lfForum .lf-store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #lfForum .lf-store-item>div:last-child{padding:11px}#lfForum .lf-store-item .lf-product-photo,#lfForum .lf-store-item .lf-store-badge{height:160px}#lfForum .lf-store-item h3{font-size:13px!important}
 .lf-feature-cover{height:110px}.lf-wallet-hero .lf-vcd-bill{max-width:135px!important}.lf-wallet-hero{padding:16px!important}.lf-wallet-hero>div:first-child>strong{font-size:30px!important}
 .lf-player-suggestions{max-height:240px}.lf-country-options{max-height:250px}.lf-country-popover{max-width:100%}
 .lf-badge-options .lf-achievement{flex-direction:column;text-align:left;align-items:flex-start}.lf-badge-options .lf-badge-art{width:64px;height:67px}.lf-room-showcase .lf-badge-art{width:44px;height:48px}
 .lf-profile-page .lf-profile-tabs button{white-space:normal;overflow-wrap:anywhere;align-items:center;line-height:1.4}.lf-profile-page .lf-profile-tabs button span{text-align:left!important}
 .lf-wardrobe-items{grid-template-columns:repeat(2,minmax(0,1fr))}.lf-wardrobe-item strong{font-size:13px}.lf-color-row button{width:39px;height:39px}
 .lf-chat-layout #lfNewChat{flex-wrap:wrap}.lf-chat-layout #lfNewChat label{flex-basis:100%}.lf-chat-layout #lfNewChat .button{width:100%}.lf-chat-layout>aside{border-radius:15px 15px 0 0}
}
@media(max-width:380px){:root[data-theme] #lfForum .lf-picture-link{font-size:13px}:root[data-theme] #navigation [data-header-profile]{gap:4px}#navigation .lf-header-inbox{width:34px!important;height:38px!important}.lf-store-tools{padding:10px!important}.lf-store-item .lf-store-price{align-items:flex-start;flex-direction:column}.lf-store-price .button{width:100%}}
@media(prefers-reduced-motion:reduce){#navigation .lf-identity-menu[open]>nav,.lf-premium-badge .lf-badge-art,.lf-badge-prismatic{animation:none!important}:root[data-theme] #lfForum .lf-picture-link,:root[data-theme] #lfForum .lf-picture-link img,:root[data-theme] #lfForum .lf-store-item,.lf-achievement,.lf-avatar-preview .lf-avatar-stage>.lf-mascot{transition:none!important;transform:none!important}}
