/*
Theme Name: Goldfish CodeBox
Theme URI: https://goldfishcodebox.xyz
Description: Standalone Goldfish shell with stealth login and desktop UX.
Author: Goldfish
Text Domain: goldfish-codebox
Version: 0.2.0
*/

:root {
    --gcb-wallpaper: radial-gradient(circle at 25% 20%, rgba(96, 165, 250, 0.35) 0, transparent 30%), radial-gradient(circle at 72% 15%, rgba(186, 104, 200, 0.32) 0, transparent 28%), radial-gradient(circle at 50% 85%, rgba(34, 197, 94, 0.3) 0, transparent 30%), linear-gradient(160deg, #0d111f 0%, #0b1221 40%, #0a0f1d 100%);
    --gcb-desktop-wallpaper: linear-gradient(180deg, #e5e5e5 0%, #d9d9d9 50%, #cfcfcf 100%);
    --gcb-accent: #0ea5e9;
    --gcb-dock-size: 32px;
    --gcb-dock-icon-size: 24px;
    --gcb-scrollbar-width: 20px;
    --gcb-taskbar-height: 48px;
    --gcb-menubar-height: 36px;
    --gcb-titlebar-clear: 55px;
    --gcb-window-radius: 14px;
    --gcb-window-blur: 12px;
    --gcb-widget-tray-width: 320px;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

.goldfish-landing-title {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 100;
    font-family: "Inter", "Helvetica Neue", "Segoe UI", system-ui, -apple-system, sans-serif;
    letter-spacing: 0.24em;
    color: rgba(226, 232, 240, 0.64);
    text-transform: none;
    pointer-events: none;
    z-index: 200;
    text-align: center;
    text-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
    transform: translateY(-12%);
}

/* Landing styling */
.goldfish-landing-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    background: var(--gcb-wallpaper);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.goldfish-landing-body:not(.is-desktop) {
    background: radial-gradient(circle at 18% 22%, rgba(56, 189, 248, 0.3) 0, transparent 32%),
                radial-gradient(circle at 78% 18%, rgba(59, 130, 246, 0.28) 0, transparent 30%),
                radial-gradient(circle at 44% 82%, rgba(6, 95, 70, 0.24) 0, transparent 32%),
                linear-gradient(170deg, #03121d 0%, #042637 42%, #041824 100%);
}

.goldfish-landing-body::before,
.goldfish-landing-body::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.22;
    pointer-events: none;
}

.goldfish-landing-body::before {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(16, 185, 129, 0.28));
    top: -120px;
    left: -180px;
}

.goldfish-landing-body::after {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(6, 182, 212, 0.26));
    bottom: -160px;
    right: -140px;
}

.goldfish-landing-card {
    max-width: 760px;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    padding: 32px 32px 48px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
}

.goldfish-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: #67e8f9;
    margin-bottom: 12px;
}

.goldfish-headline {
    font-size: clamp(2.2rem, 2vw + 1.2rem, 3rem);
    margin: 0 0 12px;
    color: #e2e8f0;
}

.goldfish-subhead {
    color: #cbd5e1;
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.goldfish-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.25);
    font-size: 0.95rem;
}

.goldfish-meta {
    color: #94a3b8;
    font-size: 0.9rem;
}

