@charset "UTF-8";
/* ============================================================
   表示テーマ選択の基本スタイル
   default（テーマ追加前）でも操作できるよう、skins.css から独立させる。
   midnight / paper では skins.css が後から上書きする。
   ============================================================ */

.skin-picker {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.skin-picker-head h3 {
  margin: 0 0 4px;
  color: #334155;
  font-size: 16px;
  font-weight: 600;
}

.skin-picker-head p {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.55;
}

.skin-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.skin-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.skin-option:hover {
  border-color: #cbd5e1;
}

.skin-option:has(input:checked) {
  border-color: #2563eb;
  box-shadow: inset 0 0 0 1px #2563eb;
}

.skin-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.skin-swatch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  flex: 0 0 auto;
  width: 52px;
  height: 42px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
}

.skin-swatch i {
  display: block;
  border-radius: 1px;
}

.skin-option--default .skin-swatch {
  background: #f8fafc;
}

.skin-option--default .skin-swatch i:nth-child(1) {
  background: #1a202c;
}

.skin-option--default .skin-swatch i:nth-child(2) {
  background: #e2e8f0;
}

.skin-option--default .skin-swatch i:nth-child(3) {
  background: #ffffff;
}

.skin-option--default .skin-swatch i:nth-child(4) {
  background: #2563eb;
}

.skin-option--midnight .skin-swatch {
  background: #07090c;
}

.skin-option--midnight .skin-swatch i:nth-child(1) {
  background: #5eead4;
}

.skin-option--midnight .skin-swatch i:nth-child(2) {
  background: #1b2530;
}

.skin-option--midnight .skin-swatch i:nth-child(3) {
  background: #10161e;
}

.skin-option--midnight .skin-swatch i:nth-child(4) {
  background: #ff6b81;
}

.skin-option--paper .skin-swatch {
  background: #f4f1ea;
}

.skin-option--paper .skin-swatch i:nth-child(1) {
  background: #1f5c4a;
}

.skin-option--paper .skin-swatch i:nth-child(2) {
  background: #dcd5c8;
}

.skin-option--paper .skin-swatch i:nth-child(3) {
  background: #fbf9f4;
}

.skin-option--paper .skin-swatch i:nth-child(4) {
  background: #a8322a;
}

.skin-copy {
  min-width: 0;
}

.skin-copy strong {
  display: block;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.skin-copy small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.5;
}

.skin-check {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-left: auto;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
}

.skin-option input:checked ~ .skin-check {
  border-color: #2563eb;
  background: #2563eb;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.skin-option input:focus-visible ~ .skin-check {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

@media (max-width: 992px) {
  .skin-picker {
    padding: 14px;
  }

  .skin-options {
    grid-template-columns: 1fr;
  }
}
