* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
ul {
    padding-left: 20px;
}
a {
    text-decoration: none;
}

body {
    color: #222;
    text-align: center;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    background: no-repeat center/cover #222 url('img/background/no-5.png');
    height: 100vh;
    width: 100vw;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: start;
    text-align: left;
    padding: 10px;
    width: 100vw;
}
.header-sound {
    display: flex;
    align-items: center;
    gap: 5px;
    position: fixed;
    top: 80px;
    left: 0;
    background: rgba(34, 34, 34,0.9);
    color: #f2f2f2;
    padding: 2px 14px;
    border-radius: 0 14px 14px 0;
}
.header-menu {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    gap: 30px;
}

main {
    padding: 10px;
}

.main-character {
    position: fixed;
    bottom: 0;
    left: calc(50vw - min(36vh, 36vw));
    height: min(96vh, 96vw);
    width: min(72vh, 72vw);
}

.dialog {
    background: rgba(242, 242, 242,0.95);
    color: #222;
    border: none;
    border-radius: 10px;
    padding: 5px;
    margin: auto;
    overflow: hidden;
}
.dialog::backdrop {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    -o-backdrop-filter: blur(10px);
    -ms-backdrop-filter: blur(10px);
}
.dialog-head {
    text-align: left;
}
.dialog-body {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    padding: 5px;
    background: rgba(222, 222, 222,0.95);
    overflow: hidden;
    max-height: 70vh;
}
.dialog-title {
    text-align: center;
}
.dialog-description {
    text-align: center;
}
.dialog-description-limited {
    display: none;
}
.dialog-content {
    flex: 1;
    overflow-x: hidden;
    overflow-y: scroll;
}
.dialog-content-x {
    overflow-x: scroll;
}
.dialog[data-type="crew"] .dialog-description-limited[data-type="crew"] {
    display: inline-block;
}
.dialog[data-type="streamer"] .dialog-description-limited[data-type="streamer"] {
    display: inline-block;
}
.dialog[data-type="fanclub"] .dialog-description-limited[data-type="fanclub"] {
    display: inline-block;
}
.dialog[data-type="fanclub&streamer"] .dialog-description-limited[data-type="fanclub&streamer"] {
    display: inline-block;
}
.dialog-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}
.dialog-button {
    display: flex;
    align-items: center;
    border: solid 2px #aaa;
    background: #fff;
    color: #222;
    border-radius: 7px;
    padding: 5px;
    font-size: 16px;
}
.dialog-button-submit {
    border: none;
    background: rgba(0,100,255,0.9);
    color: #f2f2f2;
    border-radius: 7px;
    padding: 7px;
    font-size: 16px;
}
.dialog-event_info-content {
    display: flex;
    justify-content: start;
    max-height: 100%;
    max-width: 100%;
    overflow: hidden;
}
.dialog-event_info-icon {
    height: 200px;
    width: 200px;
    border-radius: 10px;
}
.dialog-event_info-info {
    padding: 10px;
    text-align: center;
    overflow-x: hidden;
    overflow-y: scroll;
}
@media screen and (max-width: 400px) {
    .dialog-event_info-content {
        align-items: center;
        flex-direction: column;
    }
    .dialog-event_info-info {
        text-align: center;
        flex: 1;
    }
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: end;
    text-align: left;
    padding: 10px;
    width: 100vw;
}
.button-play {
    border-top: solid 2px #888;
    border-left: solid 2px #888;
    border-bottom: solid 2px #777;
    border-right: solid 2px #777;
    border-radius: 5px;
    height: 100px;
    width: 150px;
    background: rgba(100,100,100,0.9);
    font-size: 30px;
    font-weight: bold;
    color: #f2f2f2;
}

.screen-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
}
.screen-option::after {
    display: block;
    content: attr(data-title);
    white-space: nowrap;
    color: rgba(242, 242, 242, 0.95);
    padding: 2px;
    border-radius: 2px;
    font-weight: bold;
}
.screen-option2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
}
.screen-option2::after {
    display: block;
    content: attr(data-title);
    white-space: nowrap;
    color: rgba(242, 242, 242, 0.95);
    padding: 2px;
    border-radius: 2px;
    font-weight: bold;
}
#option-home {
    position: fixed;
    top: 90px;
    left: 10px;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 5px;
    background: rgba(242, 242, 242, 0.95);
    color: #222;
    font-weight: bold;
    font-size: 16px;
    text-align: left;
    padding: 5px;
}

