@charset "UTF-8";

:root {
    --主背景: #050505;
    --決定: #2980b9;
    --警告: #e74c3c;
    --成功: #27ae60;
    --金: #f1c40f;
}

@font-face {
    font-family: 'NotoSerifJP-Medium';
    src: url('./font/NotoSerifJP-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background: var(--主背景);
    color: #fff;
    overflow: hidden;
    font-family: 'NotoSerifJP-Medium', serif;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

canvas {
    user-select: none;
    -webkit-user-select: none;
}

.無効 {
    opacity: 0.3;
    filter: grayscale(1);
    pointer-events: none;
    cursor: default;
}

.手引閉じるアイコン {
    position: absolute;
    top: 5px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: 0.2s;
    z-index: 10;
}

.手引閉じるアイコン:hover {
    opacity: 1;
    color: var(--警告);
}

.デバッグボタン {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid var(--金);
    padding: 4px 12px;
    font-size: 0.75rem;
    cursor: pointer;
    text-align: left;
    transition: 0.2s;
    border-radius: 4px;
    width: 90px;
}

.デバッグボタン:hover {
    background: var(--金);
    color: #000;
}

/* --- 共通ユーティリティ --- */
.高320 { height: 320px !important; }
.隠す { display: none !important; }
.注釈文 { font-size: 0.7rem; opacity: 0.6; }
.強調金 { color: var(--金) !important; font-weight: bold; }
.文字拡大 { font-size: 1.1rem; }
.右余白8 { margin-right: 8px; }
.折り返し禁止 { white-space: nowrap; }
