/* v0.3.1 SNS折りたたみ・D&D操作 */
.social-item[draggable="true"]{cursor:default}
.social-item.dragging{opacity:.42;border:2px dashed #f5bb4b}
.social-item.drag-target{border-color:#ffd57d;box-shadow:0 0 0 2px #ffd57d66}
.social-drag{cursor:grab;touch-action:none;user-select:none}
.social-item details.social-body{margin-top:8px}
.social-item details.social-body summary{font-size:.84rem;color:#f6d98f;padding:5px 0}
.social-item details.social-body[open] summary{margin-bottom:9px}
.social-head{min-width:0}.social-head .social-actions{flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}
.label-inline{display:flex;align-items:center;gap:8px;font-weight:500}.label-inline input{width:auto}

.helper{color:#b7c7d8;font-size:.8rem;line-height:1.5;margin:5px 0 7px}
.variable-tools{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0 9px;align-items:center}
.variable-tools .btn{flex:none;font-size:.75rem;padding:5px 8px}
.variable-tools .variable-caption{color:#b7c7d8;font-size:.76rem;margin-right:4px}
.classification-card{display:block;background:#222c39;border:1px solid #435369;border-radius:8px;padding:9px 10px;margin:6px 0;cursor:pointer}
.classification-card input{margin-right:7px}
.classification-card small{display:block;margin-left:24px;font-size:.77rem;color:#afc0d2;line-height:1.45}
.config-field select{width:100%}.config-field a{color:#ffd57d}
.field .help-badge{font-weight:400;font-size:.76rem;color:#c2cede}
.example-preview{background:#101923;border:1px dashed #506176;padding:9px 12px;margin:8px 0;border-radius:8px;font-size:.87rem}

/* v0.3.9: 各サイト出力のセクション間隔を改善 */
#outputs > .field{margin-bottom:32px;padding-bottom:10px;border-bottom:1px solid #344153}
#outputs > .field .field-head{margin-bottom:10px}
#outputs > .field .helper{margin-top:9px;margin-bottom:12px}
#outputs > .field .variable-tools{margin-top:12px;margin-bottom:12px}
#outputs > .inline-note{margin-top:20px}
#outputs > .disclosure{margin-top:20px;margin-bottom:22px}
#copyBundle{min-height:44px}
#outputs + .row{margin-top:26px}
.x-post-card{margin:25px 0;padding:16px;border:1px solid #485b71;border-radius:12px;background:#1d2735}
.x-post-card h3{margin:0 0 6px;color:#ffd57d}
.x-post-card textarea{min-height:185px}
.x-post-card .row{margin-top:12px}
.x-post-card .row .btn{flex:1}

/* v0.3.3: 操作ボタンの均等グリッド・SNS識別アイコン（オフライン） */
.game-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px}
.game-actions>.btn{box-sizing:border-box;width:100%;min-width:0;min-height:44px;height:44px;padding:5px 3px;white-space:nowrap;font-size:clamp(.69rem,.83vw,.82rem);line-height:1.2;text-align:center}
@media(max-width:360px){.game-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.game-actions>.btn{font-size:.82rem}}
.social-identity{display:flex;align-items:center;gap:9px;flex:1 1 auto;min-width:0}
.social-identity strong{min-width:0;overflow-wrap:anywhere;line-height:1.35}
.platform-site-title{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:26px;line-height:1.25}
.platform-site-title span{min-width:0;overflow-wrap:anywhere;font-weight:700;line-height:1.25}
.social-brand-icon{width:24px;height:24px;flex:0 0 24px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;overflow:hidden}
.social-brand-icon svg{width:100%;height:100%;display:block}
.official-brand-icon{background:transparent;border-radius:0;overflow:visible}
.official-brand-icon img{display:block;width:100%;height:100%;object-fit:contain}
.social-brand-icon svg text{font-family:Arial,sans-serif;font-weight:800}
@media(max-width:470px){.social-head{flex-wrap:wrap}.social-head .social-actions{margin-left:auto}}

