html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: transparent;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.viewer-shell {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 160px;
    overflow: hidden;
    background: transparent;
}

#mika-live2d-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.viewer-status {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 7px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    color: #334155;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.viewer-status[data-hidden="true"] {
    display: none;
}

.avatar-switcher {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    padding: 5px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.avatar-switcher[hidden] {
    display: none;
}

.avatar-switcher button {
    min-width: 72px;
    height: 30px;
    border: 1px solid rgba(148, 163, 184, 0.65);
    border-radius: 6px;
    background: rgba(248, 250, 252, 0.92);
    color: #334155;
    font: 600 12px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    cursor: pointer;
}

.avatar-switcher button[data-active="true"] {
    border-color: rgba(79, 70, 229, 0.8);
    background: rgba(79, 70, 229, 0.92);
    color: #ffffff;
}

.avatar-switcher button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}
