
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Noto+Sans+JP:wght@400;700&display=swap');

/* Local Fonts */
@font-face {
    font-family: 'Roboto';
    src: url('../font/Roboto-Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans JP';
    src: url('../font/NotoSansJP-Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-color: #0f0b15;
    --panel-bg: #18181b;
    --border-color: #4c1d95; /* Purple 900 */
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-red: #ef4444;
    --accent-yellow: #eab308;
    --accent-pink: #ec4899;
    --accent-purple: #8b5cf6;
    --cell-size: 40px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: #2e1065;
    color: white;
    padding: 8px 16px;
    transition: all 0.2s;
}

button:hover:not(:disabled) {
    background: #4c1d95;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    display: none !important;
}

.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}
