/* QR Code固定表示スタイル */
.qr-code-fixed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    width: 100px;
    height: 100px;
    opacity: 0.7;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: transparent;
    padding: 8px;
}

.qr-code-fixed:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    background: white;
}

.qr-code-fixed img {
    width: 100%;
    height: 100%;
    display: block;
}

/* ダークモード対応 */
[data-md-color-scheme="slate"] .qr-code-fixed:hover {
    background: rgba(255, 255, 255, 0.95);
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .qr-code-fixed {
        width: 80px;
        height: 80px;
        bottom: 15px;
        left: 15px;
    }
}

/* 小さい画面ではさらに小さく */
@media screen and (max-width: 480px) {
    .qr-code-fixed {
        width: 60px;
        height: 60px;
        bottom: 10px;
        left: 10px;
        padding: 4px;
    }
}

/* ASCIIアート・Box Drawing文字の表示修正 */
.md-typeset pre code,
.md-typeset code {
    font-family: 'SF Mono', 'Cascadia Code', 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace;
    font-size: 0.85em;
    letter-spacing: 0;
    line-height: 1.4;
    font-variant-ligatures: none;
    font-feature-settings: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* コードブロック内のBox Drawing文字を適切に表示 */
.md-typeset pre {
    overflow-x: auto;
    white-space: pre;
    tab-size: 8;
}

.md-typeset pre code {
    white-space: pre;
    word-break: keep-all;
    word-wrap: normal;
    display: block;
    font-variant-numeric: tabular-nums;
}
