:root {
    --bg: #080b14;
    --bg-secondary: #0d1220;
    --surface: #111827;
    --surface-2: #151c2c;
    --surface-3: #1b2435;

    --border: #263149;

    --text: #f4f7fb;
    --text-secondary: #9aa6bb;
    --text-muted: #66738a;

    --primary: #6d5dfc;
    --primary-hover: #7d6fff;

    --success: #35d39a;
    --danger: #ff5f6d;
    --warning: #f5c451;

    --radius: 14px;
    --header-height: 72px;

    --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-width: 320px;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(109, 93, 252, 0.12),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}

button,
select,
textarea,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

a {
    color: inherit;
    text-decoration: none;
}

textarea {
    display: block;
}

::selection {
    background: rgba(109, 93, 252, 0.35);
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: var(--header-height);

    background: rgba(8, 11, 20, 0.88);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.06);
}

.header-inner {
    width: min(1400px, calc(100% - 40px));

    height: 100%;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;

    gap: 11px;

    flex-shrink: 0;
}

.brand-logo-image {
    width: 42px;
    height: 42px;

    display: block;

    object-fit: contain;

    border-radius: 10px;

    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.1;
}

.brand-name {
    font-size: 16px;
    font-weight: 800;
}

.brand-subtitle {
    color: var(--text-muted);

    font-size: 11px;

    margin-top: 3px;
}

.desktop-nav {
    display: flex;

    gap: 34px;

    margin-left: 80px;

    margin-right: auto;
}

.nav-link {
    color: var(--text-secondary);

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;

    gap: 8px;
}

.icon-button {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border:
        1px solid
        var(--border);

    border-radius: 10px;

    background: var(--surface);

    color: var(--text);

    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
}

.icon-button:hover {
    border-color: var(--primary);

    background: var(--surface-2);

    transform: translateY(-1px);
}

/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 550px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        90px 20px 70px;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(109, 93, 252, 0.14),
            transparent 45%
        );
}

.hero-content {
    width: min(850px, 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding:
        7px 13px;

    border:
        1px solid
        rgba(109, 93, 252, 0.3);

    border-radius: 999px;

    background:
        rgba(109, 93, 252, 0.08);

    color: #bcb5ff;

    font-size: 12px;
    font-weight: 600;

    margin-bottom: 25px;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--success);

    box-shadow:
        0 0 12px
        rgba(53, 211, 154, 0.7);
}

.hero h1 {
    max-width: 800px;

    margin: auto;

    font-size:
        clamp(
            42px,
            7vw,
            78px
        );

    line-height: 1.02;

    letter-spacing: -3px;

    font-weight: 800;
}

