/* The canvas fills the window (Compose for web adds no CSS of its own). Colors: Theme.kt's tableBg / ink, as the
   defaults of --zpy-bg / --zpy-title / --zpy-tagline / --zpy-card, which the app sets (index.html: zpyPageColors) to
   the theme it shows, so a day theme or the server's doesn't flash the night one. */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--zpy-bg, #0F1A21);
    color: var(--zpy-title, #E9EFF2);
    font-family: system-ui, -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    /* No text selection or long-press menus on the table; the canvas is the UI. */
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    overscroll-behavior: none;
}
#app {
    width: 100%;
    height: 100%;
}
#app canvas {
    outline: none;
    touch-action: none;
}
/* 启动页 (index.html): the same places as Compose's SplashScreen.kt. */
#loading {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: var(--zpy-bg, #0F1A21);
}
#loading .suit {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 70px;
    margin: -35px 0 0 -28px;
    overflow: visible;
    opacity: 0;
}
#loading .suit rect {
    fill: var(--zpy-card, #FFFFFF);
}
#loading .title {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(calc(40px - 50%));
    text-align: center;
}
#loading .name {
    font-size: 44px;
    line-height: 48px;
    font-weight: 700;
    color: var(--zpy-title, #E9EFF2);
}
#loading .tagline {
    margin-top: 6px;
    font-size: 15px;
    color: var(--zpy-tagline, #9DB0BB);
}
#loading .preparing {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 48px;
    text-align: center;
    font-size: 13px;
    color: var(--zpy-tagline, #9DB0BB);
}
#loading .hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 80px;
    text-align: center;
    color: #E0566B;
}
