/* Collection and shared club room. Scoped to ORBIT community components. */
.oc-role-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 25px;width:25px;height:25px;vertical-align:middle}
.oc-role-badge img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 1px 2px #0009)}
html body .oc-framed[data-oc-frame=shop-bronze]{--oc-frame-image:url('/assets/collection/v1/shop-bronze.webp')}
html body .oc-framed[data-oc-frame=shop-titanium]{--oc-frame-image:url('/assets/collection/v1/shop-titanium.webp')}
html body .oc-framed[data-oc-frame=shop-emerald]{--oc-frame-image:url('/assets/collection/v1/shop-emerald.webp')}
html body .oc-framed[data-oc-frame=shop-sapphire]{--oc-frame-image:url('/assets/collection/v1/shop-sapphire.webp')}
html body .oc-framed[data-oc-frame=shop-sovereign]{--oc-frame-image:url('/assets/collection/v1/shop-sovereign.webp')}
.community-store-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:#15130f;border:1px solid #cbb07527;border-radius:17px;margin:0 0 20px}
.community-store-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border-radius:12px;background:transparent;color:#a99e88;font-size:12px;font-weight:700}
.community-store-tabs button.active{background:linear-gradient(145deg,#655339,#423726);border:1px solid #ceb17955;color:#f6e6c2;box-shadow:inset 0 1px #fff2,0 2px 5px #0005}
.community-store-tabs span{font-size:9px;background:#ffffff10;padding:2px 5px;border-radius:6px}
.community-frame-intro{padding:6px 0 20px}.community-frame-intro h2{font-size:24px;letter-spacing:-.7px;margin:9px 0}.community-frame-intro p{font-size:11px;line-height:1.6;max-width:320px}
.community-frame-filter{display:flex;gap:7px;margin-bottom:15px}.community-frame-filter button{background:#ffffff07;border:1px solid #b3976233;color:#b8aa91;border-radius:20px;padding:8px 15px;font-size:11px}.community-frame-filter button.active{background:#c4a46c29;border-color:#ceb27b70;color:#ecd8b0}
.community-frame-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
html body .community-frame-card{min-width:0!important;position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;padding:13px 11px 15px!important;border-radius:22px!important;border:1px solid #bb9d6545!important;background:radial-gradient(ellipse at 50% 35%,#b696602b,transparent 70%),linear-gradient(145deg,#30291f,#1d1a16)!important;box-shadow:inset 0 1px #fff1,0 8px 18px #0005!important;overflow:hidden!important}
.community-frame-tier{font-size:8px;letter-spacing:.8px;text-transform:uppercase;color:#b8a382;margin-bottom:4px}
.community-frame-art{position:relative;display:grid;place-items:center;width:100%;height:155px;background:none;border:0;margin:0;padding:0;cursor:pointer}
.community-frame-artwork{position:absolute;width:153px;max-width:100%;height:153px;object-fit:contain;filter:drop-shadow(0 6px 6px #0006)}
.community-catalog-face{display:grid;place-items:center;width:91px;height:91px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#5c503b,#292219);font-size:30px;font-weight:750;color:#ad946b;overflow:hidden}
.community-catalog-face img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.community-frame-card h3{font-size:16px;margin:2px 0 13px;letter-spacing:-.3px;font-weight:750}
.community-frame-price{display:flex;align-items:center;justify-content:center;gap:6px;width:82%;min-height:37px;border-radius:20px;background:linear-gradient(155deg,#76603e,#58442b);border:1px solid #d1b1777d;border-bottom-color:#3c2c18;color:#f8e9cc;font-size:15px;font-weight:800;box-shadow:inset 0 1px #ffeac340,0 2px 0 #251a0f,0 4px 8px #0004}
.community-frame-price:active{transform:translateY(2px);box-shadow:inset 0 1px 3px #0004}.community-frame-price img{width:22px;height:22px;object-fit:contain}.community-frame-price.is-equipped{background:#3b4932;color:#d0dfb8;border-color:#9db97b65;font-size:11px}
.community-frame-card[data-tier=shop-emerald]{background:radial-gradient(ellipse at 50% 35%,#527a4c35,transparent 70%),#201f18!important}.community-frame-card[data-tier=shop-sapphire]{background:radial-gradient(ellipse at 50% 35%,#4a678c35,transparent 70%),#1d1e20!important}.community-frame-card[data-tier=shop-sovereign]{border-color:#dfbf7e8a!important;background:radial-gradient(ellipse at 50% 35%,#c49d5145,transparent 70%),#292217!important}
.community-frame-detail{text-align:center}.community-frame-detail h2{padding:0!important;margin:9px 0 23px!important;font-size:27px!important}.community-detail-avatar{width:110px;height:110px;margin:35px auto 30px!important}.community-catalog-face.large{width:110px;height:110px;font-size:37px}.community-frame-detail>p{font-size:12px}.community-frame-total{display:flex;gap:7px;align-items:center;justify-content:center;margin:20px 0;font-size:27px}.community-frame-total img{width:31px;height:31px;object-fit:contain}
.community-glow-options{display:flex;justify-content:center;gap:8px;margin:12px 0 20px}.community-glow-options button{display:grid;place-items:center;width:33px;height:33px;background:#ffffff06;border:1px solid #b69b6333;border-radius:50%}.community-glow-options button.active{border-color:#dfc18d;box-shadow:0 0 0 2px #bfa16d25}.community-glow-options i{display:block;width:16px;height:16px;background:var(--oc-color,#edc67d);border-radius:50%;box-shadow:0 0 7px rgba(var(--oc-rgb,237,198,125),.3)}
.community-chat-login{text-align:center;padding:35px 20px;border-radius:23px;background:#29231b;border:1px solid #b5996350}.community-chat-login>svg{width:48px;height:48px;color:#d2b77f;margin-bottom:18px}.community-chat-login h2{font-size:23px;margin-bottom:12px}.community-chat-login p{font-size:12px;margin-bottom:23px}
html body .community-chat-shell{position:relative;display:flex;flex-direction:column;height:calc(100dvh - 235px - env(safe-area-inset-bottom));min-height:330px;max-height:1000px;padding:0;margin:0 -7px}
.community-chat-heading{display:flex;align-items:center;justify-content:space-between;padding:6px 4px 16px;border-bottom:1px solid #c1a16d25;flex-shrink:0}.community-chat-heading h1{font-size:25px;letter-spacing:-.8px;margin:0 0 7px}.community-chat-heading>div>span{display:flex;align-items:center;gap:5px;color:#a99c85;font-size:10px}.community-chat-heading b{font-weight:600}.community-chat-heading i{width:5px;height:5px;background:#a8bf8a;border-radius:50%;margin-right:2px}.community-chat-rules{width:29px;height:29px;border-radius:50%;background:#ffffff08;border:1px solid #c5ab7433;font:italic 17px Georgia,serif;color:#c6b28d}
.community-chat-feed{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:18px 5px 16px;scrollbar-color:#8d774a4d transparent}
.community-chat-feed [hidden]{display:none!important}.community-load-older{display:block;margin:0 auto 18px;background:#ffffff07;border:1px solid #c7aa7133;border-radius:16px;padding:8px 13px;font-size:10px;color:#c6b48e}
.community-message{display:flex!important;align-items:flex-start!important;gap:10px!important;margin:0 0 18px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important;min-height:0!important}
.community-chat-avatar{background:none;border:0;padding:2px 0 0;flex:0 0 30px;overflow:visible}.community-chat-avatar>.avatar{width:29px!important;height:29px!important;font-size:12px!important}.community-chat-avatar img{width:100%;height:100%;object-fit:cover}
.community-message-body{min-width:0;max-width:calc(100% - 40px);width:max-content;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.community-message-name{background:none;border:0;padding:0 2px;font-size:10px;color:#cbbb98;max-width:100%;text-align:left}.community-message-name .league-badge{width:14px!important;height:15px!important;margin:0!important}.community-message-name .oc-plus-badge{width:18px!important;height:18px!important;flex-basis:18px!important}.community-message-name .oc-role-badge{width:19px;height:19px;flex-basis:19px}.community-message-name .identity-name,.community-message-name .oc-identity{gap:4px}
.community-message-bubble{min-width:65px;max-width:100%;border-radius:5px 17px 17px 17px;padding:10px 12px 7px;background:linear-gradient(145deg,#30291f,#29231c);border:1px solid #b2966230;box-shadow:inset 0 1px #fff08,0 3px 8px #0002}
.community-message.is-own{flex-direction:row-reverse!important}.community-message.is-own .community-message-body{align-items:flex-end}.community-message.is-own .community-message-name{text-align:right}.community-message.is-own .community-message-bubble{background:linear-gradient(145deg,#51442d,#403622);border-color:#c3a26945;border-radius:17px 5px 17px 17px}
.community-message-text{font-size:12px;line-height:1.6;color:#ebe0cd;white-space:pre-wrap;overflow-wrap:anywhere;margin:0!important}.community-deleted{font-size:11px;font-style:italic;color:#a99d87;margin:0!important}
.community-message-foot{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:5px;color:#9d8e76;font-size:8px}.community-message-foot>button{font-size:8px;background:none;padding:1px;color:#ac9981}
.community-chat-empty{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;min-height:220px;gap:12px;color:#b9a98a}.community-chat-empty>svg{width:38px;height:38px;color:#bba16d;opacity:.7}.community-chat-empty b{font-size:16px}.community-chat-empty span{font-size:11px;max-width:230px;line-height:1.7;color:#9e927f}
.community-chat-error{font-size:10px;color:#dabba2;line-height:1.6;padding:4px 7px;flex-shrink:0}.community-chat-error:empty{display:none}
html body .community-composer{display:flex;align-items:flex-end;gap:7px;padding:9px 8px;border:1px solid #b699633f;background:#242019;border-radius:20px;box-shadow:inset 0 1px #fff1,0 4px 10px #0004;flex-shrink:0}
html body .community-composer[hidden]{display:none!important}html body .community-composer textarea{flex:1;min-width:0;resize:none;max-height:96px;min-height:37px;height:37px;margin:0;padding:10px 7px;border:0;border-radius:0;outline:0;background:none;color:#f1e6d2;font-size:12px;line-height:17px;box-shadow:none}html body .community-composer textarea::placeholder{color:#9d907b}
.community-record-button,.community-send-button{flex:0 0 37px;width:37px;height:37px;border-radius:13px;display:grid;place-items:center}.community-record-button{background:#ffffff08;color:#cbb58e;border:1px solid #b9a16b26}.community-send-button{background:linear-gradient(145deg,#ebd19a,#bd985b);color:#312615;box-shadow:inset 0 1px #fff7,0 2px 0 #6d512c}.community-record-button>svg,.community-send-button>svg{width:19px;height:19px}
.community-new-messages{position:absolute;bottom:75px;left:50%;transform:translateX(-50%);padding:8px 13px;border-radius:18px;border:1px solid #ba9a6080;background:#514128;color:#f6e2b7;font-size:10px;box-shadow:0 4px 12px #0006;white-space:nowrap;z-index:4}.community-new-messages[hidden]{display:none}
.community-voice{display:flex;align-items:center;gap:10px;width:255px;max-width:100%;min-height:49px;padding:2px 0;color:#d5bb86}.community-voice-play{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:0;border-radius:50%;border:1px solid #e5c78955;background:linear-gradient(145deg,#e4c58c,#b79559);color:#332718;box-shadow:inset 0 1px #fff5,0 2px 5px #0003}.community-voice-play svg{width:20px;height:20px}.community-voice-main{flex:1;min-width:0;overflow:hidden}
.community-waveform{display:flex;align-items:center;gap:2px;height:30px;position:relative;isolation:isolate}.community-waveform>i{display:block;flex:1;min-width:1px;max-width:4px;height:calc(var(--bar)*.27px);border-radius:3px;background:#9c875c70;transition:background .15s}.community-waveform>i.played{background:#f0d198}
html body .community-waveform input[type=range]{position:absolute;inset:0;display:block;width:100%;height:100%;opacity:0;cursor:pointer;padding:0;margin:0;border:0;z-index:2;touch-action:pan-y}html body .community-waveform input:focus-visible{opacity:.3;outline:2px solid #d6b980;border-radius:4px}
.community-voice-meta{display:flex;justify-content:space-between;gap:7px;margin-top:3px;font-size:8px;font-variant-numeric:tabular-nums;color:#ac9975}.community-voice-meta>span:first-child{color:#c8b58d}
.community-audio-loading{width:15px;height:15px;border-radius:50%;border:2px solid #392b1744;border-top-color:#392b17;animation:community-spin .75s linear infinite}
.community-recording{display:flex;align-items:center;gap:9px;padding:12px;background:#30271e;border:1px solid #b89a614d;border-radius:18px}.community-record-dot{width:8px;height:8px;background:#d28f77;border-radius:50%;animation:community-rec-pulse 1.4s ease-in-out infinite}.community-recording>strong{font-size:13px;color:#eed3ac;font-variant-numeric:tabular-nums}.community-recording>span:nth-of-type(2){font-size:10px;color:#b4a187;flex:1}.community-recording>button{width:33px;height:33px;display:grid;place-items:center;border-radius:11px;background:#ffffff09;color:#c0ad91;font-size:20px}.community-recording .community-record-stop{background:#b48163}.community-record-stop i{width:12px;height:12px;background:#30231c;border-radius:3px}
.community-voice-draft{padding:14px;border:1px solid #bb9f6a60;background:#30281d;border-radius:19px}.community-voice-draft>.oc-eyebrow{font-size:8px}.community-voice-draft>.community-voice{margin:11px 0;width:100%}.community-voice-draft>div:last-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.community-voice-draft .btn{min-height:35px;padding:8px 13px;font-size:11px;margin:0}.community-voice-draft .btn svg{width:15px;height:15px}.community-voice-draft .club-text-button{font-size:11px}
@keyframes community-spin{to{transform:rotate(360deg)}}@keyframes community-rec-pulse{0%,100%{opacity:.35}50%{opacity:1}}
@media(max-width:360px){.community-frame-art{height:130px}.community-frame-artwork{width:132px;height:132px}.community-catalog-face{width:78px;height:78px}.community-frame-card h3{font-size:14px}.community-chat-shell{margin:0 -9px}.community-message{gap:8px!important}.community-chat-avatar{flex-basis:26px}.community-chat-avatar>.avatar{width:25px!important;height:25px!important}.community-message-body{max-width:calc(100% - 34px)}.community-voice{width:216px;gap:7px}.community-waveform{gap:1px}.community-message-bubble{padding:9px 10px 6px}}
@media(prefers-reduced-motion:reduce){.community-record-dot,.community-audio-loading{animation:none}.community-waveform>i{transition:none}}

.community-voice-speed{font:inherit;font-size:9px;font-weight:750;padding:0 3px;border-radius:4px;background:#ffffff0a;color:#cbb58a;min-width:25px;height:15px}

/* Keep nicknames clear of role badges and the composer above navigation. */
.oc-identity>.oc-nick{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-block:3px}
.player-name .oc-role-badge{width:20px;height:20px;flex-basis:20px}
.player-name .oc-plus-badge{width:20px!important;height:20px!important;flex-basis:20px!important}