.hero h1 span {
    background:
        linear-gradient(
            90deg,
            #8c7fff,
            #b5adff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero p {
    max-width: 650px;

    margin:
        25px auto 0;

    color: var(--text-secondary);

    font-size: 16px;
}

.hero-buttons {
    margin-top: 32px;

    display: flex;

    justify-content: center;

    gap: 12px;
}

.primary-button,
.secondary-button {
    min-height: 46px;

    padding:
        0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.primary-button {
    background: var(--primary);

    box-shadow:
        0 10px 30px
        rgba(109, 93, 252, 0.28);
}

.primary-button:hover {
    background: var(--primary-hover);

    transform: translateY(-2px);
}

.secondary-button {
    border:
        1px solid
        var(--border);

    background: var(--surface);
}

.secondary-button:hover {
    border-color: var(--primary);

    transform: translateY(-1px);
}

/* =========================================================
   GENERAL SECTIONS
========================================================= */

.practice-section,
.languages-section,
.features-section,
.about-section {
    width: min(1400px, calc(100% - 40px));

    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    margin-bottom: 20px;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
}

.section-heading.centered {
    display: block;

    text-align: center;
}

.section-label {
    color: #9188ff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.section-heading h2 {
    margin-top: 6px;

    font-size: 30px;

    line-height: 1.2;

    letter-spacing: -1px;
}

.section-heading p {
    margin-top: 10px;

    color: var(--text-secondary);

    font-size: 14px;
}

.editor-status {
    color: var(--success);

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}

/* =========================================================
   WORKSPACE
========================================================= */

.workspace {
    width: 100%;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: var(--radius);

    background: var(--surface);

    box-shadow: var(--shadow);
}

.workspace-toolbar {
    min-height: 66px;

    padding:
        10px 14px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    border-bottom:
        1px solid
        var(--border);

    background: var(--surface-2);
}

.toolbar-left,
.toolbar-right {
    display: flex;

    align-items: center;

    gap: 10px;
}

.language-label {
    color: var(--text-muted);

    font-size: 12px;
    font-weight: 600;
}

.select-wrapper {
    position: relative;
}

.language-select {
    min-width: 130px;

    height: 40px;

    padding:
        0 34px 0 12px;

    border:
        1px solid
        var(--border);

    border-radius: 9px;

    background: var(--surface-3);

    color: var(--text);

    outline: none;

    cursor: pointer;
}

.language-select:hover {
    border-color: #45516a;
}

.language-select:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(109, 93, 252, 0.12);
}

.toolbar-button,
.small-button {
    height: 36px;

    padding:
        0 12px;

    border:
        1px solid
        var(--border);

    border-radius: 8px;

    background: transparent;

    color: var(--text-secondary);

    font-size: 12px;
    font-weight: 600;

    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.toolbar-button:hover,
.small-button:hover {
    border-color: #45516a;

    background: rgba(255, 255, 255, 0.03);

    color: var(--text);
}

.run-button {
    height: 40px;

    padding:
        0 17px;

    border: 0;

    border-radius: 9px;

    background: var(--primary);

    color: white;

    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 8px 20px
        rgba(109, 93, 252, 0.22);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.run-button:hover:not(:disabled) {
    background: var(--primary-hover);

    transform: translateY(-1px);
}

.run-button:disabled {
    opacity: 0.65;

    cursor: wait;

    transform: none;
}

.run-icon {
    display: inline-block;

    margin-right: 6px;
}

/* =========================================================
   EDITOR GRID
========================================================= */

.editor-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(0, 1fr);

    height: 540px;

    min-height: 0;
}

.panel {
    min-width: 0;
    min-height: 0;

    background: #0a0e18;
}

.code-panel {
    min-height: 0;

    display: flex;
    flex-direction: column;

    border-right:
        1px solid
        var(--border);
}

.output-panel {
    min-height: 0;

    display: flex;
    flex-direction: column;
}

.panel-header {
    height: 48px;

    min-height: 48px;

    padding:
        0 14px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.05);

    background: #101625;
}

.panel-title {
    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--text);

    font-size: 12px;
    font-weight: 700;
}

.panel-icon {
    color: #8e84ff;

    font-family: monospace;

    font-size: 13px;
}

.output-icon {
    font-size: 17px;
}

.panel-actions {
    display: flex;

    gap: 6px;
}

.small-button {
    height: 30px;

    padding:
        0 9px;

    font-size: 11px;
}

/* =========================================================
   CODE EDITOR
========================================================= */

.editor-container {
    position: relative;

    flex: 1;

    min-height: 0;

    display: flex;

    overflow: hidden;
}

.line-numbers {
    width: 52px;

    height: 100%;

    flex-shrink: 0;

    padding:
        18px 10px;

    overflow: hidden;

    border-right:
        1px solid
        rgba(255, 255, 255, 0.04);

    background: #080c15;

    color: #4e5a70;

    font-family:
        "Consolas",
        "Courier New",
        monospace;

    font-size: 13px;

    line-height: 1.65;

    text-align: right;

    user-select: none;

    white-space: nowrap;
}

#codeEditor {
    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    padding:
        18px;

    border: 0;

    outline: none;

    resize: none;

    background: #080c15;

    color: #dce5f5;

    font-family:
        "Consolas",
        "Courier New",
        monospace;

    font-size: 14px;

    line-height: 1.65;

    tab-size: 4;

    -moz-tab-size: 4;

    white-space: pre;

    overflow-x: auto;
    overflow-y: auto;

    overscroll-behavior: contain;

    caret-color: #ffffff;
}

#codeEditor::selection {
    background:
        rgba(109, 93, 252, 0.3);
}

