.lls-collapsed-container {
    display: flex;
    align-items: center;
    background-color: transparent !important;
    padding: 0;
    user-select: none;
}

.lls-marquee-outer {
    /* Timing knob for scroll only */
    --lls-plug-scroll-duration: 18s;

    opacity: 1;
    overflow: hidden;
    white-space: nowrap;
    width: 240px;
    max-width: calc(100vw - 68px);
    height: 24px;
    line-height: 24px;
    border-radius: 999px;
    padding: 0 8px;
    background: rgba(0,0,0,0.80);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 1px 4px rgba(0,0,0,0.28);
    text-shadow: 0 1px 0 rgb(0,0,0), 0 0 2px rgba(0,0,0,0.95);
    box-sizing: border-box;
    pointer-events: auto;
    animation: none;
    margin-left: 12px;
}

.lls-marquee-outer.titlebar {
    width: auto;
    max-width: none;
    flex: 1 1 auto;
    margin: 0 10px;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    animation: none;
}

.lls-marquee-outer.titlebar .lls-marquee-inner {
    animation: lls-plug-scroll var(--lls-plug-scroll-duration, 18s) linear 1;
}

.lls-marquee-inner {
    display: inline-block;
    white-space: nowrap;
    color: rgb(255,255,255);
    font-weight: 700;
    pointer-events: auto;
    animation: lls-plug-scroll var(--lls-plug-scroll-duration, 18s) linear 1;
    font-size: 12px;
    will-change: transform;
}

@keyframes lls-plug-scroll {
    0% { transform: translateX(100%); }
    5% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.lls-marquee-inner a {
    color: #fff !important;
    text-decoration: underline !important;
    font-weight: 800 !important;
}

.lls-btn-circle {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(17,17,19,0.98);
    color: rgb(229,231,235);
    cursor: pointer;
    padding: 0;
    box-shadow: 0 10px 32px rgba(0,0,0,0.38);
    pointer-events: auto;
    transition: transform 0.2s, background-color 0.2s;
}

.lls-btn-circle:hover {
    background-color: rgba(33, 37, 41, 0.98);
    transform: scale(1.05);
}

/* Green flash when settings snapshot imported */
.lls-import-flash {
    animation: lls-green-flash 900ms ease-in-out 0s 2;
}

@keyframes lls-green-flash {
  0%, 100% { box-shadow: 0 10px 32px rgba(0,0,0,0.38); }
  50% { box-shadow: 0 0 0 3px rgba(34,197,94,0.75), 0 0 22px rgba(34,197,94,0.65); }
}

.lls-icon-img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.15);
    transform-origin: center center;
    display: block;
    image-rendering: auto;
}

.lls-icon {
    font-size: 24px;
}

.lls-dashboard-container {
    background: rgba(24,24,27,0.98) !important;
    color: rgb(229,231,235) !important;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    width: 760px;
    max-width: calc(100vw - 24px);
    max-height: min(860px, calc(100vh - 48px));
    box-shadow: 0 10px 32px rgba(0,0,0,0.38);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
}

.lls-dashboard-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.04);
}

.lls-dashboard-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 15px;
    box-sizing: border-box;
}

/* Footer inside dashboard body */
.lls-dashboard-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 12px;
    padding-top: 8px;
}

.lls-review-link {
    font-size: 12px;
    color: #93c5fd;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    opacity: 0.9;
}

.lls-review-link:hover {
    color: #bfdbfe;
    opacity: 1;
}

.lls-review-link:focus-visible {
    outline: 2px solid rgba(147,197,253,.75);
    outline-offset: 2px;
    border-radius: 4px;
}

.lls-dashboard-title {
    font-weight: 900;
    font-size: 14px;
    color: rgb(229,231,235);
    flex: 0 0 auto;
}

.lls-titlebar-plug {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 4px;
}

.lls-titlebar-controls {
    display: flex;
    gap: 6px;
    align-items: center;
    flex: 0 0 auto;
}

.lls-window-btn {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.08);
    color: rgb(229,231,235);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lls-window-btn-max {
    width: 32px;
    border-color: rgba(147,197,253,0.55);
    background: rgba(96,165,250,0.30);
    font-weight: 800;
}

.lls-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(17,17,19,0.98);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-family: monospace;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.08);
}

.lls-status-item {
    color: #adb5bd;
}

.lls-status-value {
    color: #fff;
    font-weight: bold;
}

.lls-mode-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.lls-mode-pill {
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #495057;
    background: rgba(0,0,0,0.2);
    color: #adb5bd;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.lls-mode-pill:hover {
    color: #fff;
    border-color: #6c757d;
}

.lls-mode-pill.active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    font-weight: bold;
}

.lls-section {
    margin-top: 15px;
    background: rgba(255,255,255,0.06);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
}

.lls-section-title {
    font-weight: 800;
    margin-bottom: 8px;
    font-size: 13px;
    color: #fff;
}

.lls-controls-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.lls-btn-action {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: rgb(229,231,235);
    padding: 4px 10px;
    font: 12px system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.3;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.2s;
}

.lls-btn-action:hover {
    background: rgba(255,255,255,0.13);
}

.lls-btn-action.active, .lls-btn-action.primary, .lls-btn-action[aria-pressed="true"] {
    background: rgba(96,165,250,0.30);
    border-color: rgba(147,197,253,0.55);
    color: rgb(255,255,255);
}

.lls-btn-action:disabled, .lls-btn-action.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.lls-btn-action:focus-visible {
    outline: 2px solid rgba(147,197,253,0.75);
    outline-offset: 2px;
}

.lls-link-action {
    appearance: none;
    border: none;
    background: transparent;
    color: #93c5fd;
    padding: 4px 2px;
    font: 12px system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.3;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lls-link-action:hover {
    color: #bfdbfe;
}

.lls-link-action:focus-visible {
    outline: 2px solid rgba(147,197,253,.75);
    outline-offset: 2px;
    border-radius: 4px;
}

.lls-slider-group {
    margin-bottom: 12px;
}

.lls-slider-label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 12px;
    color: #adb5bd;
}

.lls-input-dark {
    width: 100%;
    box-sizing: border-box;
    background: rgba(0,0,0,0.32);
    border: 1px solid #495057;
    color: #fff;
    border-radius: 8px;
    padding: 7px;
    font-size: 13px;
    outline: none;
}

.lls-input-dark:focus {
    border-color: #0d6efd;
}

.lls-input-mono {
    font-family: monospace;
}

.lls-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #adb5bd;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.lls-close-btn:hover {
    color: #fff;
}

.llama-shades-accordions {
    clear: both;
    margin-top: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.lls-accordion {
    border: 1px solid #495057;
    border-radius: 4px;
    background-color: #2c3034 !important;
    color: #fff !important;
    overflow: hidden;
}

.lls-accordion-summary {
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
    list-style: none;
    background-color: #343a40;
}

.lls-accordion-summary::-webkit-details-marker {
    display: none;
}

.lls-accordion-content {
    padding: 12px;
    background-color: #212529 !important;
    color: #f8f9fa !important;
    border-top: 1px solid #495057;
    line-height: 1.5;
}

/* Add more styles for Dashboard as needed */
