body {
    font-family: 'Roboto', 'Rubisco Color Emoji';
    font-feature-settings: 'cv22', 'cv24' !important;
    margin: 0;
    height: 100vh;
    background-color: #10151d;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: #0d121a;
}

header img {
    height: 32px;
    margin-right: 0.75rem;
}

header h1 {
    font-family: 'Roboto', sans-serif;
    font-feature-settings: 'cv22', 'cv24' !important;
    font-weight: 400;
    color: #8b98a9;
    font-size: 1.25rem;
    margin: 0;
}

header h1:hover {
    color: #d9dfe7;
}

.header-left {
    display: flex;
    align-items: center;
}

button {
    font-family: 'Roboto', 'Rubisco Color Emoji', system-ui, Arial, Helvetica, sans-serif;
    font-feature-settings: 'cv22', 'cv24' !important;
}

nav button {
    margin-left: 0.5rem;
    background-color: #1c2532;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: #8b98a9;
    font-family: 'Roboto', sans-serif;
    font-feature-settings: 'cv22', 'cv24' !important;
    cursor: pointer;
    transition: background-color 0.3s;
}

nav button:hover {
    background-color: #2a3547;
}

.editor {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.editor > playground-ide {
    flex: 1;
}

playground-configurator {
    height: 100% !important;
}

* {
    --playground-code-font-family: 'Rubisco Sans Code', monospace;
    --playground-code-background: #171f2b;
    --playground-code-default-color: #85cdf1;
    --playground-code-atom-color: #92a9ff;
    --playground-code-keyword-color: #fd8da3;
    --playground-code-number-color: #92a9ff;
    --playground-code-def-color: #d9dfe7;
    --playground-code-variable-color: #bd9cfe;
    --playground-code-property-color: #bd9cfe;
    --playground-code-operator-color: #fd8da3;
    --playground-code-variable-2-color: #92a9ff;
    --playground-code-variable-3-color: #92a9ff;
    --playground-code-type-color: #92a9ff;
    --playground-code-comment-color: #7f8d95;
    --playground-code-string-color: #92a9ff;
    --playground-code-string-2-color: #77d5a3;
    --playground-code-meta-color: #77d5a3;
    --playground-code-qualifier-color: #000000;
    --playground-code-builtin-color: #92a9ff;
    --playground-code-tag-color: #77d5a3;
    --playground-code-attribute-color: #bd9cfe;
    --playground-code-callee-color: #bd9cfe;
    --playground-highlight-color: #a87ffb;
    --playground-tab-bar-background: #10151d;
    --playground-tab-bar-foreground-color: #d9dfe7;
    --playground-preview-toolbar-background: #10151d;
    --playground-preview-toolbar-foreground-color: #a4afbd;
    --playground-border: 1px solid #333e4f;
    --playground-code-selection-background: #1e367b;
    --playground-code-cursor-color: #e0ccff;
    --playground-code-linenumber-color: #475365;
}

playground-ide::part(preview-toolbar) {
    font-family: 'Roboto' !important;
    font-feature-settings: 'cv22', 'cv24' !important;
}

chat-bubble::part(chatbubble-launcher) {
    font-family: 'Rubisco Color Emoji' !important;
}