/* ═══════════════════════════════════════════════════════
   CLOCK APP (iOS 26 Style)
   ═══════════════════════════════════════════════════════ */

.clock-tabs {
    display: flex;
    background: var(--fill-secondary, rgba(255,255,255,0.06));
    border-bottom: 0.5px solid var(--separator, rgba(255,255,255,0.08));
    padding: 8px 12px;
}

.clock-tab {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: var(--text-tertiary, rgba(255,255,255,0.5));
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    font-family: 'Inter', sans-serif;
}

.clock-tab.active {
    color: var(--text-primary, #fff);
    position: relative;
}

.clock-tab.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #007aff;
    border-radius: 1px;
}

.clock-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.clock-tab-content {
    display: none;
}

.clock-tab-content.active {
    display: block;
}

.clock-digital {
    text-align: center;
    padding: 60px 20px;
}

.clock-digit-time {
    font-size: 72px;
    font-weight: 200;
    color: var(--text-primary, #fff);
    letter-spacing: -3px;
    margin-bottom: 8px;
}

.clock-digit-location {
    font-size: 17px;
    color: var(--text-tertiary, rgba(255,255,255,0.5));
}

.stopwatch-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    gap: 40px;
}

.stopwatch-time {
    font-size: 64px;
    font-weight: 200;
    color: var(--text-primary, #fff);
    letter-spacing: -2px;
    font-variant-numeric: tabular-nums;
}

.stopwatch-controls {
    display: flex;
    gap: 40px;
}

.stopwatch-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--separator, rgba(255,255,255,0.2));
    background: var(--card-bg, linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04)));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary, #fff);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.stopwatch-btn:active {
    transform: scale(0.92);
}

.timer-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    gap: 40px;
}

.timer-time {
    font-size: 64px;
    font-weight: 200;
    color: var(--text-primary, #fff);
    letter-spacing: -2px;
    font-variant-numeric: tabular-nums;
}

.timer-controls {
    display: flex;
    gap: 20px;
}

.timer-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--separator, rgba(255,255,255,0.2));
    background: var(--card-bg, linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04)));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary, #fff);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.timer-btn:active {
    transform: scale(0.92);
}

.timer-btn.primary {
    background: linear-gradient(135deg, rgba(52,199,89,0.7), rgba(48,209,88,0.5));
    border-color: rgba(52,199,89,0.4);
}

.alarm-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 0.5px solid var(--separator, rgba(255,255,255,0.06));
}

.alarm-time {
    flex: 1;
    font-size: 32px;
    font-weight: 200;
    color: var(--text-primary, #fff);
}

.alarm-label {
    flex: 1;
    font-size: 14px;
    color: var(--text-tertiary, rgba(255,255,255,0.5));
}

.alarm-toggle {
    width: 51px;
    height: 31px;
    border-radius: 16px;
    background: var(--fill-primary, rgba(255,255,255,0.2));
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.alarm-toggle.active {
    background: #34c759;
}

.alarm-toggle::after {
    content: '';
    position: absolute;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #fff;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.alarm-toggle.active::after {
    transform: translateX(20px);
}

.header-action-btn {
    background: none;
    border: none;
    color: #007aff;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    transition: opacity 0.2s;
}

.header-action-btn:active {
    opacity: 0.5;
}

.stopwatch-btn.primary {
    background: linear-gradient(135deg, rgba(52,199,89,0.7), rgba(48,209,88,0.5));
    border-color: rgba(52,199,89,0.4);
}

/* ═══════════════════════════════════════════════════════
   CALCULATOR APP (iOS 26 Style)
   ═══════════════════════════════════════════════════════ */

.calc-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #000;
}

.calc-display {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 30px 24px;
    font-size: 64px;
    font-weight: 200;
    color: #fff;
    overflow: hidden;
    text-align: right;
    word-wrap: break-word;
}

.calc-pad {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 12px 12px 48px;
}

.calc-btn {
    aspect-ratio: 1;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 0.5px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-btn:active {
    transform: scale(0.92);
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.15));
}

.calc-btn.func {
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.12));
    color: #000;
    font-weight: 400;
}

.calc-btn.op {
    background: linear-gradient(135deg, rgba(255,159,10,0.8), rgba(255,140,0,0.6));
    border-color: rgba(255,159,10,0.4);
    font-weight: 400;
}

