.lambdaweb-container {
    max-width: 1140px;
    width: 100%;
    z-index: 2;
}

.lambdaweb-credit {
    margin: 14px 0 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.lambdaweb-credit a {
    color: inherit;
    text-decoration: underline;
}

.lambdaweb-frame {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    animation: pulseGlow 4s ease-in-out infinite;
}

.lambdaweb-frame .window-title {
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lambdaweb-fs-btn {
    margin-left: auto;
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lambdaweb-fs-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

html.lambdaweb-locked {
    overflow: hidden;
}

html.lambdaweb-locked .dot-navigation,
html.lambdaweb-locked .bg-watermark,
html.lambdaweb-locked .live-btop-btn {
    display: none;
}

.sym {
    display: inline-block;
    flex: none;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask: var(--m) center / contain no-repeat;
    mask: var(--m) center / contain no-repeat;
}

.lambdaweb-desktop {
    --accent: #7764d8;
    --dock-icon: 40px;
    --dock-w: calc(var(--dock-icon) + 22px);
    --panel-h: 30px;
    position: relative;
    height: clamp(500px, 72vh, 760px);
    overflow: hidden;
    background: #2c001e;
    color: var(--fg);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
    -webkit-user-select: none;
    user-select: none;
    opacity: 0;
    filter: brightness(0.3);
    transition: opacity 0.9s ease, filter 0.9s ease;
}

.lambdaweb-desktop.awake {
    opacity: 1;
    filter: brightness(1);
}

.lambdaweb-desktop[data-theme='dark'] {
    --win-bg: #242424;
    --header-bg: #303030;
    --view-bg: #1e1e1e;
    --side-bg: #282828;
    --card: #2b2b2b;
    --fg: #ffffff;
    --fg-dim: rgba(255, 255, 255, 0.6);
    --border: rgba(255, 255, 255, 0.1);
    --hover: rgba(255, 255, 255, 0.07);
    --btn-bg: rgba(255, 255, 255, 0.1);
    --btn-hover: rgba(255, 255, 255, 0.17);
    --menu-bg: #383838;
    --input-bg: rgba(255, 255, 255, 0.08);
    --switch-off: #505050;
}

.lambdaweb-desktop[data-theme='light'] {
    --win-bg: #fafafa;
    --header-bg: #ebebeb;
    --view-bg: #ffffff;
    --side-bg: #f1f1f1;
    --card: #ffffff;
    --fg: #2e2e2e;
    --fg-dim: rgba(0, 0, 0, 0.55);
    --border: rgba(0, 0, 0, 0.12);
    --hover: rgba(0, 0, 0, 0.06);
    --btn-bg: rgba(0, 0, 0, 0.07);
    --btn-hover: rgba(0, 0, 0, 0.13);
    --menu-bg: #ffffff;
    --input-bg: rgba(0, 0, 0, 0.06);
    --switch-off: #c0bfbc;
}

.lambdaweb-desktop:fullscreen {
    width: 100%;
    height: 100%;
}

.lambdaweb-desktop.pseudo-full {
    position: fixed;
    inset: 0;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
}

.lambdaweb-desktop button {
    font: inherit;
    color: inherit;
}

.lambdaweb-desktop h2 {
    margin: 0;
}

.wallpaper {
    position: absolute;
    inset: 0;
    background: #2c001e center / cover no-repeat;
}

.panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--panel-h);
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 6px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.panel-clock-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
}

.panel-clock-wrap .panel-clock {
    padding: 0;
}

.panel-clock-wrap .sym {
    width: 16px;
    height: 16px;
}

.panel-activities {
    padding: 0 10px;
    gap: 4px;
}

.pill {
    width: 22px;
    height: 8px;
    border-radius: 4px;
    background: #fff;
}

.pdot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.show-logo {
    width: 26px;
    height: 26px;
    background-color: #fff;
}

.desktop-icons {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.desk-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 88px;
    padding: 8px 4px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #fff;
    font: inherit;
    font-size: 12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    cursor: default;
}

.desk-icon img {
    width: 56px;
    height: 56px;
}

.desk-icon.selected {
    background: color-mix(in srgb, var(--accent) 55%, transparent);
}

.panel-right {
    display: flex;
    justify-content: flex-end;
}

.panel-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 22px;
    padding: 0 12px;
    background: transparent;
    border: 0;
    border-radius: 11px;
    cursor: pointer;
}

.panel-btn:hover,
.panel-btn.active {
    background: rgba(255, 255, 255, 0.14);
}