.goldfish-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.04) 0, transparent 22%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.04) 0, transparent 22%),
                rgba(6, 8, 14, 0.82);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 13000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.goldfish-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.goldfish-overlay__inner {
    width: min(400px, 90vw);
    background: linear-gradient(180deg, rgba(20, 26, 39, 0.78), rgba(12, 16, 26, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 26px 28px 30px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.goldfish-login-avatar {
    display: grid;
    place-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.goldfish-login-avatar__circle {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(96, 165, 250, 0.3), rgba(186, 104, 200, 0.3));
    display: grid;
    place-items: center;
    font-size: 44px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.goldfish-login-avatar__circle img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.goldfish-login-avatar__name {
    font-size: 1.1rem;
    color: #e5e7eb;
    letter-spacing: 0.012em;
}

.goldfish-login-form {
    display: grid;
    gap: 10px;
    width: 260px;
    margin: 0 auto;
}

.goldfish-login-hint {
    margin: 4px 0 2px;
    text-align: center;
    color: #a5b4c7;
    font-size: 0.95rem;
}

.goldfish-input {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 10, 16, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #e5e7eb;
    padding: 11px 12px;
    height: 44px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 8px 18px rgba(0, 0, 0, 0.28);
    font-family: "SF Pro Display", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    appearance: none;
    -webkit-appearance: none;
}

.goldfish-input:-webkit-autofill,
.goldfish-input:-webkit-autofill:hover,
.goldfish-input:-webkit-autofill:focus {
    box-shadow: 0 0 0 1000px rgba(8, 10, 16, 0.38) inset !important;
    -webkit-text-fill-color: #e5e7eb !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    transition: background-color 9999s ease-in-out 0s;
}

.goldfish-input::placeholder {
    color: #9ca3af;
}

.goldfish-input:focus {
    border-color: #7c9dff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 157, 255, 0.18);
}

.goldfish-button {
    margin-top: 4px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c9dff, #60a5fa);
    color: #0b1221;
    font-weight: 700;
    padding: 11px 14px;
    height: 44px;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    box-shadow: 0 12px 26px rgba(124, 157, 255, 0.26);
    font-family: "SF Pro Display", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

.goldfish-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(124, 157, 255, 0.32);
}

/* Make sure our UI wins over any inherited styles */
.goldfish-input,
.goldfish-button {
    width: 100% !important;
    max-width: 260px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(8, 10, 16, 0.38) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #e5e7eb !important;
    padding: 11px 12px !important;
    height: 44px !important;
    font-family: "SF Pro Display", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 8px 18px rgba(0, 0, 0, 0.28) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.goldfish-button {
    background: linear-gradient(135deg, #7c9dff, #60a5fa) !important;
    box-shadow: 0 12px 26px rgba(124, 157, 255, 0.26) !important;
    cursor: pointer;
}

.goldfish-button:hover {
    box-shadow: 0 14px 32px rgba(124, 157, 255, 0.32) !important;
    transform: translateY(-1px);
}

.goldfish-overlay__title {
    margin: 0 0 12px;
    color: #e2e8f0;
    font-size: 1.1rem;
}

.goldfish-overlay__sub {
    margin: 0 0 16px;
    color: #94a3b8;
    font-size: 0.95rem;
}

.goldfish-button--ghost {
    background: transparent !important;
    color: #e5e7eb !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
}

.goldfish-overlay__hint {
    margin-top: 8px;
    color: #a5b4c7;
    font-size: 0.9rem;
}

.goldfish-overlay form {
    display: grid;
    gap: 10px;
}

.goldfish-overlay label {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.goldfish-overlay input[type="text"],
.goldfish-overlay input[type="password"] {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #0b1221;
    color: #e2e8f0;
    padding: 11px 12px;
}

.goldfish-overlay input[type="text"]:focus,
.goldfish-overlay input[type="password"]:focus {
    border-color: #0ea5e9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

.goldfish-overlay button[type="submit"] {
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    color: #0b1221;
    font-weight: 700;
    padding: 12px 14px;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.goldfish-overlay button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.35);
}

.goldfish-menubar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    background: rgba(10, 12, 18, 0.65);
    backdrop-filter: blur(calc(var(--gcb-window-blur, 12px) + 2px));
    -webkit-backdrop-filter: blur(calc(var(--gcb-window-blur, 12px) + 2px));
    color: #e5e7eb;
    font-size: 13px;
    z-index: 11000;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.goldfish-menubar__left,
.goldfish-menubar__right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.goldfish-menubar__widgets {
    display: flex;
    align-items: center;
    gap: 8px;
}

.goldfish-menubar__widget-button {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.goldfish-menubar__widget-button:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.14);
}

.goldfish-menubar__widget-button.is-active {
    background: rgba(14, 165, 233, 0.18);
    border-color: rgba(14, 165, 233, 0.45);
    color: #7dd3fc;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.goldfish-menubar__widget-icon {
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    font-size: 14px;
    line-height: 1;
    pointer-events: none;
}

.goldfish-menubar__widget-icon i {
    color: inherit;
    font-size: 14px;
    line-height: 1;
}

.goldfish-menubar__spacer {
    flex: 1 1 auto;
    height: 100%;
    cursor: default;
}

.goldfish-menubar__logo {
    width: 20px;
    height: 20px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
    border: none;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
}

.goldfish-menubar__item {
    border: none;
    background: transparent;
    color: #e5e7eb;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 6px;
    opacity: 0.82;
    cursor: pointer;
    transition: background 0.12s ease;
}

.goldfish-menubar__item.is-active {
    opacity: 1;
    font-weight: 700;
}

.goldfish-menubar__status {
    opacity: 0.9;
}

.goldfish-menubar__button {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease, transform 0.1s ease;
}

.goldfish-menubar__button:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.goldfish-menubar__button:focus-visible {
    outline: 2px solid var(--gcb-accent, rgba(124, 157, 255, 0.6));
    outline-offset: 2px;
}

.goldfish-menubar__icon-button {
    border: none;
    background: transparent !important;
    color: #e5e7eb !important;
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s ease, transform 0.1s ease;
    box-shadow: none;
    text-shadow: none;
}

.goldfish-menubar__icon-button:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

.goldfish-menubar__icon-button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.28);
    outline-offset: 2px;
}

.goldfish-menubar__icon-button.is-active,
.goldfish-menubar__icon-button:active,
.goldfish-menubar__icon-button:focus {
    background: transparent !important;
    color: #e5e7eb !important;
    box-shadow: none !important;
}

.goldfish-menubar__icon-glyph {
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    color: inherit;
}

.goldfish-widget-tray {
    position: absolute;
    top: var(--gcb-menubar-height, 36px);
    right: 0;
    bottom: var(--gcb-taskbar-height, 48px);
    width: var(--gcb-widget-tray-width, clamp(260px, 26vw, 420px));
    background: rgba(10, 12, 18, 0.9);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: -10px 0 28px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(calc(var(--gcb-window-blur, 12px) + 2px));
    -webkit-backdrop-filter: blur(calc(var(--gcb-window-blur, 12px) + 2px));
    transform: translateX(100%);
    transition: transform var(--gcb-tray-transition, 0.68s) cubic-bezier(0.22, 0.61, 0.36, 1);
    z-index: 2500;
    pointer-events: none;
}

.goldfish-widget-tray.is-open {
    transform: translateX(0);
    pointer-events: auto;
}

.goldfish-widget-tray__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.goldfish-widget-tray__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 34px;
    cursor: pointer;
}

.goldfish-widget-header__button {
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    color: #e5e7eb;
    width: 38px;
    height: 38px;
    padding: 8px;
    border-radius: 12px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.12s ease, border-color 0.12s ease, transform 0.1s ease, box-shadow 0.12s ease;
}

.goldfish-widget-header__button--hide {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    width: 30px;
    height: 30px;
    padding: 6px;
}

.goldfish-widget-header__button--hide:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
}

.goldfish-widget-header__button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.goldfish-widget-header__icon {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
}

.goldfish-widget-header__icon i {
    color: #f8fafc;
    font-size: 18px;
    line-height: 1;
}

.goldfish-widget-header__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.goldfish-widget-tray__header--controls {
    background: linear-gradient(135deg, #0b1530 0%, #102a59 30%, #1f3f8a 55%, #3b2a7a 72%, #1fa2ff 100%);
    color: #fff;
    border-bottom-color: transparent;
}

.goldfish-widget-header__title {
    font-size: 17px;
    font-weight: 100;
    color: #fff;
    letter-spacing: 0.06em;
    user-select: none;
    font-family: "Inter", "SF Pro Display", "SF Pro Text", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    margin-left: 6px;
}

.goldfish-widget-tray__content {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0;
    color: #e2e8f0;
    scrollbar-width: thin;
}

.goldfish-widget-empty {
    height: 100%;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #94a3b8;
    font-size: 13px;
    text-align: center;
    padding: 18px;
}

.gcb-widget-block {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gcb-widget-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    color: #67e8f9;
    margin: 0 0 4px;
}

.gcb-widget-title {
    margin: 0 0 6px;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.gcb-widget-text {
    margin: 0;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
}

.goldfish-widget-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.goldfish-widget-panel__meta {
    font-size: 12px;
    color: #94a3b8;
    letter-spacing: 0.01em;
}

.goldfish-widget-panel__body {
    font-size: 13px;
    color: #e2e8f0;
    line-height: 1.6;
}

.goldfish-menu {
    position: fixed;
    min-width: 220px;
    background: rgba(12, 14, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(calc(var(--gcb-window-blur, 12px) + 4px));
    -webkit-backdrop-filter: blur(calc(var(--gcb-window-blur, 12px) + 4px));
    padding: 6px 0;
    display: none;
    z-index: 50;
}

.goldfish-menu.is-open {
    display: block;
}

.goldfish-menu--dock {
    z-index: 12000;
    border-radius: 10px;
}

.goldfish-menu__item {
    width: 100%;
    text-align: left;
    padding: 8px 14px;
    background: transparent;
    color: #e5e7eb;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-family: "SF Pro Display", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-right: 36px;
}

.goldfish-menu__item.is-checked {
    font-weight: 700;
    color: #e5e7eb;
}

.goldfish-menu__item.is-checked::before {
    content: "✓";
    position: absolute;
    right: 12px;
    color: #e5e7eb;
    font-weight: 800;
}

.goldfish-menu__item--submenu {
    position: relative;
    justify-content: space-between;
    padding-right: 12px;
}

.goldfish-menu__submenu-caret {
    display: inline-block;
    margin-left: auto;
    color: #e5e7eb;
    font-size: 11px;
    opacity: 0.9;
}

.goldfish-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: -8px;
    min-width: 190px;
    background: rgba(12, 14, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 6px 0;
    display: none;
    z-index: 60;
}

.goldfish-menu__item--submenu:hover > .goldfish-submenu {
    display: block;
}
.goldfish-submenu:hover {
    display: block;
}

.goldfish-submenu__item {
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    background: transparent;
    color: #e5e7eb;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-family: "SF Pro Display", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
}

.goldfish-submenu__item.is-checked::before {
    content: "✓";
    position: absolute;
    right: 10px;
    color: #e5e7eb;
    font-weight: 800;
}

.goldfish-menu__item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.goldfish-menu__item--danger {
    color: #fca5a5;
}

.gcb-dock-magnify .goldfish-dock__item:hover {
    transform: translateY(-4px) scale(1.12);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
}

.gcb-reduce-motion * {
    transition-duration: 0.01s !important;
    animation-duration: 0.01s !important;
}

.goldfish-menu__item:focus-visible,
.goldfish-menubar__item:focus-visible,
.goldfish-menubar__logo:focus-visible {
    outline: 2px solid var(--gcb-accent, rgba(124, 157, 255, 0.6));
    outline-offset: 2px;
}

.goldfish-menu hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 6px 0;
}

.goldfish-landing-body.is-desktop {
    align-items: stretch;
    padding-top: 0;
    padding-bottom: 0;
    background: var(--gcb-desktop-wallpaper);
}

.goldfish-desktop {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.goldfish-desktop__icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
}

.goldfish-icon {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(10, 12, 18, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #e2e8f0;
    padding: 18px 14px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
    display: grid;
    gap: 8px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.goldfish-icon:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 157, 255, 0.45);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.goldfish-icon__glyph {
    font-size: 1.6rem;
}

.goldfish-icon__glyph--img {
    display: inline-block;
    width: 48px;
    height: 48px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.32));
}

.goldfish-icon__label {
    font-size: 0.95rem;
    color: #cbd5e1;
}

.goldfish-boot {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 13500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.goldfish-boot.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.goldfish-boot__inner {
    display: grid;
    gap: 22px;
    align-items: center;
    justify-items: center;
    color: #f5f5f7;
}

.goldfish-boot__logo {
    font-size: 48px;
    font-family: "SF Pro Display", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.02em;
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
}

.goldfish-boot__logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.goldfish-boot__bar {
    width: 180px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    overflow: hidden;
    position: relative;
}

.goldfish-boot__progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gcb-accent, #34d399), #22d3ee);
    border-radius: 999px;
    transition: width 0.8s ease;
}

.goldfish-dock__logout {
    margin: 0;
}

.goldfish-dock__item--logout {
    border-style: solid;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(248, 113, 113, 0.2));
    color: #fca5a5;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.goldfish-dock__item--logout:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(239, 68, 68, 0.35);
}

.goldfish-pass-input {
    position: fixed;
    opacity: 0;
    width: 1px;
    height: 1px;
    inset: 0;
}

.goldfish-desktop {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.goldfish-desktop__icons {
    display: none;
}

.goldfish-icon {
    display: none;
}

.goldfish-icon:hover {
    transform: translateY(-2px);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

.goldfish-icon__glyph {
    font-size: 1.4rem;
}

.goldfish-icon__label {
    font-size: 0.95rem;
    color: #cbd5e1;
}

.goldfish-dock {
    display: none;
}

.goldfish-taskbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--gcb-taskbar-height, 48px);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(18, 20, 28, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.28);
    z-index: 10990;
}

.goldfish-taskbar__start {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(145deg, #1f2937 0%, #0f172a 100%);
    color: #e5e7eb;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
    transition: background 0.12s ease, box-shadow 0.12s ease;
}

.goldfish-taskbar__start:hover {
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, #263449 0%, #131c2e 100%);
}

.goldfish-taskbar__start-icon {
    font-size: 18px;
    line-height: 1;
}

.goldfish-taskbar__start-label {
    font-size: 14px;
    letter-spacing: 0.01em;
}

.goldfish-taskbar__quick,
.goldfish-taskbar__running {
    display: flex;
    align-items: center;
    gap: 6px;
}

.goldfish-taskbar__quick {
    display: none;
}

.goldfish-taskbar__running {
    flex: 1 1 auto;
}

.goldfish-taskbar__quick-item {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center;
    color: #e5e7eb;
    cursor: pointer;
    transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.goldfish-taskbar__quick-item:hover {
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

.goldfish-taskbar__quick-item:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.goldfish-taskbar__quick-glyph {
    font-size: 16px;
}

.goldfish-taskbar__spacer {
    flex: 1 1 auto;
}

.goldfish-taskbar__running {
    overflow-x: auto;
    scrollbar-width: none;
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.goldfish-taskbar__running::-webkit-scrollbar {
    display: none;
}

.goldfish-taskbar__running-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-right: none;
    background: rgba(255, 255, 255, 0.06);
    color: #e5e7eb;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease, transform 0.1s ease, box-shadow 0.12s ease;
}

.goldfish-taskbar__running-item:hover {
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, 0.32);
}

.goldfish-taskbar__running-item.is-current-desktop {
    border-color: rgba(14, 165, 233, 0.45);
}

.goldfish-taskbar__running-item.is-minimized {
    opacity: 0.65;
}

.goldfish-taskbar__running-item.is-first {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    margin-left: 6px;
}

.goldfish-taskbar__running-item.is-last {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    margin-right: 6px;
}

.goldfish-taskbar__running-item + .goldfish-taskbar__running-item {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.goldfish-taskbar__running-item.is-active {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.26);
    border-color: rgba(255, 255, 255, 0.28);
}

.goldfish-taskbar__running-item.is-snap-full {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(34, 197, 94, 0.12));
    border-color: rgba(34, 197, 94, 0.45);
}

.goldfish-taskbar__running-item.is-snap-left {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(14, 165, 233, 0.1));
    border-color: rgba(14, 165, 233, 0.38);
}

.goldfish-taskbar__running-item.is-snap-right {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.22), rgba(147, 51, 234, 0.1));
    border-color: rgba(147, 51, 234, 0.4);
}