.calc-btn.zero {
    grid-column: span 2;
    aspect-ratio: auto;
    border-radius: 48px;
    justify-content: flex-start;
    padding-left: 32px;
}

/* ═══════════════════════════════════════════════════════
   NOTES APP (iOS 26 Style)
   ═══════════════════════════════════════════════════════ */

#notes-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.note-item {
    background: var(--card-bg, linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)));
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    padding: 14px;
    border-bottom: 0.5px solid var(--separator, rgba(255,255,255,0.06));
    cursor: pointer;
    transition: opacity 0.15s;
}

.note-item:active {
    opacity: 0.7;
}

.note-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    margin-bottom: 4px;
}

.note-preview {
    font-size: 13px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.note-date {
    font-size: 11px;
    color: var(--text-quaternary, rgba(255,255,255,0.3));
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════
   WEATHER APP (iOS 26 Style)
   ═══════════════════════════════════════════════════════ */

.weather-current {
    text-align: center;
    padding: 60px 20px;
}

.weather-icon {
    font-size: 80px;
    color: #ffcc00;
    margin-bottom: 20px;
}

.weather-temp {
    font-size: 72px;
    font-weight: 200;
    color: var(--text-primary, #fff);
    letter-spacing: -3px;
    margin-bottom: 8px;
}

.weather-desc {
    font-size: 20px;
    color: var(--text-secondary, rgba(255,255,255,0.7));
    margin-bottom: 4px;
}

.weather-location {
    font-size: 15px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
}

/* ═══════════════════════════════════════════════════════
   APP STORE DETAIL (iOS 26 Style)
   ═══════════════════════════════════════════════════════ */

.store-detail-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px 30px;
    gap: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}

.store-detail-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #fff;
    box-shadow:
        0 8px 24px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.15),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    border: 0.5px solid rgba(255,255,255,0.1);
}

.store-detail-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary, #fff);
}

.store-detail-dev {
    font-size: 14px;
    color: var(--text-tertiary, rgba(255,255,255,0.5));
}

.store-detail-actions {
    padding: 0 20px 20px;
}

.store-detail-btn {
    width: 100%;
    padding: 14px;
    border: 0.5px solid rgba(0,122,255,0.4);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0,122,255,0.7), rgba(0,100,220,0.5));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 16px rgba(0,122,255,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}

.store-detail-btn:active {
    transform: scale(0.98);
}

.store-detail-btn.installed {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 0.5px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    box-shadow: none;
}

.store-detail-section {
    padding: 20px;
    border-top: 0.5px solid var(--separator, rgba(255,255,255,0.06));
}

.store-detail-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary, #fff);
    margin-bottom: 12px;
}

.store-detail-desc {
    font-size: 14px;
    color: var(--text-secondary, rgba(255,255,255,0.6));
    line-height: 1.6;
}

.store-detail-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-detail-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary, rgba(255,255,255,0.6));
    line-height: 1.5;
}

.store-detail-feature i {
    color: #007aff;
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════
   EMPTY STATE (Universal)
   ═══════════════════════════════════════════════════════ */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    font-size: 14px;
    gap: 12px;
}

.empty-state i {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════
   CRYPTO APP (iOS 26 Style)
   ═══════════════════════════════════════════════════════ */

.crypto-balance {
    background: linear-gradient(135deg, rgba(247,147,26,0.2), rgba(247,147,26,0.05));
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 0.5px solid rgba(255,255,255,0.08);
    padding: 32px 20px;
    text-align: center;
}

.crypto-balance-label {
    font-size: 13px;
    color: var(--text-tertiary, rgba(255,255,255,0.5));
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.crypto-balance-amount {
    font-size: 40px;
    font-weight: 200;
    color: #f7931a;
    letter-spacing: -1px;
}

#crypto-list {
    display: flex;
    flex-direction: column;
}

.crypto-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 0.5px solid var(--separator, rgba(255,255,255,0.06));
    cursor: pointer;
    transition: background 0.15s;
}

.crypto-item:active {
    background: rgba(255,255,255,0.03);
}