.panel-clock {
    padding: 0 12px;
    white-space: nowrap;
}

.workarea {
    position: absolute;
    top: var(--panel-h);
    left: var(--dock-w);
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.dock {
    position: absolute;
    top: var(--panel-h);
    bottom: 0;
    left: 0;
    width: var(--dock-w);
    z-index: 50;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 0;
    background: #111;
}

.dock-apps,
.dock-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.dock-item {
    position: relative;
    display: grid;
    place-items: center;
    width: calc(var(--dock-icon) + 10px);
    height: calc(var(--dock-icon) + 10px);
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    flex: none;
    transition: background 0.15s ease;
}

.dock-item img {
    width: var(--dock-icon);
    height: var(--dock-icon);
    object-fit: contain;
    pointer-events: none;
}

.dock-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dock-item.focused {
    background: rgba(255, 255, 255, 0.18);
}

.dock-item::after {
    content: attr(data-label);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    padding: 4px 10px;
    transform: translateY(-50%);
    color: #fff;
    background: #1c1c1c;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease;
}

.dock-item:hover::after {
    opacity: 1;
    transition-delay: 0.35s;
}

.dock-dots {
    position: absolute;
    left: 2px;
    top: 50%;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transform: translateY(-50%);
}

.dock-dots i {
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
}

.dock-sep {
    width: 60%;
    height: 1px;
    margin: 2px 0;
    background: rgba(255, 255, 255, 0.15);
}

.overview {
    position: absolute;
    top: var(--panel-h);
    left: var(--dock-w);
    right: 0;
    bottom: 0;
    z-index: 40;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 24px 20px;
    overflow-y: auto;
    color: #fff;
    background: rgba(18, 18, 18, 0.74);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}

.overview.open {
    display: flex;
    animation: overviewIn 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes overviewIn {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes popIn {
    from { opacity: 0; transform: translateY(-6px) scale(0.97); }
    to { opacity: 1; transform: none; }
}

@keyframes lambdawebFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.overview-search {
    flex: none;
    width: min(420px, 100%);
    height: 38px;
    padding: 0 18px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid transparent;
    border-radius: 19px;
    font: inherit;
    outline: none;
    -webkit-user-select: text;
    user-select: text;
}

.overview-search:focus {
    border-color: var(--accent);
}

.overview-search::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 720px;
}

.overview-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 6px 10px;
    background: transparent;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
}

.overview-app:hover {
    background: rgba(255, 255, 255, 0.12);
}

.overview-app img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.qs {
    position: absolute;
    top: calc(var(--panel-h) + 6px);
    right: 10px;
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 330px;
    max-width: calc(100% - 20px);
    padding: 14px;
    color: #fff;
    background: #232323;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    transform-origin: top right;
    animation: popIn 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.qs[hidden] {
    display: none;
}

.qs-top {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.qs-round {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.qs-round:hover {
    background: rgba(255, 255, 255, 0.18);
}

.qs-volume {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 6px;
}

.qs-volume input {
    flex: 1;
    accent-color: var(--accent);
}

.qs-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.qs-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 0;
    border-radius: 22px;
    cursor: pointer;
    text-align: left;
}

.qs-tile:hover {
    background: rgba(255, 255, 255, 0.16);
}

.qs-tile.on {
    color: #fff;
    background: var(--accent);
}

.poweroff {
    position: absolute;
    inset: 0;
    z-index: 90;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.lambdaweb-desktop.off .poweroff {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.uwin {
    position: absolute;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--fg);
    background: var(--win-bg);
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 6px 22px rgba(0, 0, 0, 0.4);
    container: win / inline-size;
    transition: box-shadow 0.2s ease;
}

.uwin.focused {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 12px 44px rgba(0, 0, 0, 0.6);
}

.uwin.minimized {
    display: none;
}

.uwin.maximized {
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0;
}

.uwin-header {
    position: relative;
    display: flex;
    align-items: center;
    flex: none;
    gap: 8px;
    height: 46px;
    padding: 0 8px;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    touch-action: none;
}

.uwin:not(.focused) .uwin-header {
    opacity: 0.85;
}

.uwin-heading {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 8px;
    min-width: 0;
    height: 100%;
}

.uwin-title {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: calc(100% - 200px);
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.uwin-title small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--fg-dim);
}

.uwin-controls {
    display: flex;
    gap: 8px;
    flex: none;
}

.uwin-btn {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    color: var(--fg);
    background: var(--btn-bg);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.uwin-btn:hover {
    background: var(--btn-hover);
}

.uwin-btn .sym {
    width: 14px;
    height: 14px;
}

.uwin-close,
.uwin-close:hover {
    color: #fff;
    background: var(--accent);
}

.uwin:not(.focused) .uwin-close {
    color: var(--fg);
    background: var(--btn-bg);
}

.uwin-body {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: var(--view-bg);
}

.uwin[data-app='firefox']:not(.focused) .uwin-body::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
}

.rz {
    position: absolute;
    z-index: 6;
    touch-action: none;
}

.rz-n { top: 0; left: 12px; right: 12px; height: 5px; cursor: ns-resize; }
.rz-s { bottom: 0; left: 12px; right: 12px; height: 5px; cursor: ns-resize; }
.rz-e { right: 0; top: 12px; bottom: 12px; width: 5px; cursor: ew-resize; }
.rz-w { left: 0; top: 12px; bottom: 12px; width: 5px; cursor: ew-resize; }
.rz-ne { top: 0; right: 0; width: 12px; height: 12px; cursor: nesw-resize; }
.rz-nw { top: 0; left: 0; width: 12px; height: 12px; cursor: nwse-resize; }
.rz-se { bottom: 0; right: 0; width: 12px; height: 12px; cursor: nwse-resize; }
.rz-sw { bottom: 0; left: 0; width: 12px; height: 12px; cursor: nesw-resize; }

.uwin.maximized .rz {
    display: none;
}

.hb {
    display: grid;
    place-items: center;
    flex: none;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    color: var(--fg);
    background: var(--btn-bg);
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.hb:hover:not(:disabled) {
    background: var(--btn-hover);
}

.hb:disabled {
    opacity: 0.35;
    cursor: default;
}

.hb.active {
    background: var(--btn-hover);
}

.hb-group {
    display: flex;
    gap: 1px;
}

.hb-group .hb:first-child {
    border-radius: 8px 0 0 8px;
}

.hb-group .hb:last-child {
    border-radius: 0 8px 8px 0;
}

.umenu {
    position: absolute;
    z-index: 80;
    min-width: 200px;
    padding: 6px;
    color: var(--fg);
    background: var(--menu-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
    animation: popIn 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.umenu button {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
}

.umenu button:hover:not(:disabled) {
    background: var(--hover);
}

.umenu button:disabled {
    opacity: 0.4;
    cursor: default;
}

.umenu hr {
    height: 1px;
    margin: 6px 4px;
    background: var(--border);
    border: 0;
}

.fm {
    display: flex;
    height: 100%;
}

.fm-sidebar {
    flex: none;
    width: 210px;
    padding: 8px;
    overflow-y: auto;
    background: var(--side-bg);
    border-right: 1px solid var(--border);
}

.fm-place {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 2px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
}

.fm-place:hover {
    background: var(--hover);
}

.fm-place.active {
    background: var(--btn-bg);
}

.fm-sep {
    height: 1px;
    margin: 8px 6px;
    background: var(--border);
}

.fm-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.fm-nav,
.fm-tools {
    display: flex;
    flex: none;
    gap: 8px;
}

.fm-pathbar {
    display: flex;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.fm-path {
    display: flex;
    gap: 1px;
    min-width: 0;
    padding: 2px;
    background: var(--btn-bg);
    border-radius: 9px;
}

.fm-crumb {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    background: transparent;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    white-space: nowrap;
}

.fm-crumb:hover {
    background: var(--btn-hover);
}

.fm-crumb:last-child {
    font-weight: 700;
}

.fm-searchbar {
    display: flex;
    flex: none;
    padding: 8px 12px;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
}

.fm-searchbar[hidden],
.fm-infobar[hidden] {
    display: none;
}

.fm-searchbar input {
    flex: 1;
    height: 32px;
    padding: 0 12px;
    color: var(--fg);
    background: var(--input-bg);
    border: 2px solid transparent;
    border-radius: 8px;
    font: inherit;
    outline: none;
    -webkit-user-select: text;
    user-select: text;
}

.fm-searchbar input:focus {
    border-color: var(--accent);
}

.fm-infobar {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
}

.fm-infobar button {
    padding: 6px 14px;
    color: var(--fg);
    background: var(--btn-bg);
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.fm-view {
    flex: 1;
    min-height: 0;
    padding: 14px;
    overflow: auto;
    outline: none;
    overscroll-behavior: contain;
}

.fm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    align-content: start;
    gap: 6px;
    min-height: 100%;
}

.fm-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 4px 8px;
    border-radius: 12px;
    cursor: default;
}

.fm-item img {
    width: 64px;
    height: 64px;
    pointer-events: none;
}

.fm-glyph {
    color: var(--accent);
    pointer-events: none;
}

.fm-glyph.file {
    color: #c7c7c7;
}

.fm-item .fm-glyph {
    width: 64px;
    height: 64px;
}

.fm-cell-name .fm-glyph {
    width: 24px;
    height: 24px;
}

.fm-item:hover {
    background: var(--hover);
}

.fm-item.selected {
    background: color-mix(in srgb, var(--accent) 38%, transparent);
}

.fm-name {
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.fm-rename {
    width: 100%;
    padding: 2px 4px;
    color: var(--fg);
    background: var(--input-bg);
    border: 2px solid var(--accent);
    border-radius: 6px;
    font: inherit;
    text-align: center;
    outline: none;
    -webkit-user-select: text;
    user-select: text;
}

.fm-list {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.fm-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px 150px;
    align-items: center;
    gap: 12px;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: default;
}

.fm-row.head {
    color: var(--fg-dim);
    font-weight: 700;
    padding-bottom: 8px;
}

.fm-row:not(.head):hover {
    background: var(--hover);
}

.fm-row.selected {
    background: color-mix(in srgb, var(--accent) 38%, transparent);
}

.fm-cell-name {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.fm-cell-name img {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.fm-cell-name span,
.fm-row > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fm-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    min-height: 220px;
    color: var(--fg-dim);
    font-size: 18px;
    font-weight: 700;
}

.fm-empty .sym {
    width: 96px;
    height: 96px;
    opacity: 0.45;
}

@container win (max-width: 560px) {
    .fm-sidebar {
        display: none;
    }

    .fm-crumb:not(:last-child) {
        display: none;
    }

    .fm-row {
        grid-template-columns: minmax(0, 1fr) 80px;
    }

    .fm-row > span:last-child {
        display: none;
    }
}

.is-terminal .uwin-header {
    color: #fff;
    background: #2b2b2b;
    border-color: #000;
}

.is-terminal .uwin-title {
    color: #fff;
}

.is-terminal .uwin:not(.focused) .uwin-close {
    color: #fff;
}

.term {
    height: 100%;
    padding: 8px 10px;
    overflow: auto;
    color: #eeeeec;
    background: #161a2e;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 15px;
    line-height: 1.3;
    overscroll-behavior: contain;
    -webkit-user-select: text;
    user-select: text;
    cursor: text;
}

.term-out > div {
    white-space: pre-wrap;
    word-break: break-word;
    min-height: 1.3em;
}

.term-line {
    display: flex;
    align-items: baseline;
}

.term-prompt {
    flex: none;
    white-space: pre;
}

.term-input {
    flex: 1;
    min-width: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    font: inherit;
    outline: none;
    caret-color: #eeeeec;
}

.store {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--fg);
}

.store-scroll {
    flex: 1;
    min-height: 0;
    padding: 24px 28px;
    overflow-y: auto;
}

.store-scroll h1 {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 700;
}

.store-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px;
    background: var(--btn-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.store-card > img {
    flex: none;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.store-info {
    flex: 1;
    min-width: 0;
}

.store-info h2 {
    margin: 0 0 2px;
    font-size: 17px;
    font-weight: 700;
}

.store-author {
    margin-bottom: 6px;
    font-size: 12px;
    opacity: 0.6;
}

.store-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.store-actions {
    display: flex;
    flex: none;
    gap: 8px;
}

.store-btn {
    padding: 8px 18px;
    color: var(--fg);
    background: var(--hover);
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.store-btn:hover:not(:disabled) {
    filter: brightness(1.15);
}

.store-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

.store-btn.primary {
    color: #fff;
    background: var(--accent);
}

.store-btn.danger {
    color: #ff7b72;
}

.store-more {
    margin: 28px 0 4px;
    text-align: center;
    font-size: 14px;
    opacity: 0.55;
}

.store-progress {
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 20px;
    background: var(--btn-bg);
    border-top: 1px solid var(--border);
}

.store-progress[hidden] {
    display: none;
}

.store-job {
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-job img {
    flex: none;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.store-job-info {
    flex: 1;
    min-width: 0;
}

.store-job-info > div:first-child {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
}

.store-job-info span {
    opacity: 0.65;
}

.store-bar {
    height: 6px;
    overflow: hidden;
    background: var(--hover);
    border-radius: 3px;
}

.store-bar i {
    display: block;
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.12s linear;
}

.notifications {
    position: absolute;
    top: calc(var(--panel-h) + 8px);
    right: 10px;
    z-index: 75;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(340px, calc(100% - 20px));
    pointer-events: none;
}

.notification {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: #fff;
    background: #2b2b2b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    pointer-events: auto;
    animation: notifyIn 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.notification.leaving {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.25s, transform 0.25s;
}

.notification img {
    flex: none;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.notification div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 13px;
}

.notification strong {
    font-size: 14px;
}

.notification span {
    opacity: 0.7;
}

@keyframes notifyIn {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
}

.term.running {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.term.running .term-out {
    display: none;
}

.term.running .term-line {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.term-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.term-probe {
    position: absolute;
    visibility: hidden;
}

.term-out .nowrap {
    white-space: pre;
}

.f-logo {
    color: var(--accent);
    font-weight: 700;
}

.f-logo .f-white {
    color: #eeeeec;
}

.f-accent {
    color: var(--accent);
}

.f-block {
    display: inline-block;
    width: 3ch;
    height: 1.3em;
    vertical-align: bottom;
}

.t-user { color: #8ae234; font-weight: 700; }
.term[data-scheme='black'] { background: #000; }
.term[data-scheme='light'] { color: #2e3436; background: #fdf6e3; }
.term[data-scheme='light'] .t-user { color: #4e9a06; }
.term[data-scheme='light'] .t-path,
.term[data-scheme='light'] .t-dir { color: #3465a4; }
.term[data-scheme='light'] .term-input { color: #2e3436; caret-color: #2e3436; }
.t-path { color: #729fcf; font-weight: 700; }
.t-dir { color: #729fcf; font-weight: 700; }
.t-match { color: #ef2929; font-weight: 700; }

.editor {
    display: block;
    width: 100%;
    height: 100%;
    padding: 14px 16px;
    color: var(--fg);
    background: var(--view-bg);
    border: 0;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 15px;
    line-height: 1.5;
    resize: none;
    outline: none;
    overscroll-behavior: contain;
    -webkit-user-select: text;
    user-select: text;
}

.set {
    display: flex;
    height: 100%;
}

.set-side {
    flex: none;
    width: 250px;
    padding: 8px;
    overflow-y: auto;
    background: var(--side-bg);
    border-right: 1px solid var(--border);
}

.set-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 2px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
}

.set-nav:hover {
    background: var(--hover);
}

.set-nav.active {
    color: #fff;
    background: var(--accent);
}

.set-content {
    flex: 1;
    min-width: 0;
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.set-page {
    max-width: 580px;
    margin: 0 auto;
}

.set-page h2 {
    margin: 22px 0 12px;
    font-size: 15px;
}

.set-page h2:first-child {
    margin-top: 0;
}

.set-back {
    display: none;
}

.set-preview {
    height: 160px;
    background-size: cover;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.set-swatches,
.set-accents {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.set-swatches {
    margin-top: 16px;
}

.swatch {
    width: 92px;
    height: 58px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    background-size: cover !important;
    cursor: pointer;
    outline: 1px solid var(--border);
}

.swatch.selected {
    border-color: var(--accent);
}

.set-styles {
    display: flex;
    gap: 16px;
}

.style-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.style-thumb {
    position: relative;
    width: 150px;
    height: 96px;
    border: 3px solid transparent;
    border-radius: 12px;
    outline: 1px solid var(--border);
    background: linear-gradient(135deg, #2a1f55, var(--accent));
    overflow: hidden;
}

.style-thumb i,
.style-thumb b {
    position: absolute;
    border-radius: 6px;
}

.style-thumb i {
    left: 18px;
    top: 18px;
    width: 78px;
    height: 52px;
}

.style-thumb b {
    left: 56px;
    top: 38px;
    width: 70px;
    height: 44px;
    background: var(--accent);
}

.style-thumb.light i { background: #fafafa; }
.style-thumb.dark i { background: #242424; }

.style-card.selected .style-thumb {
    border-color: var(--accent);
}

.accent {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    color: #fff;
    background: var(--c);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.accent .sym {
    opacity: 0;
}

.accent.selected .sym {
    opacity: 1;
}

.boxed {
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.boxed .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
    padding: 8px 16px;
}

.boxed .row + .row {
    border-top: 1px solid var(--border);
}

.boxed .row .dim {
    color: var(--fg-dim);
}

.row-ctl {
    display: flex;
    align-items: center;
    gap: 12px;
}

.row-ctl input {
    accent-color: var(--accent);
}

.switch {
    position: relative;
    flex: none;
    width: 46px;
    height: 26px;
    padding: 0;
    background: var(--switch-off);
    border: 0;
    border-radius: 13px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.15s ease;
}

.switch.on {
    background: var(--accent);
}

.switch.on::after {
    transform: translateX(20px);
}

.about-logo {
    display: block;
    width: 96px;
    height: 96px;
    margin: 4px auto 18px;
}

@container win (max-width: 560px) {
    .set-side {
        width: 100%;
        border: 0;
    }

    .set-content {
        display: none;
    }

    .uwin.show-content .set-side {
        display: none;
    }

    .uwin.show-content .set-content {
        display: block;
    }

    .uwin.show-content .set-back {
        display: grid;
    }
}

.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    height: 100%;
    padding: 34px 28px;
    overflow-y: auto;
    text-align: center;
    -webkit-user-select: text;
    user-select: text;
}

.about-pfp {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
    border: 2px solid var(--border);
    border-radius: 50%;
}

.about h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
}

.about-discord {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 8px 0 18px;
    padding: 10px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.about-discord span {
    color: var(--fg-dim);
    font-size: 12px;
}

.about-text {
    max-width: 380px;
    line-height: 1.55;
}

.about-text p {
    margin: 0 0 12px;
}

.fx {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fx-tabs {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
}

.fx-tab {
    display: flex;
    align-items: center;
    flex: 0 1 190px;
    gap: 8px;
    min-width: 54px;
    height: 34px;
    padding: 0 6px 0 12px;
    color: var(--fg-dim);
    border-radius: 8px;
    cursor: default;
}

.fx-tab.active {
    color: var(--fg);
    background: var(--view-bg);
}

.fx-tab span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.fx-tab button {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.fx-tab button:hover {
    background: var(--btn-hover);
}

.fx-tab .sym {
    width: 12px;
    height: 12px;
}

.fx-toolbar {
    display: flex;
    flex: none;
    gap: 6px;
    padding: 6px 8px;
    background: var(--view-bg);
    border-bottom: 1px solid var(--border);
}

.fx-url {
    flex: 1;
    min-width: 0;
    height: 34px;
    padding: 0 14px;
    color: var(--fg);
    background: var(--input-bg);
    border: 2px solid transparent;
    border-radius: 8px;
    font: inherit;
    outline: none;
    -webkit-user-select: text;
    user-select: text;
}

.fx-url:focus {
    border-color: var(--accent);
}

.fx-info {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 14px;
    color: var(--fg-dim);
    background: var(--header-bg);
    font-size: 12px;
}

.fx-info[hidden] {
    display: none;
}

.fx-info a {
    color: var(--accent);
    white-space: nowrap;
}

.fx-pages {
    position: relative;
    flex: 1;
    min-height: 0;
}

.fx-page {
    position: absolute;
    inset: 0;
    display: none;
}

.fx-page.active {
    display: block;
}

.fx-frame {
    display: none;
    width: 100%;
    height: 100%;
    background: #fff;
    border: 0;
}

.fx-page.browsing .fx-frame {
    display: block;
}

.fx-page.browsing .fx-home {
    display: none;
}

.fx-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    height: 100%;
    padding: 40px 20px;
    overflow-y: auto;
    background: var(--view-bg);
}

.fx-home img {
    width: 84px;
    height: 84px;
}

.fx-search {
    width: min(520px, 100%);
    height: 44px;
    padding: 0 20px;
    color: var(--fg);
    background: var(--input-bg);
    border: 2px solid transparent;
    border-radius: 10px;
    font: inherit;
    outline: none;
    -webkit-user-select: text;
    user-select: text;
}

.fx-search:focus {
    border-color: var(--accent);
}

.fx-tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.fx-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 96px;
    padding: 12px 4px;
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

.fx-tile:hover {
    background: var(--hover);
}

.fx-tile b {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    color: #fff;
    background: var(--accent);
    border-radius: 14px;
    font-size: 24px;
}

@media (max-width: 768px) {
    .lambdaweb-desktop {
        --dock-icon: 36px;
        --dock-w: calc(var(--dock-icon) + 16px);
    }

    .dock-apps {
        overflow-y: auto;
        scrollbar-width: none;
    }

    .dock-item::after {
        display: none;
    }

    .panel-btn {
        padding: 0 8px;
    }

    .lambdaweb-frame .window-title {
        max-width: 55%;
        font-size: 0.7rem;
    }
}
