/* ========================================================================
   LEFT SIDEBAR - IDENTITY & PRESENCE STYLES
   ======================================================================== */

/* Header with Create Button */
.left-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    gap: 1rem;
}

.left-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-create-share {
    padding: 0.8rem;
    background: linear-gradient(135deg, #6C47FF 0%, #5536E6 100%);
    color: white;
    border: none;
    border-radius: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-create-share:hover {
    background: linear-gradient(135deg, #5536E6 0%, #4225CC 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 71, 255, 0.3);
}

.btn-create-share svg {
    flex-shrink: 0;
}

/* Circles Section - Mobile App Icon Style */
.circles-section {
    padding: 1rem 1.5rem;
}

.circles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0.5rem 0;
}

.circle-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    position: relative;
}

.circle-icon-box {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, rgba(108, 71, 255, 0.3) 0%, rgba(85, 54, 230, 0.3) 100%);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border: 2px solid transparent;
    position: relative;
}

.circle-icon-item:hover .circle-icon-box {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(108, 71, 255, 0.4) 0%, rgba(85, 54, 230, 0.4) 100%);
}

.circle-icon-item.active .circle-icon-box {
    background: linear-gradient(135deg, #6C47FF 0%, #5536E6 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(108, 71, 255, 0.4);
}

.circle-icon-emoji {
    font-size: 2.4rem;
    line-height: 1;
}

.circle-icon-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}

.circle-icon-item.circle-coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
}

.circle-icon-item.circle-coming-soon .circle-icon-box {
    background: rgba(255, 255, 255, 0.1);
}

.circle-soon-badge {
    position: absolute;
    top: -0.3rem;
    right: -0.3rem;
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    background: rgba(255, 100, 100, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Live Now Section - Mobile App Icon Style */
.live-now-section {
    padding: 0.8rem 1rem;
}

.live-count {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
    margin-left: auto;
    margin-right: 0.5rem;
}

.live-users-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0.5rem 0;
}

.live-users-grid .no-users {
    grid-column: 1 / -1;
    padding: 2rem 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    font-size: 1.3rem;
}

.live-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    position: relative;
}

.live-icon-box {
    width: 5rem;
    height: 5rem;
    background: rgba(0, 200, 100, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border: 2px solid rgba(0, 200, 100, 0.3);
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

.live-icon-box.has-avatar {
    background: transparent;
    border: none;
    border: 2px solid rgba(0, 200, 100, 0.3);
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.1);
    overflow: visible;
}

.live-avatar-img {
    width: 100%;
}

.live-icon-item.is-persona .live-icon-box {
    background: rgba(108, 71, 255, 0.15);
    border-color: rgba(108, 71, 255, 0.3);
}

.live-icon-item.is-persona:hover .live-icon-box {
    background: rgba(108, 71, 255, 0.25);
    box-shadow: 0 4px 12px rgba(108, 71, 255, 0.2);
}

.live-icon-item:hover .live-icon-box {
    transform: scale(1.05);
    background: rgba(0, 200, 100, 0.3);
    box-shadow: 0 4px 12px rgba(0, 200, 100, 0.3);
}

.live-icon-emoji {
    font-size: 2.4rem;
    line-height: 1;
}

.live-icon-indicator {
    position: absolute;
    top: 0.3rem;
    right: 0.3rem;
    width: 1rem;
    height: 1rem;
    background: #00ff88;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    animation: pulse-indicator 2s infinite;
}

.live-icon-indicator.hidden {
    display: none;
}

@keyframes pulse-indicator {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.live-icon-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}

.live-user-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-user-circle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Left Footer Enhancement */
.left-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0.6rem;
    border-radius: 0.8rem;
    transition: background 0.2s;
    width: 100%;
}

.user-info:hover {
    background: rgba(255, 255, 255, 0.08);
}

.user-avatar {
    font-size: 2.4rem;
    line-height: 1;
}

.user-name {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.user-balance-mini {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.balance-item-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.balance-separator {
    opacity: 0.5;
}

/* Filters Section in Accordion */
.filters-section {
    padding: 1rem 1.5rem;
}

.filter-count {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
    margin-left: 0.5rem;
}

.filter-count:not(:empty) {
    color: #6C47FF;
    font-weight: 600;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.filter-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.2s;
}

.filter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #6C47FF;
    background: rgba(255, 255, 255, 0.15);
}

.filter-select option {
    background: #2d1f5e;
    color: white;
}

.filter-hint {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
}

.filter-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.filter-actions .btn {
    flex: 1;
    padding: 0.8rem 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 0.6rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-actions .btn-primary {
    background: linear-gradient(135deg, #6C47FF 0%, #5536E6 100%);
    color: white;
}

.filter-actions .btn-primary:hover {
    background: linear-gradient(135deg, #5536E6 0%, #4225CC 100%);
    transform: translateY(-1px);
}

.filter-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.filter-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.left-content {
    padding: 0;
}

.nav-item {
    padding: 1.2rem 1.5rem;
    margin-bottom: 0.25rem;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.2s;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Live Stats */
.live-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 1.6rem;
    margin: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    color: white;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    opacity: 0.9;
}

.stat-divider {
    font-size: 1.6rem;
    opacity: 0.5;
}

/* Accordion Items */
.accordion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    padding: 1.2rem 1.5rem;
    margin-bottom: 0.25rem;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.2s;
    gap: 0.5rem;
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.accordion-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 50rem;
}

.accordion-placeholder {
    padding: 1.2rem 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.3rem;
    font-style: italic;
}

.about-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.8rem 0;
}

.about-link {
    padding: 0.8rem 1.5rem;
    color: #d4d4d4;
    text-decoration: none;
    border-radius: 0.6rem;
    font-size: 1.4rem;
    transition: all 0.2s;
}

.about-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding-left: 2rem;
}


.g-blox {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
    grid-gap: 0.0625rem;
    grid-auto-rows: minmax(8rem, auto);
    grid-auto-flow: dense;
    padding: 0.0625rem;
}

.g-blox li {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.g-blox li {
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0.75rem;
}

.g-blox .s1x2 {
    grid-column-end: span 1;
    grid-row-end: span 2;
}

.g-blox .s2x1 {
    grid-column-end: span 2;
    grid-row-end: span 1;
}

.g-blox .s2x2 {
    grid-column-end: span 2;
    grid-row-end: span 2;
}

.g-blox .s1x3 {
    grid-column-end: span 1;
    grid-row-end: span 3;
}

.g-blox .s2x3 {
    grid-column-end: span 2;
    grid-row-end: span 3;
}

.g-blox .s3x3 {
    grid-column-end: span 3;
    grid-row-end: span 3;
}

.g-blox .s3x2 {
    grid-column-end: span 3;
    grid-row-end: span 2;
}

.g-blox .s3x1 {
    grid-column-end: span 3;
    grid-row-end: span 1;
}

.bgic {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    border-radius: 0.75rem;
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
}

.w4r {
    width: 4rem;
}

.w6r {
    width: 6rem;
}

.w8r {
    width: 8rem;
}

.w9r {
    width: 9rem;
}

.w12r {
    width: 12rem;
}

.h4r {
    height: 4rem;
}

.h6r {
    height: 6rem;
}

.h8r {
    height: 8rem;
}