.crypto-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border: 0.5px solid rgba(255,255,255,0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.crypto-info {
    flex: 1;
    min-width: 0;
}

.crypto-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    display: flex;
    align-items: center;
    gap: 6px;
}

.crypto-symbol {
    font-size: 14px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    margin-top: 2px;
}

.crypto-price-info {
    text-align: right;
}

.crypto-price {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary, #fff);
}

.crypto-change {
    font-size: 13px;
    margin-top: 2px;
}

.crypto-change.positive {
    color: #34c759;
}

.crypto-change.negative {
    color: #ff3b30;
}

/* Crypto Detail */
.crypto-detail-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px 30px;
    gap: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}

.crypto-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 12px;
    border: 0.5px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.crypto-detail-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary, #fff);
}

.crypto-detail-symbol {
    font-size: 15px;
    color: var(--text-tertiary, rgba(255,255,255,0.5));
    text-transform: uppercase;
}

.crypto-detail-price {
    font-size: 36px;
    font-weight: 200;
    color: var(--text-primary, #fff);
    margin-top: 8px;
    letter-spacing: -1px;
}

.crypto-detail-change {
    font-size: 16px;
    font-weight: 500;
    margin-top: 4px;
}

.crypto-detail-change.positive {
    color: #34c759;
}

.crypto-detail-change.negative {
    color: #ff3b30;
}

.crypto-holdings {
    padding: 24px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 0.5px solid rgba(255,255,255,0.06);
    border-bottom: 0.5px solid rgba(255,255,255,0.06);
    text-align: center;
}

.crypto-holdings-label {
    font-size: 13px;
    color: var(--text-tertiary, rgba(255,255,255,0.5));
    margin-bottom: 8px;
}

.crypto-holdings-amount {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    margin-bottom: 4px;
}

.crypto-holdings-value {
    font-size: 14px;
    color: var(--text-secondary, rgba(255,255,255,0.6));
}

.crypto-actions {
    display: flex;
    gap: 12px;
    padding: 20px;
}

.crypto-action-btn {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.crypto-action-btn.buy {
    background: linear-gradient(135deg, rgba(52,199,89,0.7), rgba(48,209,88,0.5));
    border: 0.5px solid rgba(52,199,89,0.4);
    color: #fff;
    box-shadow: 0 4px 16px rgba(52,199,89,0.15);
}

.crypto-action-btn.sell {
    background: linear-gradient(135deg, rgba(255,59,48,0.7), rgba(215,50,40,0.5));
    border: 0.5px solid rgba(255,59,48,0.4);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,59,48,0.15);
}

.crypto-action-btn:active {
    transform: scale(0.96);
}

/* ═══════════════════════════════════════════════════════
   STOCKS TRADING APP (iOS 26 Style)
   ═══════════════════════════════════════════════════════ */

.stocks-balance {
    background: linear-gradient(135deg, rgba(0,122,255,0.2), rgba(88,86,214,0.05));
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 0.5px solid rgba(255,255,255,0.08);
    padding: 32px 20px;
    text-align: center;
}

.stocks-balance-label {
    font-size: 13px;
    color: var(--text-tertiary, rgba(255,255,255,0.5));
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stocks-balance-amount {
    font-size: 40px;
    font-weight: 200;
    color: #007aff;
    letter-spacing: -1px;
}

#stocks-list {
    display: flex;
    flex-direction: column;
}

.stock-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 0.5px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: background 0.15s;
}

.stock-item:active {
    background: rgba(255,255,255,0.03);
}

.stock-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    border: 0.5px solid rgba(255,255,255,0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    color: #fff;
}

.stock-info {
    flex: 1;
    min-width: 0;
}

.stock-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #fff);
}

.stock-symbol {
    font-size: 14px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    margin-top: 2px;
}

.stock-price-info {
    text-align: right;
}

.stock-price {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary, #fff);
}

.stock-change {
    font-size: 13px;
    margin-top: 2px;
}

.stock-change.positive {
    color: #34c759;
}

.stock-change.negative {
    color: #ff3b30;
}

.stock-detail-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px 30px;
    gap: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}

.stock-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    border: 0.5px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    color: #fff;
}

.stock-detail-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary, #fff);
}

