html, body, #root {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    background: #eeeee6;
    color: #183a30;
}
#root {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    background: #f7f5ee;
    isolation: isolate;
    overflow: hidden;
}
.ios-sim-toolbar { display: none; }
:focus-visible { outline-color: #36735b; outline-offset: 2px; }
@media (min-width: 600px) {
    body.ios-sim-mode { display: grid; place-items: center; }
    body.ios-sim-mode #root {
        max-width: 480px;
        height: min(940px, calc(100% - 26px));
        border-radius: 25px;
        box-shadow: 0 0 0 5px #173b30, 0 16px 42px #14291a28;
    }
    .ios-sim-mode .ios-sim-toolbar { display: block; position: fixed; top: 12px; right: 12px; z-index: 1000; }
    .ios-sim-toolbar button {
        border: 1px solid #c9cbbb;
        background: #fff;
        border-radius: 20px;
        padding: 6px 12px;
        color: #123f35;
        cursor: pointer;
    }
}
@media (min-width: 1201px) {
    #root { box-shadow: -1px 0 #deded1, 1px 0 #deded1; }
}