/* =========================================================
   OUTPUT
========================================================= */

.output-container {
    flex: 1;

    min-height: 0;

    padding: 18px;

    overflow-x: auto;
    overflow-y: auto;

    overscroll-behavior: contain;
}

.output-empty {
    min-height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    text-align: center;

    color: var(--text-muted);
}

.empty-icon {
    width: 45px;
    height: 45px;

    display: grid;

    place-items: center;

    margin-bottom: 15px;

    border-radius: 50%;

    background:
        rgba(109, 93, 252, 0.1);

    color: #9188ff;
}

.output-empty h3 {
    color: var(--text-secondary);

    font-size: 14px;
}

.output-empty p {
    margin-top: 5px;

    font-size: 12px;
}

.output-content {
    margin: 0;

    color: #dce5f5;

    font-family:
        "Consolas",
        "Courier New",
        monospace;

    font-size: 13px;

    line-height: 1.7;

    white-space: pre-wrap;

    overflow-wrap: anywhere;

    word-break: break-word;
}

.output-success {
    color: var(--success);
}

.output-error {
    color: var(--danger);
}

/* =========================================================
   INPUT
========================================================= */

.input-panel {
    padding: 18px;

    border-top:
        1px solid
        var(--border);

    background: var(--surface-2);
}

.input-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 10px;
}

.input-header p {
    margin-top: 3px;

    color: var(--text-muted);

    font-size: 11px;
}

.optional-badge {
    padding:
        4px 8px;

    border-radius: 5px;

    background: var(--surface-3);

    color: var(--text-muted);

    font-size: 10px;

    white-space: nowrap;
}

.input-editor {
    width: 100%;

    min-height: 90px;
    max-height: 260px;

    padding: 12px;

    border:
        1px solid
        var(--border);

    border-radius: 9px;

    outline: none;

    resize: vertical;

    background: #090d17;

    color: var(--text);

    font-family:
        "Consolas",
        "Courier New",
        monospace;

    font-size: 13px;

    line-height: 1.6;

    white-space: pre;

    overflow-x: auto;
    overflow-y: auto;
}

.input-editor::placeholder {
    color: #59657b;

    opacity: 1;
}

.input-editor:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(109, 93, 252, 0.1);
}

/* =========================================================
   EXECUTION INFO
========================================================= */

.execution-info {
    min-height: 55px;

    padding:
        0 18px;

    display: flex;

    align-items: center;

    gap: 35px;

    border-top:
        1px solid
        var(--border);

    background: #0d1220;
}

.execution-item {
    display: flex;

    align-items: center;

    gap: 8px;
}

.info-label {
    color: var(--text-muted);

    font-size: 11px;
}

.info-value {
    color: var(--text-secondary);

    font-size: 11px;
    font-weight: 700;
}

.status-ready {
    color: var(--text-secondary);
}

.status-success {
    color: var(--success);
}

.status-error {
    color: var(--danger);
}

/* =========================================================
   LANGUAGES
========================================================= */

.languages-section {
    padding:
        120px 0 80px;
}

.language-grid {
    margin-top: 35px;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 14px;
}

.language-card {
    min-height: 120px;

    padding: 18px;

    display: flex;

    align-items: center;

    gap: 14px;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    background: var(--surface);

    color: var(--text);

    text-align: left;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.language-card:hover {
    border-color: var(--primary);

    transform: translateY(-3px);

    box-shadow:
        0 15px 30px
        rgba(0, 0, 0, 0.18);
}

.language-card:focus-visible {
    outline: 2px solid var(--primary);

    outline-offset: 2px;
}

.language-symbol {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background:
        rgba(109, 93, 252, 0.12);

    color: #aaa2ff;

    font-size: 11px;
    font-weight: 800;
}

.language-card h3 {
    font-size: 14px;
}

.language-card p {
    margin-top: 3px;

    color: var(--text-muted);

    font-size: 10px;
}

/* =========================================================
   FEATURES
========================================================= */

.features-section {
    padding:
        20px 0 100px;
}

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}

.feature-card {
    padding: 28px;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            var(--surface),
            var(--surface-2)
        );
}

.feature-number {
    color: #8076ff;

    font-family: monospace;

    font-size: 12px;
    font-weight: 800;
}

