@charset "utf-8";

/**
 * orenotori/local2026.css
 * 「オレの鳥DB」専用：Flexbox を用いた確実なセンタリング版
 * アンバーアクセント・完全ダークモード対応
 */

:root {
    --bird-accent: #ffcc00;     /* 鮮やかなイエロー（アンバー） */
    --bird-accent-hover: #ffdd44;
    --main-bg: #0a0a0a;
    --sub-bg: #1a1a1a;
    --border-color: #333;
}

body {
    background-color: var(--main-bg) !important;
}

a {
    color: var(--bird-accent);
    text-decoration: none;
}

a:hover {
    color: var(--bird-accent-hover);
}

/* 1. ヘッダー */
.db-header #unitoro_title a {
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
}

.order-nav a {
    margin: 0 5px;
    padding: 2px 8px;
    border-radius: 4px;
}

/* 2. オリジナルリスト表示 (Flexboxによるセンタリング) */

.bird-list-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 全体を中央寄せ */
    width: 100%;
    margin: 0 auto;
}

/* 各パネル (one) */
.one {
    display: block;
    width: 100%;
    height: 70px;
    overflow: hidden;
    margin-bottom: 10px;
}

.one a {
    display: block;
    width: 100%;
    height: 100%;
}

.list_pict {
    width: 70px;
    height: 70px;
    float: left;
    margin-right: 0.5rem;
    object-fit: cover;
    border-radius: 4px;
}

.list_kana {
    font-size: 1.5rem;
    text-align: left;
    margin: 0;
    line-height: 1.2;
    padding-top: 5px;
}

.list_eng {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
    font-weight: normal;
}

/* Medium devices (tablets, 768px and up) - 2列 */
@media (min-width: 768px) { 
    .one {
        width: 48%;
        margin: 5px;
        height: 80px;
    }
}

/* Large devices (PC, 1200px and up) - オリジナルの10%タイル表示をFlexで実現 */
@media (min-width: 1200px) { 
    .one {
        width: 10%; /* 10列 */
        height: auto;
        min-height: 180px;
        padding: 5px;
        margin: 0;
        text-align: center;
    }

    .one a:hover .list_pict {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
    }

    .list_pict {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
        float: none; /* フロート解除 */
        margin-right: 0;
        margin-bottom: 0.5rem;
        transition: all 0.2s;
    }

    .list_kana {
        font-size: 0.9rem !important;
        text-align: center !important;
        margin-bottom: 0;
        padding-top: 0;
        color: var(--bird-accent);
    }

    .list_eng {
        font-size: 0.7rem !important;
        text-align: center !important;
        margin-bottom: 1rem;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* 3. 詳細ページ表示 */
.detail-container {
    background: linear-gradient(145deg, #161616, #0f0f0f);
}

.name {
    font-weight: 900;
    letter-spacing: -0.05em;
    text-shadow: 0 0 20px rgba(255, 204, 0, 0.2);
}

.exif-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px !important;
}

.exif-list li {
    font-size: 0.75rem;
    color: #888;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--bird-accent);
    content: "▶";
    font-size: 0.6rem;
}

/* グローバルナビのアクティブ表示をアンバーに固定 */
.navbar-nav .nav-link.active {
    color: var(--bird-accent) !important;
    border-bottom: 2px solid var(--bird-accent);
}