/* Canvas版トイカメラ加工。画像の実寸・完成画質には関与しない。 */
.bk-editor-textguide.bk-toycamera-status { display: flex; align-items: center; gap: 4px; min-height: 0; margin: 5px -15px 0; color: #245580; text-align: left; }
.bk-editor-textguide.bk-toycamera-status::before { flex: 0 0 auto; content: "\f0eb"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.bk-toycamera-section { margin: 0 0 14px; padding: 0; border: 0; }
.bk-toycamera-section legend { width: auto; margin: 0 0 3px; padding: 0; border: 0; color: #3f4d5a; font-size: 16px; font-weight: 700; }
.bk-toycamera-section-note { margin: 0 0 8px; color: #687582; font-size: 13px; }

.bk-toycamera-preset-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.bk-toycamera-preset { display: flex; min-width: 0; min-height: 90px; padding: 7px 5px; align-items: center; justify-content: center; border: 2px solid #d3dae1; border-radius: 8px; background: #fff; color: #405060; flex-direction: column; gap: 2px; line-height: 1.2; touch-action: manipulation; }
.bk-toycamera-preset:hover, .bk-toycamera-preset:focus-visible { border-color: #79b8d8; outline: none; }
.bk-toycamera-preset[aria-pressed="true"] { border-color: #48a9d2; box-shadow: 0 0 0 2px rgba(72, 169, 210, .18); }
.bk-toycamera-preset strong { font-size: 14px; }
.bk-toycamera-preset small { color: #6c7884; font-size: 11px; }
.bk-toycamera-preset-preview { width: 38px; height: 24px; border-radius: 4px; box-shadow: inset 0 0 9px rgba(0, 0, 0, .48); }
.bk-toycamera-preset-standard { background: linear-gradient(135deg, #dba071, #f3d8a2 55%, #917143); }
.bk-toycamera-preset-retro { background: linear-gradient(135deg, #b77f61, #d8c19c 55%, #7b6252); }
.bk-toycamera-preset-cool { background: linear-gradient(135deg, #3b8292, #8bc6c2 55%, #35526d); }
.bk-toycamera-preset-vivid { background: linear-gradient(135deg, #e25942, #f3b34c 55%, #364c71); }

.bk-toycamera-adjustments { padding-top: 2px; }
.bk-toycamera-adjustments .bk-range-row { margin-bottom: 9px; }
.bk-toycamera-adjustments .bk-pickr-row { margin: 3px 0 10px; }
/* このページではブラウザ標準のカラーピッカーを使う。 */
.bk-toycamera-native-color-input { flex: 0 0 66px; width: 66px; height: 46px; margin: 0; padding: 4px; border: 0; border-right: 1px solid #ccc; background: #fff; cursor: pointer; }

.bk-range-stepper { display: flex; align-items: stretch; flex: 0 0 auto; }
.bk-range-stepper .bk-range-value { min-width: 64px; border-left: 1px solid #ccc; }
.bk-range-step-button { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; border-left: 1px solid #ccc; background: #fff; color: #333; font-size: 18px; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.bk-range-step-button:hover:not(:disabled), .bk-range-step-button:focus { background: #e6e6e6; }
.bk-range-step-button:disabled { color: #aaa; cursor: not-allowed; }
.bk-toycamera-reset { min-height: 44px; touch-action: manipulation; }
.bk-toycamera-view-setting .bk-output-format { margin-bottom: 10px; }

.bk-toycamera-quick-guide { margin-bottom: 14px; }
.bk-toycamera-quick-guide-intro { display: flex; flex-direction: column; gap: 3px; margin-bottom: 12px; padding: 12px 14px; border-left: 4px solid #3fb1e4; border-radius: 6px; background: #eef9fd; }
.bk-toycamera-quick-guide-intro strong { color: #236d8d; font-size: 18px; }
.bk-toycamera-quick-guide-intro span { color: #60747d; font-size: 13px; }
.bk-toycamera-quick-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.bk-toycamera-quick-steps li { display: flex; align-items: flex-start; gap: 9px; min-width: 0; padding: 11px; border: 1px solid #cfe4ed; border-radius: 7px; background: #fff; }
.bk-toycamera-quick-steps li > span:last-child { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.bk-toycamera-quick-step-number { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 27px; width: 27px; height: 27px; border-radius: 50%; background: #3faed8; color: #fff; font-size: 14px; font-weight: 700; }
.bk-toycamera-quick-steps strong { color: #334d59; font-size: 14px; line-height: 1.45; }
.bk-toycamera-quick-steps small { margin-top: 3px; color: #6a7c84; font-size: 12px; line-height: 1.45; }
.bk-toycamera-faq-heading { display: flex; flex-direction: column; gap: 2px; margin: 18px 0 9px; }
.bk-toycamera-faq-heading strong { color: #765313; font-size: 16px; }
.bk-toycamera-faq-heading span { color: #777; font-size: 12px; }
.bk-toycamera-faq-list details { margin: 0 0 8px; border: 1px solid #d5dfe4; border-radius: 7px; background: #fff; }
.bk-toycamera-faq-list summary { display: flex; align-items: center; gap: 8px; padding: 11px 13px; color: #3d5966; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; }
.bk-toycamera-faq-list summary::-webkit-details-marker { display: none; }
.bk-toycamera-faq-list summary::before { flex: 0 0 auto; color: #c47c00; content: "Q."; }
.bk-toycamera-faq-list summary::after { flex: 0 0 auto; margin-left: auto; color: #3998bd; font-size: 18px; font-weight: 400; content: "＋"; }
.bk-toycamera-faq-list details[open] summary { border-bottom: 1px solid #dce6ea; background: #f5fbfd; }
.bk-toycamera-faq-list details[open] summary::after { content: "−"; }
.bk-toycamera-faq-list details p { margin: 0; padding: 11px 14px 13px 40px; color: #4e5d64; line-height: 1.7; }

@keyframes bk-toycamera-canvas-fallback { to { visibility: visible; } }
@media (min-width: 992px) {
  #main .image-wrapper { padding: 5px 50px; }
  #canvas_id:not(.bk-canvas-ready) { visibility: hidden; animation: bk-toycamera-canvas-fallback 0s linear 3s forwards; }
  #canvas_id.bk-canvas-ready { visibility: visible; animation: none; }
}
@media (max-width: 991px) {
  .bk-toycamera-other-settings-title, .bk-toycamera-view-setting { display: none; }
  #canvas_id { width: 100% !important; height: auto !important; }
}
@media (max-width: 480px) {
  .bk-range-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .bk-range-label { padding-right: 6px; padding-left: 6px; }
  .bk-range-input { min-width: 0; }
  .bk-range-step-button { padding: 0 8px; }
  .bk-range-stepper .bk-range-value { min-width: 48px; padding-right: 5px; padding-left: 5px; }
  .bk-toycamera-preset-grid { gap: 5px; }
  .bk-toycamera-preset { min-height: 82px; padding: 6px 3px; }
  .bk-toycamera-preset-preview { width: 32px; height: 21px; }
  .bk-toycamera-preset strong { font-size: 13px; }
  .bk-toycamera-preset small { font-size: 10px; }
}
