html, body {
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    margin: 0;
}

/* ドラッグ&ドロップのアップロード領域 */
.hozon-drop-zone {
    border: 2px dashed var(--mud-palette-lines-default);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    transition: border-color .15s ease, background-color .15s ease;
}

.hozon-drop-zone.hozon-drag-over {
    border-color: var(--mud-palette-primary);
    background-color: rgba(37, 99, 235, 0.06);
}

/* ファイルカード */
.hozon-clickable {
    cursor: pointer;
    height: 100%;
}

.hozon-file-card {
    height: 100%;
}

.hozon-file-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    background-color: var(--mud-palette-background-gray);
    position: relative;
    overflow: hidden;
}

    .hozon-file-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* 動画サムネイル右下の再生バッジ */
.hozon-thumb-badge {
    position: absolute;
    right: 6px;
    bottom: 6px;
    display: flex;
    padding: 2px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}

.hozon-file-name {
    min-width: 0;
}

.hozon-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Blazor 標準のエラーバー */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* AppBar のサービス名(シークレットモード解除ジェスチャーの対象。連続タップで文字選択されないようにする) */
.hozon-brand {
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
}