.stock-detail-symbol {
    font-size: 15px;
    color: var(--text-tertiary, rgba(255,255,255,0.5));
    text-transform: uppercase;
}

.stock-detail-price {
    font-size: 36px;
    font-weight: 200;
    color: var(--text-primary, #fff);
    margin-top: 8px;
    letter-spacing: -1px;
}

.stock-detail-change {
    font-size: 16px;
    font-weight: 500;
    margin-top: 4px;
}

.stock-detail-change.positive {
    color: #34c759;
}

.stock-detail-change.negative {
    color: #ff3b30;
}

.stock-holdings {
    padding: 24px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 0.5px solid rgba(255,255,255,0.06);
    border-bottom: 0.5px solid rgba(255,255,255,0.06);
    text-align: center;
}

.stock-holdings-label {
    font-size: 13px;
    color: var(--text-tertiary, rgba(255,255,255,0.5));
    margin-bottom: 8px;
}

.stock-holdings-amount {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    margin-bottom: 4px;
}

.stock-holdings-value {
    font-size: 14px;
    color: var(--text-secondary, rgba(255,255,255,0.6));
}

.stock-actions {
    display: flex;
    gap: 12px;
    padding: 20px;
}

.stock-action-btn {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.stock-action-btn.buy {
    background: linear-gradient(135deg, rgba(52,199,89,0.7), rgba(48,209,88,0.5));
    border: 0.5px solid rgba(52,199,89,0.4);
    color: #fff;
    box-shadow: 0 4px 16px rgba(52,199,89,0.15);
}

.stock-action-btn.sell {
    background: linear-gradient(135deg, rgba(255,59,48,0.7), rgba(215,50,40,0.5));
    border: 0.5px solid rgba(255,59,48,0.4);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,59,48,0.15);
}

.stock-action-btn:active {
    transform: scale(0.96);
}

/* ═══════════════════════════════════════════════════════
   WEATHER APP (iOS 26 Style)
   ═══════════════════════════════════════════════════════ */

#app-weather > .app-header {
    background: transparent !important;
    border-bottom: none !important;
}

#app-weather > .app-header .app-title,
#app-weather > .app-header .header-action {
    color: var(--weather-text, #fff);
}

#app-weather > .app-content {
    background: transparent !important;
}

.weather-current {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 12px;
}

.weather-icon {
    font-size: 72px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.2));
}

.weather-temp {
    font-size: 72px;
    font-weight: 200;
    color: var(--text-primary, #fff);
    letter-spacing: -3px;
}

.weather-desc {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-secondary, rgba(255,255,255,0.8));
}

.weather-location {
    font-size: 14px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════
   WALLET APP (iOS 26 Style)
   ═══════════════════════════════════════════════════════ */

#wallet-balance-card {
    background: linear-gradient(135deg, rgba(52,199,89,0.2), rgba(48,209,88,0.05));
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 0.5px solid rgba(255,255,255,0.08);
    padding: 40px 20px;
    text-align: center;
}

.wallet-balance-label {
    font-size: 13px;
    color: var(--text-tertiary, rgba(255,255,255,0.5));
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

#wallet-amount {
    font-size: 44px;
    font-weight: 200;
    color: #34c759;
    letter-spacing: -1px;
}

#wallet-transfer {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#wallet-transfer input {
    background: var(--input-bg, rgba(255,255,255,0.06));
    border: 0.5px solid var(--separator, rgba(255,255,255,0.1));
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 16px;
    color: var(--text-primary, #fff);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

#wallet-transfer input:focus {
    border-color: rgba(52,199,89,0.5);
}

#wallet-transfer input::placeholder {
    color: var(--text-tertiary, rgba(255,255,255,0.3));
}

#transfer-btn {
    background: linear-gradient(135deg, rgba(52,199,89,0.7), rgba(48,209,88,0.5));
    border: 0.5px solid rgba(52,199,89,0.4);
    border-radius: 14px;
    padding: 16px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

#transfer-btn:active {
    transform: scale(0.97);
}

/* ═══════════════════════════════════════════════════════
   THEME OVERRIDES FOR APPS
   ═══════════════════════════════════════════════════════ */

