:root {
    font-family:
        'Inter',
        'Segoe UI',
        -apple-system,
        BlinkMacSystemFont,
        system-ui,
        sans-serif;
    line-height: 1.6;
    font-weight: 400;

    color-scheme: dark;
    color: rgba(255, 255, 255, 0.85);
    background: linear-gradient(135deg, rgb(5, 8, 14) 0%, rgb(12, 17, 28) 100%);

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    min-height: 100%;

    /* Enhanced CSS custom properties */
    --primary-color: #334155;
    --primary-hover: #1e293b;
    --secondary-color: #475569;
    --accent-color: #64748b;
    --background-light: rgba(35, 43, 61, 0.4);
    --background-card: rgba(22, 28, 39, 0.9);
    --border-color: rgba(100, 116, 139, 0.15);
    --border-hover: rgba(100, 116, 139, 0.3);
    --text-muted: rgba(255, 255, 255, 0.6);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
}

html {
    min-height: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(5, 8, 14) 0%, rgb(12, 17, 28) 100%);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html::before {
    content: '';
    position: fixed;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgb(5, 8, 14) 0%, rgb(12, 17, 28) 100%);
    z-index: -10;
}

* {
    box-sizing: border-box;
}

a {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 4px;
    padding: 2px 4px;
}

a:hover {
    color: var(--primary-hover);
    background-color: rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

body {
    margin: 0;
    padding: 0;
    min-width: 320px;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    background: linear-gradient(135deg, rgb(8, 12, 20) 0%, rgb(15, 23, 35) 100%);
    background-attachment: fixed;
}

body::before {
    content: '';
    position: fixed;
    top: -10px;
    left: -10px;
    width: calc(100vw + 20px);
    height: calc(100vh + 20px);
    background:
        radial-gradient(circle at 30% 20%, rgba(79, 122, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(101, 90, 184, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(75, 92, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

h1 {
    font-size: 2.5em;
    line-height: 1.2;
    font-weight: 700;
    background: linear-gradient(135deg, #475569, #64748b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 1.8em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.8em;
}

h3 {
    font-size: 1.4em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.6em;
}

#app {
    margin: 0 auto;
    padding: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center;
    max-width: 1400px;
    width: 100%;
    min-height: calc(100vh - 2rem);
    background: var(--background-card);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

input {
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, 'Courier New', monospace;
    background-color: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85em;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
    margin: 0.25rem;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    background-color: rgba(55, 65, 81, 0.5);
}

input::placeholder {
    color: var(--text-muted);
}

/* Number inputs should be smaller */
input[type='number'] {
    width: 4rem;
    text-align: center;
}

/* Select elements */
select {
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, 'Courier New', monospace;
    background-color: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85em;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    background-color: rgba(55, 65, 81, 0.5);
}

textarea {
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, 'Courier New', monospace;
    background-color: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95em;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
    resize: vertical;
    min-height: 100px;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background-color: rgba(55, 65, 81, 0.5);
}

button {
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    background: rgba(55, 65, 81, 0.3);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

button:hover::before {
    left: 100%;
}

button:hover {
    border-color: rgba(51, 65, 85, 0.5);
    background: rgba(51, 65, 85, 0.1);
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(51, 65, 85, 0.2);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(51, 65, 85, 0.2);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

button:focus,
button:focus-visible {
    outline: 3px solid rgba(51, 65, 85, 0.5);
    outline-offset: 2px;
}

table,
td,
th {
    margin: 0.5rem;
    border: 1px solid var(--border-color);
    border-collapse: collapse;
    background-color: var(--background-light);
    backdrop-filter: blur(5px);
}

table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    width: 100%;
}

th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
}

td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

tr:nth-child(even) td {
    background-color: rgba(55, 65, 81, 0.3);
}

tr:hover td {
    background-color: rgba(59, 130, 246, 0.1);
    transition: background-color 0.2s ease;
}

:root {
    --json-tree-string-color: #ffd97f;
    --json-tree-symbol-color: #cccccc;
    --json-tree-boolean-color: #6384f3;
    --json-tree-internal-color: rgb(238, 238, 238);
    --json-tree-number-color: #dedede;
    --json-tree-label-color: #916c93;
    --json-tree-property-color: #e5e5e5;
    --json-tree-operator-color: #cb6666;
}

/* Utility Classes */
.card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    margin-left: 0.5rem;
}

/* Improved form styling */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--background-light);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    outline: none;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Alert styles */
.alert {
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border-radius: 8px;
    border-left: 4px solid;
    backdrop-filter: blur(5px);
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-left-color: #22c55e;
    color: #bbf7d0;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
    color: #fecaca;
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-left-color: #f59e0b;
    color: #fde68a;
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    border-left-color: var(--primary-color);
    color: #bfdbfe;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(55, 65, 81, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--accent-color));
}

/* Ultra-compact transaction display styles */
.ultra-compact .transaction-effects,
.ultra-compact .transaction-raw {
    margin: 0.1rem 0;
}

.ultra-compact .status-line,
.ultra-compact .info-line,
.ultra-compact .gas-compact,
.ultra-compact .ptb-compact {
    margin: 0.1rem 0;
    padding: 0.3rem;
    font-size: 0.65rem;
}

.ultra-compact .section-label {
    font-size: 0.7rem;
    margin-right: 0.25rem;
}

.ultra-compact .balance-item,
.ultra-compact .object-item {
    padding: 0.15rem 0.2rem;
    min-width: 70px;
}

.ultra-compact .inputs-compact,
.ultra-compact .commands-compact,
.ultra-compact .balance-changes-compact,
.ultra-compact .objects-compact,
.ultra-compact .events-compact {
    margin: 0.15rem 0;
    gap: 0.25rem;
}

.ultra-compact .inline-value,
.ultra-compact .input-compact,
.ultra-compact .command-compact,
.ultra-compact .event-item-compact {
    font-size: 0.6rem;
    padding: 1px 2px;
}

.ultra-compact .formatted-view {
    gap: 0.25rem;
}

/* Responsive design */
@media (max-width: 768px) {
    #app {
        margin: 0.5rem;
        padding: 1rem;
        border-radius: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    button {
        padding: 0.6em 1.2em;
        font-size: 0.9em;
    }

    .card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    #app {
        margin: 0.25rem;
        padding: 0.75rem;
        border-radius: 12px;
    }

    h1 {
        font-size: 1.75rem;
    }
}

    .options-container.svelte-v9ucm2 {
        display: inline-flex;
        gap: 1rem;
        align-items: center;
        margin-top: -1rem;
    }

    .option-group.svelte-v9ucm2 {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .option-label.svelte-v9ucm2 {
        font-weight: 500;
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .select-input.svelte-v9ucm2 {
        padding: 0.4rem 0.6rem;
        border: 1px solid rgba(156, 163, 175, 0.2);
        border-radius: 6px;
        background: rgba(55, 65, 81, 0.4);
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.8rem;
        font-weight: 400;
        cursor: pointer;
        transition: all 0.2s ease;
        backdrop-filter: blur(3px);
        min-width: 120px;
    }

    .select-input.svelte-v9ucm2:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
        background: rgba(55, 65, 81, 0.6);
    }

    .select-input.svelte-v9ucm2:hover {
        border-color: rgba(156, 163, 175, 0.3);
        background: rgba(55, 65, 81, 0.5);
    }

    .select-input.send-mode.svelte-v9ucm2 {
        background: rgba(177, 30, 30, 0.4);
        border-color: rgba(220, 38, 38, 0.3);
    }

    .select-input.send-mode.svelte-v9ucm2:focus {
        background: rgba(177, 30, 30, 0.4);
        border-color: #bc2121;
        box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
    }

    .select-input.send-mode.svelte-v9ucm2:hover {
        background: rgba(220, 38, 38, 0.5);
        border-color: rgba(220, 38, 38, 0.4);
    }

    .select-input.svelte-v9ucm2 option:where(.svelte-v9ucm2) {
        background: rgb(31, 41, 55);
        color: rgba(255, 255, 255, 0.9);
        padding: 0.3rem;
    }

    @media (max-width: 768px) {
        .options-container.svelte-v9ucm2 {
            flex-direction: column;
            gap: 0.5rem;
            padding: 0.5rem;
            align-items: stretch;
        }

        .option-group.svelte-v9ucm2 {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.25rem;
        }

        .select-input.svelte-v9ucm2 {
            width: 100%;
            min-width: unset;
        }
    }

    .signer-container.svelte-1kg0reg {
        background: rgba(31, 41, 55, 0.6);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(156, 163, 175, 0.15);
        border-radius: 8px;
        padding: 0.5rem 0.75rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
    }

    .signer-container.svelte-1kg0reg:hover {
        border-color: rgba(156, 163, 175, 0.25);
    }

    .signer-controls.svelte-1kg0reg {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .control-row.svelte-1kg0reg {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .control-group.svelte-1kg0reg {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .control-inline.svelte-1kg0reg {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .control-label.svelte-1kg0reg {
        font-weight: 500;
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.8rem;
        white-space: nowrap;
        min-width: fit-content;
    }

    .select-input.svelte-1kg0reg,
    .address-select.svelte-1kg0reg {
        padding: 0.4rem 0.6rem;
        border: 1px solid rgba(156, 163, 175, 0.2);
        border-radius: 6px;
        background: rgba(55, 65, 81, 0.4);
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.8rem;
        font-weight: 400;
        cursor: pointer;
        transition: all 0.2s ease;
        backdrop-filter: blur(3px);
    }

    .select-input.svelte-1kg0reg:focus,
    .address-select.svelte-1kg0reg:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
        background: rgba(55, 65, 81, 0.6);
    }

    .select-input.svelte-1kg0reg:hover,
    .address-select.svelte-1kg0reg:hover {
        border-color: rgba(156, 163, 175, 0.3);
        background: rgba(55, 65, 81, 0.5);
    }

    .select-input.svelte-1kg0reg option:where(.svelte-1kg0reg),
    .address-select.svelte-1kg0reg option:where(.svelte-1kg0reg) {
        background: rgb(31, 41, 55);
        color: rgba(255, 255, 255, 0.9);
        padding: 0.3rem;
        font-family: 'JetBrains Mono', 'Fira Code', Consolas, 'Courier New', monospace;
        font-size: 0.75rem;
    }

    .address-group.svelte-1kg0reg {
        display: flex;
        gap: 0.5rem;
        align-items: center;
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    .address-select.svelte-1kg0reg {
        flex: 1;
        font-family: 'JetBrains Mono', 'Fira Code', Consolas, 'Courier New', monospace;
        font-size: 0.75rem;
        min-width: 160px;
    }

    .connect-btn.svelte-1kg0reg,
    .copy-btn.svelte-1kg0reg {
        padding: 0.4rem 0.8rem;
        border: 1px solid transparent;
        border-radius: 6px;
        color: white;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 0.75rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        white-space: nowrap;
        background: rgba(55, 65, 81, 0.6);
        padding: 0.4rem 0.6rem;
        min-width: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .connect-btn.svelte-1kg0reg:hover,
    .copy-btn.svelte-1kg0reg:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(16, 185, 129, 0.2);
    }

    .copy-btn.svelte-1kg0reg:hover {
        box-shadow: 0 4px 8px rgba(99, 102, 241, 0.2);
    }

    .external-address-input.svelte-1kg0reg {
        width: 37rem;
        max-width: 100%;
        padding: 0.4rem 0.6rem;
        border: 1px solid rgba(156, 163, 175, 0.2);
        border-radius: 6px;
        background: rgba(55, 65, 81, 0.4);
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.8rem;
        font-weight: 400;
        transition: all 0.2s ease;
        backdrop-filter: blur(3px);
        font-family: 'JetBrains Mono', 'Fira Code', Consolas, 'Courier New', monospace;
    }

    .external-address-wrapper.svelte-1kg0reg {
        width: 100%;
    }
    .external-address-row.svelte-1kg0reg {
        display: flex;
        gap: 0.4rem;
        align-items: center;
        flex-wrap: wrap;
    }

    .alias-input.svelte-1kg0reg {
        padding: 0.35rem 0.5rem;
        border: 1px solid rgba(156, 163, 175, 0.2);
        border-radius: 6px;
        background: rgba(55, 65, 81, 0.4);
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.75rem;
        min-width: 12rem;
    }

    .remove-btn.svelte-1kg0reg {
        padding: 0.35rem 0.55rem;
        border: 1px solid rgba(156, 163, 175, 0.2);
        border-radius: 6px;
        background: rgba(55, 65, 81, 0.6);
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.7rem;
        cursor: pointer;
        transition: all 0.15s ease;
        display: flex;
        align-items: center;
        line-height: 1;
    }

    .remove-btn.svelte-1kg0reg:hover {
        background: rgba(239, 68, 68, 0.2);
        border-color: rgba(239, 68, 68, 0.4);
    }

    .add-update-btn.svelte-1kg0reg {
        padding: 0.35rem 0.55rem;
        border: 1px solid rgba(156, 163, 175, 0.2);
        border-radius: 6px;
        background: rgba(55, 65, 81, 0.6);
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.7rem;
        cursor: pointer;
        transition: all 0.15s ease;
        display: flex;
        align-items: center;
        line-height: 1;
    }
    .add-update-btn.svelte-1kg0reg:hover:not([disabled]) {
        background: rgba(16, 185, 129, 0.25);
        border-color: rgba(16, 185, 129, 0.45);
    }
    .add-update-btn[disabled].svelte-1kg0reg {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .external-address-input.svelte-1kg0reg:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
        background: rgba(55, 65, 81, 0.6);
    }

    .external-address-input.svelte-1kg0reg:hover {
        border-color: rgba(156, 163, 175, 0.3);
        background: rgba(55, 65, 81, 0.5);
    }

    .invalid-address.svelte-1kg0reg {
        border-color: #ef4444 !important;
        background: rgba(239, 68, 68, 0.1) !important;
    }

    .invalid-address.svelte-1kg0reg:focus {
        border-color: #ef4444 !important;
        box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15) !important;
    }

    @media (max-width: 768px) {
        .control-row.svelte-1kg0reg {
            flex-direction: column;
            gap: 0.5rem;
            align-items: stretch;
        }

        .control-inline.svelte-1kg0reg {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.25rem;
        }

        .control-group.svelte-1kg0reg {
            width: 100%;
        }

        .address-group.svelte-1kg0reg {
            flex-direction: row;
            width: 100%;
        }

        .address-select.svelte-1kg0reg {
            min-width: 10rem;
            flex: 1;
        }

        .copy-btn.svelte-1kg0reg {
            min-width: auto;
            padding: 0.4rem 0.8rem;
        }
    }

    .tab-groups-row.svelte-1s9ulo2 {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        margin-bottom: 0.2rem;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
    }
    .tab-group.svelte-1s9ulo2 {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
        flex: 1 1 0;
        min-width: 0;
        border: 1px solid rgba(156, 163, 175, 0.1);
    }
    .group-label.svelte-1s9ulo2 {
        font-weight: 500;
        font-size: 0.75rem;
        color: #8fa1c7;
        margin-bottom: 0.05rem;
        margin-left: 0.3rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        white-space: nowrap;
    }
    .tab-buttons-row.svelte-1s9ulo2 {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.1rem;
        width: 100%;
    }

    .pageBox.svelte-1s9ulo2 {
        padding: 2rem;
        background: rgba(24, 29, 37, 0.8);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(156, 163, 175, 0.2);
        border-radius: 16px16px 16px 16px;
        box-shadow:
            0 4px 6px -1px rgba(0, 0, 0, 0.2),
            0 2px 4px -1px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .pageBox.svelte-1s9ulo2:hover {
        border-color: rgba(156, 163, 175, 0.4);
        box-shadow:
            0 10px 15px -3px rgba(0, 0, 0, 0.3),
            0 4px 6px -2px rgba(0, 0, 0, 0.1);
    }

    button.svelte-1s9ulo2 {
        border: 1px solid rgba(156, 163, 175, 0.1);
        border-radius: 12px;
        display: block;
        padding: 0.5rem 0.7rem;
        cursor: pointer;
        font-weight: 500;
        font-size: 0.9rem;
        background: rgba(18, 23, 31, 0.8);
        color: rgba(255, 255, 255, 0.8);
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
        position: relative;
        overflow: hidden;
        word-break: break-word;
    }
    button.active.svelte-1s9ulo2 {
        background: linear-gradient(135deg, #171a2f 75%, rgb(57, 73, 115));
        border-color: rgba(255, 255, 255, 0.2);
        color: white;
        box-shadow: 0 4px 12px rgba(58, 40, 88, 0.4);
    }
    button.svelte-1s9ulo2:hover {
        border-color: rgba(59, 130, 246, 0.5);
        background: rgba(59, 130, 246, 0.1);
        color: rgba(255, 255, 255, 0.95);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    }

    /* Mobile responsiveness */
    @media (max-width: 768px) {
        button.svelte-1s9ulo2 {
            padding: 0.5rem 0.75rem;
            font-size: 0.85rem;
        }
    }

    @media (max-width: 480px) {
        button.svelte-1s9ulo2 {
            padding: 0.4rem 0.6rem;
            font-size: 0.8rem;
        }
    }

    main.svelte-1j87mpa {
        min-height: 92vh;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .app-header.svelte-1j87mpa {
        margin-bottom: 0.5rem;
    }

    .header-row.svelte-1j87mpa {
        display: flex;
    }

    .warning-banner.svelte-1j87mpa {
        color: rgba(255, 255, 255, 0.7);
        font-weight: 400;
        font-size: 0.85rem;
        flex: 1;
        text-align: left;
    }

    .app-content.svelte-1j87mpa {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .app-footer.svelte-1j87mpa {
        margin-top: 2rem;
        padding-top: 2rem;
    }

    .footer-content.svelte-1j87mpa {
        text-align: center;
    }

    .github-link.svelte-1j87mpa {
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1.5rem;
        background: rgba(55, 65, 81, 0.3);
        border: 1px solid rgba(156, 163, 175, 0.2);
        border-radius: 50px;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
    }

    .github-link.svelte-1j87mpa:hover {
        background: rgba(59, 130, 246, 0.1);
        border-color: rgba(59, 130, 246, 0.3);
        color: rgba(255, 255, 255, 0.95);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
    }

    @media (max-width: 768px) {
        .header-row.svelte-1j87mpa {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }

        .warning-banner.svelte-1j87mpa {
            font-size: 0.8rem;
        }

        .github-link.svelte-1j87mpa {
            padding: 0.6rem 1.2rem;
            font-size: 0.9rem;
        }
    }