.feature-card h3 {
    margin-top: 15px;

    font-size: 20px;
}

.feature-card p {
    margin-top: 7px;

    color: var(--text-secondary);

    font-size: 13px;
}

/* =========================================================
   ABOUT
========================================================= */

.about-section {
    padding:
        30px 0 120px;
}

.about-content {
    max-width: 750px;

    margin: auto;

    text-align: center;
}

.about-content h2 {
    margin-top: 10px;

    font-size:
        clamp(
            28px,
            4vw,
            42px
        );

    line-height: 1.15;

    letter-spacing: -1px;
}

.about-content p {
    margin-top: 18px;

    color: var(--text-secondary);

    font-size: 14px;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    border-top:
        1px solid
        var(--border);

    background: #060810;
}

.footer-inner {
    width: min(1400px, calc(100% - 40px));

    min-height: 90px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-brand {
    display: flex;

    flex-direction: column;
}

.footer-brand strong {
    font-size: 13px;
}

.footer-brand span,
.footer-inner p {
    color: var(--text-muted);

    font-size: 11px;
}

/* =========================================================
   TOAST
========================================================= */

.toast {
    position: fixed;

    left: 50%;
    bottom: 25px;

    z-index: 2000;

    transform:
        translate(-50%, 120px);

    max-width:
        min(
            500px,
            calc(100% - 30px)
        );

    padding:
        10px 16px;

    border:
        1px solid
        var(--border);

    border-radius: 9px;

    background: #151c2b;

    color: var(--text);

    font-size: 12px;
    font-weight: 600;

    box-shadow: var(--shadow);

    opacity: 0;

    pointer-events: none;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.toast.show {
    transform:
        translate(-50%, 0);

    opacity: 1;
}

/* =========================================================
   FULLSCREEN EDITOR
========================================================= */

/*
   Important:
   Your JavaScript uses:

   editorContainer.requestFullscreen()

   Therefore this selector controls the actual fullscreen
   editor panel.
*/

.code-panel:fullscreen {
    width: 100vw;
    height: 100vh;

    min-width: 100vw;
    min-height: 100vh;

    margin: 0;

    border: 0;

    border-radius: 0;

    background: #080c15;
}

.code-panel:fullscreen .panel-header {
    height: 56px;
    min-height: 56px;
}

.code-panel:fullscreen .editor-container {
    height: calc(100vh - 56px);

    flex: none;
}

.code-panel:fullscreen #codeEditor {
    height: 100%;
}

.code-panel:fullscreen .line-numbers {
    height: 100%;
}

/* Firefox */
.code-panel:-moz-full-screen {
    width: 100vw;
    height: 100vh;

    margin: 0;

    border: 0;

    border-radius: 0;
}

.code-panel:-moz-full-screen .editor-container {
    height: calc(100vh - 56px);
}

/*
   Prevent accidental browser styling differences.
*/
::backdrop {
    background: #080c15;
}

/* =========================================================
   LIGHT MODE
========================================================= */

body.light {
    --bg: #f4f6fb;
    --bg-secondary: #ffffff;

    --surface: #ffffff;
    --surface-2: #f8f9fc;
    --surface-3: #eef1f7;

    --border: #dce1eb;

    --text: #101522;
    --text-secondary: #586174;
    --text-muted: #8992a3;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(109, 93, 252, 0.08),
            transparent 30%
        ),
        var(--bg);
}

body.light .site-header {
    background:
        rgba(244, 246, 251, 0.9);

    border-bottom-color:
        rgba(0, 0, 0, 0.06);
}

body.light .panel,
body.light #codeEditor,
body.light .line-numbers,
body.light .output-container {
    background: #f8f9fc;
}

body.light .panel-header {
    background: #ffffff;
}

body.light .line-numbers {
    border-right-color: #e3e7ef;

    color: #8b95a7;
}

body.light #codeEditor {
    color: #1c2433;

    caret-color: #1c2433;
}

body.light .input-editor {
    background: #ffffff;

    color: #1c2433;
}

body.light .execution-info {
    background: #f8f9fc;
}

body.light .site-footer {
    background: #eef1f7;
}

