:root {
    --godot-bg: #0e0f11;
    --godot-ink: #efe6d2;
    --godot-muted: #a99c83;
    --godot-accent: #d8a64a;
    --godot-track: #2a2620;
}

html,
body.godot-game {
    margin: 0;
    height: 100%;
    overflow: hidden;
    background: var(--godot-bg);
    color: var(--godot-ink);
    font-family: Georgia, "Times New Roman", serif;
}

.godot-canvas {
    display: block;
    width: 100vw;
    height: 100vh;
    outline: none;
    touch-action: none;
}

.godot-loading {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: 0 16px;
    background: radial-gradient(ellipse at center, #1d1a15 0%, var(--godot-bg) 70%);
    text-align: center;
}

.godot-loading[hidden] {
    display: none;
}

.godot-loading-eyebrow {
    margin: 0;
    letter-spacing: 0.4em;
    font-size: 0.75rem;
    color: var(--godot-muted);
}

.godot-loading-title {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: normal;
}

.godot-progress {
    width: min(420px, 80vw);
    height: 6px;
    border-radius: 3px;
    background: var(--godot-track);
    overflow: hidden;
}

.godot-progress-fill {
    width: 0;
    height: 100%;
    background: var(--godot-accent);
    transition: width 0.2s ease-out;
}

.godot-loading-status {
    margin: 0;
    color: var(--godot-muted);
    font-size: 0.95rem;
}

.godot-loading-status.is-error {
    color: #e0806a;
}

.godot-back {
    color: var(--godot-muted);
    font-size: 0.85rem;
}


.godot-progress[hidden],
.godot-loading-status[hidden],
.godot-unsupported[hidden] {
    display: none;
}

.godot-unsupported {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 34rem;
}

.godot-unsupported-text {
    margin: 0;
    color: var(--godot-ink);
    font-size: 1.05rem;
    line-height: 1.5;
}

.godot-try {
    padding: 0.55rem 1.4rem;
    border: 1px solid var(--godot-accent);
    border-radius: 4px;
    background: transparent;
    color: var(--godot-accent);
    font: inherit;
    cursor: pointer;
}

.godot-try:hover,
.godot-try:focus-visible {
    background: var(--godot-accent);
    color: var(--godot-bg);
}