/* Notes */
.note-item {
    background: var(--card-bg, rgba(255,255,255,0.05));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0.5px solid var(--separator, rgba(255,255,255,0.06));
}
.note-title { color: var(--text-primary, #fff); }
.note-preview { color: var(--text-tertiary, rgba(255,255,255,0.4)); }
.note-date { color: var(--text-quaternary, rgba(255,255,255,0.3)); }

/* Weather */
.weather-temp { color: var(--text-primary, #fff); }
.weather-desc { color: var(--text-secondary, rgba(255,255,255,0.7)); }
.weather-location { color: var(--text-tertiary, rgba(255,255,255,0.4)); }

/* Crypto */
.crypto-item { border-bottom: 0.5px solid var(--separator, rgba(255,255,255,0.06)); }
.crypto-item:active { background: var(--fill-secondary, rgba(255,255,255,0.03)); }
.crypto-name { color: var(--text-primary, #fff); }
.crypto-symbol { color: var(--text-tertiary, rgba(255,255,255,0.4)); }
.crypto-price { color: var(--text-primary, #fff); }
.crypto-detail-name { color: var(--text-primary, #fff); }
.crypto-detail-symbol { color: var(--text-tertiary, rgba(255,255,255,0.5)); }
.crypto-detail-price { color: var(--text-primary, #fff); }
.crypto-holdings {
    background: var(--fill-secondary, rgba(255,255,255,0.04));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 0.5px solid var(--separator, rgba(255,255,255,0.06));
    border-bottom: 0.5px solid var(--separator, rgba(255,255,255,0.06));
}
.crypto-holdings-label { color: var(--text-tertiary, rgba(255,255,255,0.5)); }
.crypto-holdings-amount { color: var(--text-primary, #fff); }
.crypto-holdings-value { color: var(--text-secondary, rgba(255,255,255,0.6)); }

/* Stocks */
.stock-item { border-bottom: 0.5px solid var(--separator, rgba(255,255,255,0.06)); }
.stock-item:active { background: var(--fill-secondary, rgba(255,255,255,0.03)); }
.stock-name { color: var(--text-primary, #fff); }
.stock-symbol { color: var(--text-tertiary, rgba(255,255,255,0.4)); }
.stock-price { color: var(--text-primary, #fff); }
.stock-detail-name { color: var(--text-primary, #fff); }
.stock-detail-symbol { color: var(--text-tertiary, rgba(255,255,255,0.5)); }
.stock-detail-price { color: var(--text-primary, #fff); }
.stock-holdings {
    background: var(--fill-secondary, rgba(255,255,255,0.04));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 0.5px solid var(--separator, rgba(255,255,255,0.06));
    border-bottom: 0.5px solid var(--separator, rgba(255,255,255,0.06));
}
.stock-holdings-label { color: var(--text-tertiary, rgba(255,255,255,0.5)); }
.stock-holdings-amount { color: var(--text-primary, #fff); }
.stock-holdings-value { color: var(--text-secondary, rgba(255,255,255,0.6)); }

/* Store Detail */
.store-detail-name { color: var(--text-primary, #fff); }
.store-detail-dev { color: var(--text-tertiary, rgba(255,255,255,0.5)); }
.store-detail-section { border-top: 0.5px solid var(--separator, rgba(255,255,255,0.06)); }
.store-detail-section-title { color: var(--text-primary, #fff); }
.store-detail-desc { color: var(--text-secondary, rgba(255,255,255,0.6)); }
.store-detail-feature { color: var(--text-secondary, rgba(255,255,255,0.6)); }

/* Wallet */
.wallet-balance-label { color: var(--text-tertiary, rgba(255,255,255,0.5)); }
#wallet-transfer input {
    background: var(--input-bg, rgba(255,255,255,0.06));
    border: 0.5px solid var(--separator, rgba(255,255,255,0.1));
    color: var(--text-primary, #fff);
}
#wallet-transfer input::placeholder { color: var(--text-tertiary, rgba(255,255,255,0.3)); }

/* Clock */
.clock-display { color: var(--text-primary, #fff); }
.alarm-item {
    border-bottom: 0.5px solid var(--separator, rgba(255,255,255,0.06));
}
.alarm-time { color: var(--text-primary, #fff); }
.alarm-label { color: var(--text-tertiary, rgba(255,255,255,0.4)); }
.stopwatch-time, .timer-time { color: var(--text-primary, #fff); }

/* Empty State override for apps */
.empty-state { color: var(--empty-state-color, rgba(255,255,255,0.4)); }

/* ═══════════════════════════════════════════════════════════
   VIDFLOW (Video App)
   ═══════════════════════════════════════════════════════════ */

.vf-search-bar {
    display: flex;
    padding: 10px 14px;
    gap: 8px;
    background: var(--bg-secondary, rgba(28,28,30,0.95));
    border-bottom: 0.5px solid var(--separator, rgba(255,255,255,0.06));
    position: relative;
    z-index: 2;
}

.vf-search-bar input {
    flex: 1;
    background: var(--input-bg, var(--fill-tertiary, rgba(118,118,128,0.24)));
    border: none;
    border-radius: 10px;
    padding: 9px 14px;
    color: var(--text-primary, #fff);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.vf-search-bar input::placeholder {
    color: var(--text-tertiary, rgba(255,255,255,0.4));
}

.vf-search-bar button {
    background: #ff2d55;
    border: none;
    border-radius: 10px;
    width: 38px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.vf-player-wrap {
    background: #000;
    border-bottom: 0.5px solid var(--separator, rgba(255,255,255,0.06));
}

.vf-player-wrap.hidden { display: none; }

.vf-player-wrap iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

.vf-now-playing {
    padding: 10px 14px;
    background: var(--bg-secondary, rgba(28,28,30,0.95));
}

.vf-np-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vf-np-channel {
    font-size: 12px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    margin-top: 2px;
}

.vf-results {
    padding: 6px 0;
    overflow-y: auto;
}

.vf-video-item {
    display: flex;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.15s;
}

.vf-video-item:active { background: var(--fill-tertiary, rgba(118,118,128,0.12)); }

.vf-video-thumb {
    width: 120px;
    min-width: 120px;
    height: 68px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--fill-secondary, rgba(118,118,128,0.24));
}

.vf-video-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.vf-video-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.vf-video-channel {
    font-size: 11px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
}

.vf-video-views {
    font-size: 11px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
}

/* ═══════════════════════════════════════════════════════════
   MUSIC APP (Apple Music style)
   ═══════════════════════════════════════════════════════════ */

.mu-tabs {
    display: flex;
    border-bottom: 0.5px solid var(--separator, rgba(255,255,255,0.06));
    background: var(--bg-secondary, rgba(28,28,30,0.95));
    padding: 0 8px;
}

.mu-tab {
    flex: 1;
    padding: 10px 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.mu-tab.active { color: #fc3c44; border-bottom-color: #fc3c44; }

.mu-tab-content { display: none; flex: 1; overflow-y: auto; }
.mu-tab-content.active { display: flex; flex-direction: column; }

.mu-search-bar, .mu-url-bar {
    display: flex;
    padding: 10px 14px 4px;
    gap: 8px;
}

.mu-url-bar { padding-top: 4px; padding-bottom: 10px; }

.mu-search-bar input, .mu-url-bar input {
    flex: 1;
    background: var(--fill-tertiary, rgba(118,118,128,0.24));
    border: none;
    border-radius: 10px;
    padding: 9px 14px;
    color: var(--text-primary, #fff);
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.mu-search-bar button, .mu-url-bar button {
    background: #fc3c44;
    border: none;
    border-radius: 10px;
    width: 38px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.mu-song-list { padding: 0; }

.mu-song-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.15s;
    position: relative;
}

.mu-song-item:active { background: var(--fill-tertiary, rgba(118,118,128,0.12)); }
.mu-song-item + .mu-song-item { border-top: 0.5px solid var(--separator, rgba(255,255,255,0.04)); }

.mu-song-thumb {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--fill-secondary, rgba(118,118,128,0.24));
}

.mu-song-info {
    flex: 1;
    min-width: 0;
}

.mu-song-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mu-song-artist {
    font-size: 12px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mu-song-actions {
    display: flex;
    gap: 6px;
}

.mu-song-play-btn, .mu-song-fav-btn {
    background: none;
    border: none;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.mu-song-play-btn:hover { color: #fc3c44; }
.mu-song-fav-btn.active { color: #fc3c44; }

.mu-song-item.now-playing .mu-song-title { color: #fc3c44; }
.mu-song-item.now-playing::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #fc3c44;
    border-radius: 0 2px 2px 0;
}

/* Now Playing */
.mu-now-playing {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px 16px;
    gap: 16px;
    flex: 1;
    justify-content: center;
}

.mu-artwork-wrap { width: 100%; max-width: 240px; }

.mu-artwork {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #1c1c1e, #2c2c2e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255,255,255,0.15);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.mu-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mu-track-info {
    text-align: center;
    width: 100%;
    padding: 0 10px;
}

.mu-track-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary, #fff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mu-track-artist {
    font-size: 14px;
    color: #fc3c44;
    margin-top: 4px;
}

.mu-progress-bar {
    width: 100%;
    height: 4px;
    background: var(--fill-tertiary, rgba(118,118,128,0.24));
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    padding: 6px 0;
    margin: -6px 0;
    background-clip: content-box;
}

.mu-progress {
    height: 100%;
    background: #fc3c44;
    border-radius: 2px;
    width: 0%;
    transition: width 0.5s linear;
}

.mu-controls {
    display: flex;
    align-items: center;
    gap: 28px;
}

.mu-ctrl-btn {
    background: none;
    border: none;
    color: var(--text-primary, #fff);
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.15s;
}

.mu-ctrl-btn:active { transform: scale(0.9); }

.mu-play-btn {
    width: 56px;
    height: 56px;
    background: #fc3c44;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 4px 16px rgba(252,60,68,0.4);
}

.mu-extra-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
}

.mu-icon-btn {
    background: none;
    border: none;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    transition: color 0.2s;
}

.mu-icon-btn.active { color: #fc3c44; }

.mu-volume-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    max-width: 160px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    font-size: 11px;
}

.mu-volume-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--fill-tertiary, rgba(118,118,128,0.24));
    border-radius: 2px;
    outline: none;
}

.mu-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Shuffle / Repeat small buttons */
.mu-ctrl-shuffle, .mu-ctrl-repeat {
    font-size: 16px !important;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    padding: 6px !important;
}
.mu-ctrl-shuffle.active, .mu-ctrl-repeat.active { color: #fc3c44; }

/* Time row */
.mu-time-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.mu-time-current, .mu-time-total {
    font-size: 11px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    min-width: 30px;
    font-variant-numeric: tabular-nums;
}
.mu-time-total { text-align: right; }

/* Add to playlist row */
.mu-add-to-playlist-row {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 4px;
}
.mu-add-to-playlist-row .mu-icon-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--fill-tertiary, rgba(118,118,128,0.24));
}

/* ── For You Tab ── */
.mu-foryou-section {
    padding: 16px 14px;
}

.mu-ai-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(252,60,68,0.15), rgba(175,82,222,0.15));
    margin-bottom: 20px;
}
.mu-ai-banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fc3c44, #af52de);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}
.mu-ai-banner-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #fff);
}
.mu-ai-banner-sub {
    font-size: 12px;
    color: var(--text-tertiary, rgba(255,255,255,0.5));
    margin-top: 2px;
}

.mu-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary, #fff);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mu-ai-badge {
    font-size: 10px;
    font-weight: 600;
    color: #af52de;
    background: rgba(175,82,222,0.12);
    padding: 3px 8px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.mu-ai-badge i { font-size: 9px; }

/* Horizontal scroll for recent tracks */
.mu-horizontal-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 16px;
    scrollbar-width: none;
}
.mu-horizontal-scroll::-webkit-scrollbar { display: none; }

.mu-recent-card {
    flex-shrink: 0;
    width: 110px;
    cursor: pointer;
    transition: transform 0.15s;
}
.mu-recent-card:active { transform: scale(0.95); }
.mu-recent-card img {
    width: 110px;
    height: 110px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--fill-secondary, rgba(118,118,128,0.24));
    display: block;
}
.mu-recent-card .mu-recent-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    margin-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mu-recent-card .mu-recent-artist {
    font-size: 10px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Quick Mix buttons */
.mu-quickmix-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.mu-quickmix-btn {
    flex: 1;
    padding: 14px 12px;
    border: none;
    border-radius: 14px;
    background: var(--fill-tertiary, rgba(118,118,128,0.24));
    color: var(--text-primary, #fff);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}
.mu-quickmix-btn:active { transform: scale(0.96); opacity: 0.7; }
.mu-quickmix-btn i { color: #fc3c44; }

/* ── Playlists Tab ── */
.mu-playlists-header {
    padding: 12px 14px;
    display: flex;
    justify-content: flex-end;
}
.mu-create-playlist-btn {
    background: #fc3c44;
    border: none;
    border-radius: 20px;
    color: #fff;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.15s;
}
.mu-create-playlist-btn:active { transform: scale(0.95); }

.mu-playlists-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 14px 14px;
}

.mu-playlist-card {
    background: var(--card-bg, #1c1c1e);
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    transition: transform 0.15s;
    position: relative;
    overflow: hidden;
}
.mu-playlist-card:active { transform: scale(0.96); }
.mu-playlist-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fc3c44, #af52de);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}
.mu-playlist-card-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #fff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mu-playlist-card-count {
    font-size: 11px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    margin-top: 2px;
}
.mu-playlist-card-delete {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,59,48,0.15);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    color: #ff3b30;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Playlist Detail */
.mu-playlist-detail { padding: 0; }
.mu-playlist-detail.hidden { display: none !important; }
.mu-playlist-detail-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 0.5px solid var(--separator, rgba(255,255,255,0.06));
}
.mu-playlist-back-btn {
    background: none;
    border: none;
    color: #fc3c44;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
}
.mu-playlist-detail-name {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #fff);
}
.mu-playlist-play-all {
    background: #fc3c44;
    border: none;
    border-radius: 16px;
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mu-share-active { color: #34c759 !important; }

.mu-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    font-size: 14px;
}

.mu-empty i {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
    color: var(--fill-primary, rgba(255,255,255,0.12));
}

/* ═══════════════════════════════════════════════════════
   AGENCYAI INSIGHT CARDS (shared across apps)
   ═══════════════════════════════════════════════════════ */

.ai-insight-card {
    margin: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(175,82,222,0.1), rgba(90,200,250,0.08));
    border: 0.5px solid rgba(175,82,222,0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.ai-insight-header {
    font-size: 11px;
    font-weight: 700;
    color: #af52de;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ai-insight-header i { font-size: 12px; }
.ai-insight-text {
    font-size: 13px;
    color: var(--text-primary, #fff);
    line-height: 1.5;
}
.ai-insight-sub {
    font-size: 11px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════
   PICTOGRAM (Instagram-like App)
   ═══════════════════════════════════════════════════════ */

#pictogram-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pg-container {
    flex: 1;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.pg-container::-webkit-scrollbar { display: none; }

.pg-tab-bar {
    display: flex;
    justify-content: space-around;
    padding: 8px 0 6px;
    border-top: 0.5px solid var(--separator, rgba(255,255,255,0.08));
    background: var(--bg-secondary, #1c1c1e);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-shrink: 0;
}

.pg-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    padding: 4px 12px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
    transition: color 0.2s;
    font-size: 10px;
    font-weight: 500;
}
.pg-tab.active { color: var(--text-primary, #fff); }
.pg-tab i { font-size: 20px; }

.pg-feed { padding-bottom: 8px; }

.pg-post {
    margin-bottom: 16px;
    background: var(--bg-secondary, #1c1c1e);
}

.pg-post-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
}

.pg-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e1306c, #c13584);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.pg-username {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    flex: 1;
}

.pg-time {
    font-size: 11px;
    color: var(--text-tertiary, rgba(255,255,255,0.4));
}

.pg-post-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--fill-secondary, rgba(255,255,255,0.06));
    overflow: hidden;
}
.pg-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pg-post-actions {
    display: flex;
    gap: 12px;
    padding: 10px 14px 4px;
}

.pg-action-btn {
    background: none;
    border: none;
    color: var(--text-primary, #fff);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s;
}
.pg-action-btn:active { transform: scale(1.2); }

.pg-post-likes {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    padding: 0 14px 4px;
}

.pg-post-caption {
    font-size: 13px;
    color: var(--text-primary, #fff);
    padding: 0 14px 10px;
    line-height: 1.4;
}
.pg-post-caption strong {
    font-weight: 600;
    margin-right: 4px;
}
