/* 「掲載を伝える」の欄（worker.js の shareKit）。今までの型（style.css を読む）と新しい型 101〜136（style.css を読まない）の両方が読む。
   型の色や字に左右されないよう IndieMakers の地と字を固定で持つ。 */
.share-kit { opacity: 1; position: relative; z-index: 2; box-sizing: border-box; width: min(720px, calc(100% - 32px)); margin: 4px auto 20px; padding: 0; border: 1px solid #cdbf9f; border-radius: 14px; background: #fffaf0; color: #23291f; font: 15px/1.6 -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Noto Sans JP', sans-serif; text-align: left; text-transform: none; letter-spacing: normal; }
.share-kit *, .share-kit *::before, .share-kit *::after { box-sizing: border-box; }
.share-kit summary { display: block; list-style: none; cursor: pointer; padding: 14px 44px 14px 18px; position: relative; font: bold 15px/1.5 Georgia, 'Times New Roman', 'Hiragino Mincho ProN', serif; color: #23291f; }
.share-kit summary::-webkit-details-marker { display: none; }
.share-kit summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 20px/1 Arial, sans-serif; color: #175c53; }
.share-kit details[open] summary::after { content: '−'; }
.share-kit summary:focus-visible, .share-kit a:focus-visible, .share-kit button:focus-visible, .share-kit input:focus-visible, .share-kit textarea:focus-visible { outline: 3px solid #a64322; outline-offset: 2px; }
.share-kit-body { display: grid; gap: 14px; padding: 0 18px 18px; }
.share-kit p { margin: 0; color: #23291f; font-size: 14px; }
.share-kit-theme { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.share-kit-theme label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: #23291f; }
.share-kit-theme input { margin: 0; accent-color: #175c53; }
.share-kit-set { display: grid; gap: 10px; }
.share-kit-set[data-theme="dark"] { display: none; }
.share-kit:has(input[value="dark"]:checked) .share-kit-set[data-theme="light"] { display: none; }
.share-kit:has(input[value="dark"]:checked) .share-kit-set[data-theme="dark"] { display: grid; }
.share-kit-badge { display: block; width: 250px; max-width: 100%; height: auto; padding: 10px; border-radius: 10px; background: #e9dcc2; }
.share-kit-set[data-theme="dark"] .share-kit-badge { background: #3a3f36; }
.share-kit-code { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: end; }
.share-kit-code label { grid-column: 1 / -1; font-size: 12px; font-weight: bold; color: #4d5446; }
.share-kit-code textarea { width: 100%; min-width: 0; margin: 0; padding: 8px 10px; resize: vertical; border: 1px solid #cdbf9f; border-radius: 8px; background: #fff; color: #23291f; font: 12px/1.5 ui-monospace, Menlo, Consolas, monospace; }
.share-kit .share-kit-copy, .share-kit .share-kit-post { opacity: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin: 0; padding: 8px 16px; border-radius: 22px; font: bold 14px/1.2 -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: none; }
.share-kit .share-kit-copy { border: 1px solid #b8a578; background: #fff2d4; color: #23291f; }
.share-kit .share-kit-post { justify-self: start; border: 1px solid #23291f; background: #23291f; color: #fffaf0; }
.share-kit .share-kit-post:hover { background: #175c53; border-color: #175c53; color: #fffaf0; }
.share-kit h3 { margin: 6px 0 0; font: bold 14px/1.4 Georgia, 'Times New Roman', 'Hiragino Mincho ProN', serif; color: #175c53; }
.share-kit .share-kit-draft { padding: 10px 12px; border-left: 3px solid #175c53; background: #fff; border-radius: 0 8px 8px 0; font-size: 14px; word-break: break-all; }
.share-kit .share-kit-copy { min-width: 8.5em; }
.share-kit .share-kit-note { font-size: 12px; color: #5d6455; }
.share-kit p, .share-kit summary { word-break: auto-phrase; }
.share-kit-code textarea { word-break: break-all; }
@media (max-width: 600px) {
  .share-kit-code { grid-template-columns: 1fr; }
  .share-kit-code textarea { min-height: 96px; }
  .share-kit .share-kit-copy { justify-self: end; }
}