.screen {
    display: none;
}

.apps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: 50vw;
    max-width: 50dvw;
}
.apps-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
}
.apps-item img {
    background: linear-gradient(#222, #444);
    padding: 5px;
    border-radius: 5px;
    object-fit: contain;
}
.apps-item::after {
    display: block;
    content: attr(data-title);
    white-space: nowrap;
    color: #222;
    padding: 2px;
    border-radius: 2px;
    font-weight: bold;
}

.events {
    text-align: center;
    overflow: scroll;
    padding: 10px;
}
.event {
    position: relative;
    display: flex inline;
    overflow: hidden;
    flex-flow: column;
    white-space: normal;
    width: 200px;
    border: none;
    border-radius: 10px;
    margin: 10px;
    padding: 0;
    background: none;
}
.event::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    border-radius: 10px;
    content: '';
    box-shadow: inset 0 0 10px #f2f2f2;
}
.event-toPage {
    position: absolute;
    top: 10px;
    right: 10px;
}
.event-icon {
    object-fit: cover;
}
.event-label {
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    text-align: left;
    padding: 10px;
    border-radius: 10px 0 10px 0;
    font-size: 16px;
    background: rgba(0,100,255,0.9);
    color: #f2f2f2;
}
.event[data-expired=true] {
    opacity: 0.5;
}
.event[data-joined=true] {
}
.event[data-preparing=true] {
    opacity: 0.5;
}

.attractions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: 50vw;
    max-width: 50dvw;
}
.attraction {
    border-radius: 10px;
    padding: 5px;
    background: linear-gradient(#222, #444);
    color: #f2f2f2;
    height: 250px;
}
.attraction-cover {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 5px;
    height: 100%;
}
.attraction-name {
    padding: 5px;
    border-radius: 5px;
    background: #222;
    opacity: 0.95;
    overflow: scroll;
    max-height: 100px;
}
.attraction-crowd {
    object-fit: contain;
    opacity: 0.95;
}
.attraction-status {
    border-radius: 5px;
    color: #000;
    opacity: 0.95;
}
.open {
    background: #afd;
}
.close {
    background: #faa;
}
.creating {
    background: #ffa;
}

.crewOnly {
    display: none;
}

.support-chat {
    padding: 0;
    overflow-y: scroll;
}
.support-chat-item {
    display: inline-block;
    position: relative;
    border: none;
    border-radius: 5px;
    width: 100%;
    background: #f2f2f2;
    color: #222;
    padding: 5px;
    text-align: left;
    min-height: 26px;
    margin-bottom: 5px;
    box-sizing: border-box;
    font-size: 14px;
}
.support-chat-item * {
    text-align: left;
}
.support-chat-item[data-sender="bot"]::before {
    display: block;
    color: #555;
    content: url('img/support_black.svg') 'Bot';
}
.support-chat-item[data-sender="user"]::before {
    display: block;
    color: #555;
    content: url('img/user.svg') 'ユーザー様';
}
.support-footer {
    background: #ddd;
    border-radius: 10px;
    margin: 0;
    color: #222;
}
.support-items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(auto-fill, 1fr);
    align-items: stretch;
    column-gap: 5px;
    row-gap: 5px;
    padding: 0;
    font-size: 14px;
    box-sizing: border-box;
}
.support-items-button {
    border-radius: 5px;
    border: none;
    background: #fff;
    color: #222;
    font-size: 14px;
    padding: 5px;
    margin: 0px;
}

