@charset "UTF-8";

/* ===== ico viewer only (D&D only) ===== */
.app {
  padding: 14px 20px 18px;
}

/* ドロップエリア */
.dropZone {
  border: 2px dashed #6cc8f7;
  border-radius: 12px;
  background: #ffffff;
  padding: 22px 14px;
  text-align: center;
  color: #333;
  outline: none;
  user-select: none;
}
.dropZone.isDrag {
  background: #e8f6ff;
  border-color: #2da9e3;
}

/* ステータス */
.statusRow {
  margin-top: 10px;
  margin-bottom: 10px;
}
.status {
  font-size: 0.95em;
  color: #333;
}

/* プレビュー */
.previewTitle {
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.95em;
  color: #333;
}
.preview {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

/* 1枚分カード */
.item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.meta {
  font-size: 0.85em;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.35;
}

/* サムネ表示枠（実寸＋スクロール） */
.thumb {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;

  padding: 10px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;

  overflow: auto;
}

/* 画像は“実寸”で出す（縮めない） */
.thumb img,
.thumb canvas {
  display: block;
  max-width: none;
  max-height: none;
  image-rendering: pixelated;
}

.err {
  color: #b00020;
  font-size: 0.9em;
}
.small {
  color: #666;
  font-size: 0.85em;
}
