﻿/* Reset and container styles */
html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    touch-action: manipulation;
}

/* 防止iOS在输入框聚焦时自动缩放 */
input, textarea, select {
    font-size: 16px;
}

/* 禁用移动端长按放大镜/文本选择 */
* {
    -webkit-touch-callout: none; /* iOS Safari - 禁用长按弹出菜单 */
    -webkit-user-select: none;   /* Chrome, Safari, Opera */
    -khtml-user-select: none;    /* Konqueror HTML */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* 标准语法 */
    -webkit-tap-highlight-color: transparent; /* Chrome/Android - 禁用点击高亮 */
}

#out {
    width: 100%;
    height: 100%;
    position: relative;
}

/* HTML styles for the splash screen */
.avalonia-splash {
    position: absolute;
    height: 100%;
    width: 100%;
    background: #1a1a2e;
    font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
    justify-content: center;
    align-items: center;
    display: flex;
    pointer-events: none;
}

.splash-content {
    text-align: center;
}

.splash-logo {
    max-width: 200px;
    max-height: 200px;
    margin-bottom: 20px;
}

.avalonia-splash h2 {
    font-weight: 400;
    font-size: 1.2rem;
    color: #ffffff;
    margin-top: 10px;
}

.avalonia-splash.splash-close {
    transition: opacity 200ms, display 200ms;
    display: none;
    opacity: 0;
}