.setting-list {
    list-style: none;
    max-width: 600px;
    border-top: solid 1px #aaa;
    padding: 0;
    margin: 10px auto;
}
.setting-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px;
    border-bottom: solid 1px #aaa;
    box-sizing: border-box;
}
.setting-list-item-title {
    display: inline;
    text-align: left;
    margin: 0;
    padding: 0;
}
.setting-list-item-info {
    position: relative;
    background: none;
    border: none;
}
.setting-list-item-info:hover::after {
    position: absolute;
    z-index: 1;
    display: block;
    content: attr(data-title);
    padding: 5px;
    border: solid 1px #aaa;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.95);
    color: #222;
    text-align: left;
    min-width: 120px;
    max-width: 70vw;
    overflow-wrap: break-word;
}
.setting-list-item-value {
    display: inline flex;
    align-items: center;
    color: #888;
    gap: 10px;
    overflow-x: hidden;
    overflow-y: visible;
}
.setting-list-item-value-text {
    flex: 1;
    overflow-x: hidden;
    text-overflow: ellipsis;
}
.setting-list-item-edit {
    display: inline flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #222;
}
.dialog-setting-edit {
    background: rgba(255, 255, 255,0.95);
    color: #222;
    border: solid 2px rgba(200, 200, 200,0.95);
    border-radius: 20px;
    padding: 15px;
    margin: auto;
}
.dialog-setting-edit::backdrop {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    -o-backdrop-filter: blur(10px);
    -ms-backdrop-filter: blur(10px);
}
.edit-dialog {
    display: none;
    border: solid 1px #aaa;
}
.edit-input {
    border: none;
    border-radius: 5px;
    box-shadow: inset 0 0 3px #aaa;
    font-size: 16px;
    padding: 5px;
    margin-bottom: 10px;
}
.edit-button {
    display: inline flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: solid 2px #d2d2d2;
    border-radius: 5px;
    background: #fff;
    color: #000;
    font-size: 16px;
    padding: 5px;
    margin: 10px;
}
.edit-button-send {
    border: none;
    background: rgba(0,100,255,0.9);
    color: #fff;
}

.input-multiple-textarea {
    display: none;
}
.input-multiple-item {
    display: flex;
    margin: 10px auto;
    width: min-content;
}
.input-multiple-item:first-of-type:last-of-type .input-multiple-remove {
    display: none;
}
.input-multiple-input {
    border: none;
    border-radius: 5px;
    box-shadow: inset 0 0 3px #aaa;
    padding: 5px;
    font-size: 16px;
}
.input-multiple-add {
    border: none;
    background: none;
    padding: 10px;
}
.input-multiple-remove {
    border: none;
    background: none;
    padding: 10px;
}

.loading-dialog {
    position: fixed;
    z-index: 2;
    top: calc(50vh - 100px);
    left: calc(50vw - 100px);
    border: none;
    box-shadow: 0 0 3px #aaa;
    height: 200px;
    width: 200px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-sizing: border-box;
}
.loading-box {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    height: 200px;
    width: 200px;
}
.loading-bar {
    border: none;
    border-radius: 5px;
    width: 100%;
    height: 10px;
    background: #fcc;
    color: #f00;
    padding: 0;
    margin: 0;
}
.loading-bar::-webkit-progress-bar {
    background-color: #fed;
}
.loading-bar::-webkit-progress-value {
    background-color: #fa0;
}
.loading-dialog[data-status="error"] .loading-bar::-webkit-progress-bar {
    background-color: #faa;
}
.loading-dialog[data-status="error"] .loading-bar::-webkit-progress-value {
    background-color: #f00;
}
.loading-dialog[data-status="success"] .loading-bar::-webkit-progress-bar {
    background-color: #afa;
}
.loading-dialog[data-status="success"] .loading-bar::-webkit-progress-value {
    background-color: #0fa;
}
.loading-icon {
    height: 80px;
    width: 80px;
    border-radius: 40px;
    border: solid 2px #fa0;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
.loading-dialog[data-status="loading"] .loading-icon {
    animation: loading 1.5s infinite;
}
.loading-dialog[data-status="error"] .loading-icon {
    border: solid 2px #f00;
}
.loading-dialog[data-status="success"] .loading-icon {
    border: solid 2px #0fa;
}
@keyframes loading {
    0% {
        height: 80px;
        width: 80px;
        border-radius: 40px;
    }
    50% {
        height: 60px;
        width: 60px;
        border-radius: 30px;
    }
    100% {
        height: 80px;
        width: 80px;
        border-radius: 40px;
    }
}
.loading-status {
}


footer a {
    color: #222;
}

.textures {
    display: none;
}