.container{
    max-width:900px;
    margin:0 auto;
}

/* =========================
   一覧カード
========================= */

.list-card{
    display:flex;
    gap:14px;
    background:#fff;
    border-radius:12px;
    padding:14px;
    margin-bottom:16px;
    box-shadow:0 2px 6px rgba(0,0,0,0.08);
    transition:0.15s;
}

.list-card:hover{
    transform:translateY(-2px);
}

.list-thumbnail{
        width: 50px;
        height: 50px;
    flex-shrink:0;
    overflow:hidden;
    border-radius:10px;
}

.list-thumbnail img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.list-info{
    flex:1;
    display:flex;
    flex-direction:column;
}

.list-top-row{
    margin-bottom:8px;
}

.list-badge{
    display:inline-block;
    padding:4px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:bold;
    color:#fff;
    min-width: 90px;
    text-align: center;
}

.list-right{
    background:#2ecc71;
}

.list-wrong{
    background:#e74c3c;
}

.list-pending{
    background:#95a5a6;
}

.list-title{
    font-size:17px;
    font-weight:bold;
    line-height:1.5;
    margin-bottom:12px;
    color:#222;
}

.list-bottom-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:auto;
}

.list-meta{
    font-size:13px;
    color:#777;
}

.list-remaining{
    padding:4px 8px;
    border-radius:8px;
    background:#f1f3f5;
    font-size:12px;
    color:#555;
    white-space:nowrap;
}

/* =========================
   詳細カード
========================= */

.detail-card{
    background:#fff;
    border-radius:14px;
    padding:20px 20px 10px 20px;
    margin:10px 0 0 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.detail-thumbnail{
    width:50px;
    height:50px;
    flex-shrink:0;
    border:1px solid #e5e7eb;
    border-radius:6px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.detail-thumbnail img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

.detail-top{
    display:flex;
    align-items:center;
    gap:12px;
    padding-bottom:12px;
    flex-wrap:wrap;
    border-bottom: 1px solid #ddd;
}

.detail-content{
    flex:1;
    display:flex;
    flex-direction:column;
    min-height:50px; /* サムネと同じ高さ */
}

.detail-main{
    flex:1;
    display:flex;
    align-items:center;
    font-weight: bold;
    font-size: 1.1em;
}

.date-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size:13px;
    font-weight:bold;
    color:#888;
    margin-top:auto;
}

.detail-section{
    margin-top:15px;
}

.detail-label{
    font-size:13px;
    font-weight:bold;
    color:#888;
    margin-bottom:2px;
}

.detail-text{
    font-size:18px;
    /* line-height:1.7; */
    color:#222;
    min-height: 1lh;
}

.detail-badge{
    display:inline-block;
    padding:3px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:bold;
    color:#fff;
    margin-top: 5px;
}

.detail-right{
    background:#22b961;
}

.detail-wrong{
    background:#e74c3c;
}

.detail-pending{
    background:#95a5a6;
}

.detail-footer {
    margin-top: 10px;
    padding-top: 5px;
    border-top: 1px solid #ddd;
    font-weight:bold;
    font-size: 0.8rem;
    color:#888;
    display: flex;
    justify-content: flex-end;
}