.goldfish-taskbar__running-label {
    white-space: nowrap;
}

.goldfish-taskbar__running-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    flex-shrink: 0;
}

.goldfish-taskbar__running-icon--img {
    background-color: rgba(255, 255, 255, 0.08);
}

.goldfish-taskbar__running-icon--glyph {
    font-size: 14px;
}

@media (max-width: 1100px) {
    .goldfish-taskbar__running-label {
        display: none;
    }
    .goldfish-taskbar__running-item {
        padding: 6px 8px;
    }
}

.goldfish-taskbar__desktops {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e5e7eb;
    font-size: 13px;
}

.goldfish-taskbar__desktop-label {
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.goldfish-taskbar__desktop-controls {
    display: inline-flex;
    gap: 4px;
}

.goldfish-taskbar__desktop-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
    cursor: pointer;
    transition: transform 0.1s ease, border-color 0.12s ease;
}

.goldfish-taskbar__desktop-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, 0.35);
}

.goldfish-start-menu {
    position: fixed;
    width: 260px;
    background: rgba(12, 14, 20, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 6px 0;
    z-index: 50000;
}

/* Capture panel positioning tweaks */
.gcb-capture-overlay__panel {
    top: calc(var(--gcb-menubar-height, 36px) + 20px) !important;
    bottom: calc(var(--gcb-taskbar-height, 48px) + 20px) !important;
}

.goldfish-start-menu.goldfish-menu {
    border-radius: 12px;
}

.goldfish-start-menu .goldfish-menu__item {
    font-size: 13px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.goldfish-start-menu__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    color: #e5e7eb;
    font-size: 14px;
}

.goldfish-start-menu__icon--img {
    background-color: rgba(255, 255, 255, 0.08);
}

.goldfish-start-menu__icon--glyph {
    font-size: 14px;
}

.goldfish-start-menu__label {
    flex: 1 1 auto;
    text-align: left;
}

/* Window-style prefs */
.goldfish-window {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 12000;
    pointer-events: none;
}

.goldfish-window.is-visible {
    display: flex;
    pointer-events: auto;
}

.goldfish-app-window {
    position: absolute;
    top: 64px;
    left: 48px;
    min-width: 320px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    background: rgba(12, 16, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--gcb-window-radius, 14px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(var(--gcb-window-blur, 12px));
    -webkit-backdrop-filter: blur(var(--gcb-window-blur, 12px));
    overflow: hidden;
    color: #e2e8f0;
    resize: none;
    transition: transform 0.68s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.45s ease;
}

.goldfish-app-window.is-focused {
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.goldfish-app-window.is-minimized {
    display: none;
}

.goldfish-app-window.is-off-desktop {
    opacity: 1;
    pointer-events: none;
    visibility: visible;
}

.goldfish-app-window.is-maximized {
    resize: none;
}

.goldfish-app-window.is-snap-left,
.goldfish-app-window.is-snap-right,
.goldfish-app-window.is-snap-full {
    border-radius: 0;
}

.gcb-tray-animating .goldfish-app-window.is-snap-left,
.gcb-tray-animating .goldfish-app-window.is-snap-right,
.gcb-tray-animating .goldfish-app-window.is-snap-full {
    transition: left var(--gcb-tray-transition, 0.68s) cubic-bezier(0.22, 0.61, 0.36, 1), width var(--gcb-tray-transition, 0.68s) cubic-bezier(0.22, 0.61, 0.36, 1), height var(--gcb-tray-transition, 0.68s) cubic-bezier(0.22, 0.61, 0.36, 1);
}

.goldfish-workspace {
    position: absolute;
    inset: 0;
    overflow: hidden;
    will-change: transform;
    z-index: 1;
    pointer-events: none;
}

.goldfish-workspace.is-off {
    pointer-events: none;
}

.goldfish-workspace > * {
    pointer-events: auto;
}

.goldfish-app-window.is-snap-left .goldfish-app-window__titlebar,
.goldfish-app-window.is-snap-right .goldfish-app-window__titlebar,
.goldfish-app-window.is-snap-full .goldfish-app-window__titlebar {
    display: none;
}

.goldfish-app-window__handle {
    position: absolute;
    z-index: 30;
    pointer-events: auto;
}

.goldfish-app-window__handle--right {
    top: 0;
    bottom: 0;
    right: 0;
    width: 10px;
    cursor: ew-resize;
}

.goldfish-app-window__handle--left {
    top: 0;
    bottom: 0;
    left: 0;
    width: 10px;
    cursor: ew-resize;
}

.goldfish-app-window__handle--bottom {
    left: 0;
    right: 0;
    bottom: 0;
    height: 12px;
    cursor: ns-resize;
}

.goldfish-app-window__handle--top {
    left: 0;
    right: 0;
    top: 0;
    height: 10px;
    cursor: ns-resize;
}

.goldfish-app-window__handle--corner {
    width: 16px;
    height: 16px;
    right: 0;
    bottom: 0;
    cursor: nwse-resize;
}

.goldfish-app-window__handle--br {
    width: 16px;
    height: 16px;
    right: 0;
    bottom: 0;
    cursor: nwse-resize;
}

.goldfish-app-window__handle--bl {
    width: 16px;
    height: 16px;
    left: 0;
    bottom: 0;
    cursor: nesw-resize;
}

.goldfish-app-window__handle--tr {
    width: 16px;
    height: 16px;
    right: 0;
    top: 0;
    cursor: nesw-resize;
}

.goldfish-app-window__handle--tl {
    width: 16px;
    height: 16px;
    left: 0;
    top: 0;
    cursor: nwse-resize;
}

.goldfish-app-window__handle--right:hover,
.goldfish-app-window__handle--left:hover {
    cursor: ew-resize !important;
}

.goldfish-app-window__handle--top:hover,
.goldfish-app-window__handle--bottom:hover {
    cursor: ns-resize !important;
}

.goldfish-app-window__handle--br:hover,
.goldfish-app-window__handle--tl:hover {
    cursor: nwse-resize !important;
}

.goldfish-app-window__handle--bl:hover,
.goldfish-app-window__handle--tr:hover {
    cursor: nesw-resize !important;
}

.goldfish-app-window:fullscreen .goldfish-app-window__handle--right,
.goldfish-app-window:-webkit-full-screen .goldfish-app-window__handle--right,
.goldfish-app-window:-moz-full-screen .goldfish-app-window__handle--right {
    cursor: ew-resize;
}

.goldfish-app-window:fullscreen .goldfish-app-window__handle--left,
.goldfish-app-window:-webkit-full-screen .goldfish-app-window__handle--left,
.goldfish-app-window:-moz-full-screen .goldfish-app-window__handle--left {
    cursor: ew-resize;
}

.goldfish-app-window:fullscreen .goldfish-app-window__handle--bottom,
.goldfish-app-window:-webkit-full-screen .goldfish-app-window__handle--bottom,
.goldfish-app-window:-moz-full-screen .goldfish-app-window__handle--bottom {
    cursor: ns-resize;
}

.goldfish-app-window:fullscreen .goldfish-app-window__handle--top,
.goldfish-app-window:-webkit-full-screen .goldfish-app-window__handle--top,
.goldfish-app-window:-moz-full-screen .goldfish-app-window__handle--top {
    cursor: ns-resize;
}

.goldfish-app-window:fullscreen .goldfish-app-window__handle--br,
.goldfish-app-window:-webkit-full-screen .goldfish-app-window__handle--br,
.goldfish-app-window:-moz-full-screen .goldfish-app-window__handle--br,
.goldfish-app-window:fullscreen .goldfish-app-window__handle--tl,
.goldfish-app-window:-webkit-full-screen .goldfish-app-window__handle--tl,
.goldfish-app-window:-moz-full-screen .goldfish-app-window__handle--tl {
    cursor: nwse-resize;
}

.goldfish-app-window:fullscreen .goldfish-app-window__handle--bl,
.goldfish-app-window:-webkit-full-screen .goldfish-app-window__handle--bl,
.goldfish-app-window:-moz-full-screen .goldfish-app-window__handle--bl,
.goldfish-app-window:fullscreen .goldfish-app-window__handle--tr,
.goldfish-app-window:-webkit-full-screen .goldfish-app-window__handle--tr,
.goldfish-app-window:-moz-full-screen .goldfish-app-window__handle--tr {
    cursor: nesw-resize;
}

.goldfish-app-window.is-maximized .goldfish-app-window__handle {
    display: none;
}

.goldfish-app-window__titlebar {
    position: absolute;
    top: 10px;
    left: 12px;
    right: 12px;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    cursor: move;
    flex-shrink: 0;
    border-radius: calc(var(--gcb-window-radius, 14px) - 2px);
    background: rgba(12, 16, 26, 0.42);
    backdrop-filter: blur(var(--gcb-window-blur, 12px));
    -webkit-backdrop-filter: blur(var(--gcb-window-blur, 12px));
    opacity: 0.92;
    pointer-events: auto;
    transition: opacity 0.12s ease;
}

.goldfish-app-window__dots {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.goldfish-app-window__dots--seven {
    gap: 6px;
}

.goldfish-app-window__title {
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #e5e7eb;
    font-size: 0.95rem;
}

.goldfish-app-window:not(.is-focused):not(:hover) .goldfish-app-window__titlebar {
    opacity: 0.82;
}

.goldfish-app-window.is-minimized .goldfish-app-window__titlebar,
.goldfish-app-window.is-off-desktop .goldfish-app-window__titlebar {
    display: none;
}

.goldfish-app-window__body {
    padding: calc((var(--gcb-titlebar-clear, 72px)) - 25px) calc(var(--gcb-scrollbar-width, 20px) + 12px) 16px 14px;
    font-size: 0.95rem;
    color: #cbd5e1;
    flex: 1;
    min-height: 0;
    position: relative;
    overflow-y: auto;
    scrollbar-width: none;
    scrollbar-gutter: stable;
}

.goldfish-app-window__body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.goldfish-app-window.is-snap-left .goldfish-app-window__body,
.goldfish-app-window.is-snap-right .goldfish-app-window__body,
.goldfish-app-window.is-snap-full .goldfish-app-window__body {
    padding-top: 16px;
}

.goldfish-app-window.is-transitioning {
    transition: transform 0.28s ease, opacity 0.28s ease;
    visibility: visible;
}

.goldfish-scrollbar {
    position: absolute;
    right: 6px;
    top: 8px;
    bottom: 8px;
    width: var(--gcb-scrollbar-width, 16px);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    pointer-events: auto;
    opacity: 0.85;
    transition: opacity 0.12s ease, transform 0.12s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 6;
}

.goldfish-scrollbar:hover {
    opacity: 1;
    transform: translateX(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.goldfish-scrollbar.is-hidden {
    display: none;
}

.goldfish-scrollbar.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.goldfish-scrollbar__thumb {
    position: absolute;
    left: 2px;
    width: calc(100% - 4px);
    min-height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gcb-accent, #22d3ee), rgba(255, 255, 255, 0.14));
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
    cursor: grab;
}

.goldfish-scrollbar__thumb:active {
    cursor: grabbing;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.goldfish-window__panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(360px, 90vw);
    background: rgba(12, 16, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 18px 18px;
}

.goldfish-window__titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    cursor: move;
}

.goldfish-window__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.25);
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.goldfish-window__dot--freeform {
    background: #cbd5e1;
}

.goldfish-window__dot-separator {
    width: 1px;
    height: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.14));
    display: inline-block;
    margin: 0 6px;
    opacity: 0.9;
    pointer-events: none;
}

.goldfish-menu__state-dot {
    margin-right: 8px;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
}

.goldfish-app-window__titlegroup {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.goldfish-app-window__title-icon {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
}

.goldfish-app-window__title-icon--glyph {
    display: grid;
    place-items: center;
    font-size: 13px;
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.goldfish-window__dot--close {
    background: #f87171;
}

.goldfish-window__dot--min {
    background: #fbbf24;
}

.goldfish-window__dot--max {
    background: #34d399;
}

.goldfish-window__dot--snap-left {
    background: #3b82f6;
}

.goldfish-window__dot--snap-right {
    background: #a855f7;
}

.goldfish-window__dot--desk-left {
    background: #ec4899;
}

.goldfish-window__dot--desk-right {
    background: #06b6d4;
}

.goldfish-window__title {
    color: #e5e7eb;
    font-size: 14px;
    margin-left: 8px;
}

.goldfish-window form {
    display: grid;
    gap: 12px;
}