body.light .toast {
    background: #ffffff;

    color: #101522;
}

body.light .code-panel:fullscreen {
    background: #f8f9fc;
}

body.light .code-panel:fullscreen #codeEditor,
body.light .code-panel:fullscreen .line-numbers {
    background: #f8f9fc;
}

body.light ::backdrop {
    background: #f8f9fc;
}

/* =========================================================
   SCROLLBARS
========================================================= */

#codeEditor::-webkit-scrollbar,
.output-container::-webkit-scrollbar,
.input-editor::-webkit-scrollbar,
.line-numbers::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

#codeEditor::-webkit-scrollbar-track,
.output-container::-webkit-scrollbar-track,
.input-editor::-webkit-scrollbar-track {
    background: transparent;
}

#codeEditor::-webkit-scrollbar-thumb,
.output-container::-webkit-scrollbar-thumb,
.input-editor::-webkit-scrollbar-thumb {
    background: #29344a;

    border-radius: 20px;
}

#codeEditor::-webkit-scrollbar-thumb:hover,
.output-container::-webkit-scrollbar-thumb:hover,
.input-editor::-webkit-scrollbar-thumb:hover {
    background: #3b4862;
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1100px) {

    .desktop-nav {
        margin-left: 40px;
    }

    .language-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}

/* =========================================================
   RESPONSIVE - SMALL TABLET
========================================================= */

@media (max-width: 850px) {

    .desktop-nav {
        display: none;
    }

    .editor-grid {
        grid-template-columns: 1fr;

        height: auto;
    }

    .code-panel {
        height: 540px;

        border-right: 0;

        border-bottom:
            1px solid
            var(--border);
    }

    .output-panel {
        height: 380px;
    }

    .language-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 600px) {

    :root {
        --header-height: 62px;
    }

    .header-inner,
    .practice-section,
    .languages-section,
    .features-section,
    .about-section,
    .footer-inner {
        width:
            calc(100% - 24px);
    }

    .brand-logo-image {
        width: 36px;
        height: 36px;
    }

    .brand-name {
        font-size: 15px;
    }

    .hero {
        min-height: 500px;

        padding:
            65px 15px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }

    .editor-status {
        white-space: normal;
    }

    .workspace-toolbar {
        align-items: stretch;

        flex-direction: column;

        padding: 10px;
    }

    .toolbar-left,
    .toolbar-right {
        width: 100%;
    }

    .toolbar-right {
        display: grid;

        grid-template-columns:
            1fr 1fr 1.4fr;
    }

    .toolbar-button,
    .run-button {
        width: 100%;
    }

    .language-select {
        width: 100%;
    }

    .toolbar-left {
        flex-direction: column;

        align-items: stretch;
    }

    .language-label {
        display: none;
    }

    .code-panel {
        height: 480px;

        min-height: 480px;
    }

    .output-panel {
        height: 330px;

        min-height: 330px;
    }

    .panel-header {
        padding:
            0 10px;
    }

    .editor-container {
        height: auto;

        min-height: 0;
    }

    #codeEditor {
        padding:
            14px 12px;

        font-size: 12px;

        line-height: 1.65;
    }

    .line-numbers {
        width: 40px;

        padding:
            14px 7px;

        font-size: 12px;

        line-height: 1.65;
    }

    .output-container {
        padding: 14px;
    }

    .input-panel {
        padding: 14px;
    }

    .input-editor {
        min-height: 100px;
    }

    .execution-info {
        min-height: auto;

        padding:
            14px;

        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 12px;
    }

    .execution-item {
        min-width: 0;
    }

    .language-grid {
        grid-template-columns: 1fr;
    }

    .languages-section {
        padding-top: 80px;
    }

    .features-section {
        padding-bottom: 70px;
    }

    .footer-inner {
        padding:
            22px 0;

        align-items: flex-start;

        flex-direction: column;
    }

}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .toolbar-right {
        grid-template-columns:
            1fr 1fr;
    }

    .run-button {
        grid-column:
            1 / -1;
    }

    .panel-actions {
        gap: 3px;
    }

    .small-button {
        padding:
            0 7px;

        font-size: 10px;
    }

}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}