/* ===== デートシミュ タブ CSS（単体UIを #date-sim-root スコープに移植） ===== */
#date-sim-root{
  --pink:#fd79a8;--pink-d:#e0599a;--pink-l:#ffb6cf;--pink-bg:#fff8fc;--card-border:#ffe1ed;--label:#9a7080;
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Noto Sans JP",sans-serif;
  background:linear-gradient(180deg,#fff5fa 0%,#fdeef4 100%);color:#5a4650;padding:16px 12px 60px;-webkit-font-smoothing:antialiased;
}
#date-sim-root *{box-sizing:border-box;}
#date-sim-root .dc-container{max-width:760px;margin:0 auto;}

#date-sim-root .dc-hero-band{background:linear-gradient(135deg,#fd79a8 0%,#fdcb6e 100%);color:#fff;border-radius:14px;padding:14px 18px;margin-bottom:14px;display:flex;align-items:center;gap:12px;box-shadow:0 4px 14px rgba(253,121,168,.22);}
#date-sim-root .dc-hero-icon{width:38px;height:38px;background:rgba(255,255,255,.22);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;flex-shrink:0;}
#date-sim-root .dc-hero-band h2{font-size:1rem;font-weight:800;margin:0 0 2px;}
#date-sim-root .dc-hero-band p{font-size:.72rem;margin:0;opacity:.94;}

#date-sim-root .dc-card{background:#fff;border-radius:14px;padding:14px 14px 16px;margin-bottom:12px;box-shadow:0 2px 10px rgba(253,121,168,.08),0 1px 2px rgba(0,0,0,.04);border:1px solid var(--card-border);}
#date-sim-root .dc-section-title{margin:0 0 9px;font-size:.95rem;font-weight:800;color:var(--pink-d);display:flex;align-items:center;gap:8px;border-bottom:2px solid #ffd1e0;padding-bottom:6px;}
#date-sim-root .dc-section-title i{color:var(--pink-l);}
#date-sim-root .row-block{margin-bottom:9px;}
#date-sim-root .row-label{font-size:.78rem;font-weight:700;color:var(--label);margin-bottom:4px;}
#date-sim-root .slot-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;}
#date-sim-root .slot-empty{visibility:hidden;}
#date-sim-root .dc-slot{position:relative;aspect-ratio:1/1;background:var(--pink-bg);border:2px dashed var(--pink-l);border-radius:9px;display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;transition:transform .12s,box-shadow .12s,border-color .12s;}
#date-sim-root .dc-slot:active{transform:scale(.97);}
#date-sim-root .dc-slot.has-value{border-style:solid;border-color:var(--pink);background:#fff;box-shadow:0 2px 6px rgba(253,121,168,.18);}
#date-sim-root .dc-slot:not(.has-value):not(.locked)::after{content:"+";font-size:24px;color:var(--pink-l);font-weight:700;}
#date-sim-root .dc-slot.locked{background:repeating-linear-gradient(45deg,#f3e1eb,#f3e1eb 6px,#ebd2de 6px,#ebd2de 12px);border:2px solid #d6b4c4;cursor:not-allowed;pointer-events:none;}
#date-sim-root .dc-slot.locked::after{content:"\f023";font-family:"Font Awesome 6 Free";font-weight:900;font-size:18px;color:#8c6c7d;}
/* デート編成強化の対象スロット（編成キャラ1枠目・メモリア1枠目）を視覚的に区別（琥珀色の枠＋強化バッジ） */
#date-sim-root .dc-slot[data-type="support"][data-index="0"],
#date-sim-root .dc-slot[data-type="memoria"][data-index="0"]{border-color:#e7a93a;box-shadow:0 0 0 2px rgba(231,169,58,.32),0 2px 7px rgba(201,138,46,.22);}
#date-sim-root .dc-slot[data-type="support"][data-index="0"]::before,
#date-sim-root .dc-slot[data-type="memoria"][data-index="0"]::before{content:"\f062";font-family:"Font Awesome 6 Free";font-weight:900;font-size:8px;position:absolute;top:0;left:0;z-index:4;width:16px;height:16px;line-height:16px;text-align:center;color:#fff;background:linear-gradient(135deg,#f5c451,#e79420);border-bottom-right-radius:7px;}
#date-sim-root .slot-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
#date-sim-root .slot-lv{position:absolute;right:3px;bottom:3px;background:var(--pink);color:#fff;font-size:.55rem;font-weight:800;padding:1px 5px;border-radius:8px;z-index:2;}
#date-sim-root .slot-sub{position:absolute;left:3px;top:3px;background:#fdcb6e;color:#fff;font-size:.5rem;font-weight:800;padding:1px 4px;border-radius:7px;z-index:2;}

#date-sim-root .sim-start-btn{width:100%;margin-top:6px;padding:16px;border:none;border-radius:14px;cursor:pointer;background:linear-gradient(135deg,#fd79a8 0%,#e0599a 100%);color:#fff;font-size:1.05rem;font-weight:900;font-family:inherit;letter-spacing:.04em;box-shadow:0 6px 18px rgba(253,121,168,.35);display:flex;align-items:center;justify-content:center;gap:10px;transition:transform .12s,box-shadow .12s;}
#date-sim-root .sim-start-btn:active{transform:translateY(1px) scale(.99);}
#date-sim-root .sim-start-btn:disabled{background:#e6c9d6;box-shadow:none;cursor:not-allowed;}
/* ===== シミュ結果UI ===== */
#date-sim-root .trials-row{display:flex;align-items:center;justify-content:center;gap:8px;margin:8px 0 2px;font-size:.85rem;color:var(--label);font-weight:800;}
#date-sim-root .trials-row select{border:1.5px solid #ffd1e0;border-radius:9px;padding:8px 10px;font-size:.95rem;font-weight:800;font-family:inherit;color:#5a4650;background:#fff8fc;text-align:center;}
#date-sim-root .sr-section-t{font-size:.82rem;font-weight:800;color:var(--pink-d);margin:14px 0 7px;display:flex;align-items:center;gap:6px;}
#date-sim-root .sr-stats{display:flex;flex-direction:column;gap:6px;}
#date-sim-root .sr-stat{display:flex;align-items:center;gap:8px;font-size:.85rem;}
#date-sim-root .sr-sname{width:38px;color:var(--label);font-weight:800;}
#date-sim-root .sr-stat.is-score .sr-sname{color:var(--pink-d);}
#date-sim-root .sr-bar{flex:1;height:13px;background:#fdeef5;border-radius:7px;overflow:hidden;}
#date-sim-root .sr-fill{display:block;height:100%;border-radius:7px;}
#date-sim-root .sr-sval{width:78px;text-align:right;font-variant-numeric:tabular-nums;font-weight:800;color:#5a4650;}
#date-sim-root .sr-stat.is-score .sr-sval{color:var(--pink-d);}
#date-sim-root .sr-skills{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px;max-height:280px;overflow:auto;}
#date-sim-root .sr-skill{display:flex;justify-content:space-between;gap:8px;font-size:.84rem;padding:6px 9px;background:#fff8fc;border:1px solid var(--card-border);border-radius:8px;}
#date-sim-root .sr-skn{color:#5a4650;font-weight:700;}
#date-sim-root .sr-skl{color:var(--pink-d);font-weight:800;white-space:nowrap;}
#date-sim-root .sr-skl-ult{background:linear-gradient(135deg,#fd79a8,#e0599a);color:#fff;padding:1px 9px;border-radius:999px;font-size:.76rem;}
/* レアリティ色（攻略サイト skill-db と同一パレット: r1赤/r2青/r3金/r4緑/r5虹） */
#date-sim-root .sr-skill.sr-r1{border-color:#ff8a8a;background:linear-gradient(90deg,#fff5f5,#fff8fc);}
#date-sim-root .sr-skill.sr-r1 .sr-skl{background:linear-gradient(135deg,#ff8a8a,#ff5e5e);color:#fff;padding:1px 8px;border-radius:999px;}
#date-sim-root .sr-skill.sr-r2{border-color:#6dbcff;background:linear-gradient(90deg,#f3f9ff,#fff8fc);}
#date-sim-root .sr-skill.sr-r2 .sr-skl{background:linear-gradient(135deg,#6dbcff,#4a90ff);color:#fff;padding:1px 8px;border-radius:999px;}
#date-sim-root .sr-skill.sr-r3{border-color:#ffc94a;background:linear-gradient(90deg,#fffbee,#fff8fc);}
#date-sim-root .sr-skill.sr-r3 .sr-skl{background:linear-gradient(135deg,#ffd55a,#ffaa00);color:#5a4500;padding:1px 8px;border-radius:999px;}
#date-sim-root .sr-skill.sr-r4{border-color:#5dd078;background:linear-gradient(90deg,#effaef,#fff8fc);}
#date-sim-root .sr-skill.sr-r4 .sr-skl{background:linear-gradient(135deg,#5dd078,#2ecc71);color:#fff;padding:1px 8px;border-radius:999px;}
#date-sim-root .sr-skill.sr-r5{border:none;padding:2px;background:linear-gradient(90deg,#ff7eb3,#ffb86c,#fff170,#6deeb1,#6fc8ff,#c98bff);}
#date-sim-root .sr-skill.sr-r5 .sr-inner{display:flex;justify-content:space-between;gap:8px;width:100%;background:linear-gradient(90deg,#fff0f5 0%,#fff8ec 30%,#f0fff5 60%,#f0f8ff 100%);border-radius:6px;padding:4px 7px;}
#date-sim-root .sr-skill.sr-r5 .sr-skl{background:rgba(255,255,255,.7);color:#b0308a;padding:1px 8px;border-radius:999px;}
#date-sim-root .sr-tabs{display:flex;gap:6px;margin-bottom:12px;background:#fff0f6;border-radius:12px;padding:4px;}
#date-sim-root .sr-tab{flex:1;border:none;background:transparent;border-radius:9px;padding:10px 4px;font-size:.85rem;font-weight:800;font-family:inherit;color:var(--label);cursor:pointer;transition:background .12s;}
#date-sim-root .sr-tab.is-active{background:#fff;color:var(--pink-d);box-shadow:0 1px 4px rgba(253,121,168,.22);}
#date-sim-root .sr-panel.hidden{display:none;}
#date-sim-root .sr-cp{background:linear-gradient(135deg,#fff0f6,#ffe6f0);border-radius:14px;border:1px solid #ffd1e0;padding:4px 18px;}
#date-sim-root .sr-cp-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:14px 0;border-bottom:1px dashed #ffd1e0;}
#date-sim-root .sr-cp-row:last-child{border-bottom:none;}
#date-sim-root .sr-cp-row span{font-weight:800;color:var(--label);font-size:.9rem;}
#date-sim-root .sr-cp-row.is-max b{font-size:2rem;}
#date-sim-root .sr-cp-row b{font-size:1.5rem;font-weight:900;color:var(--pink-d);font-variant-numeric:tabular-nums;line-height:1;}
#date-sim-root .sr-runinfo{font-size:.74rem;color:var(--label);text-align:center;margin:-4px 0 12px;}
#date-sim-root .sr-runinfo b{color:var(--pink-d);font-weight:800;}
#date-sim-root .sr-panel-note{font-size:.72rem;color:var(--label);margin:14px 0 9px;font-weight:700;}
#date-sim-root .sr-panel .sr-cp{padding:6px 18px;}
#date-sim-root .sr-panel .sr-cp-row{padding:12px 0;}
#date-sim-root .sim-err{color:#c0392b;font-size:.85rem;padding:11px;background:#fdecea;border-radius:9px;line-height:1.6;}
#date-sim-root .sim-err code{background:#fff;padding:2px 6px;border-radius:5px;font-size:.8rem;}
#date-sim-root .export-code-btn{width:100%;margin-top:8px;padding:11px;border:1.5px solid var(--pink);border-radius:12px;cursor:pointer;background:#fff8fc;color:#e0599a;font-size:.92rem;font-weight:800;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:8px;transition:background .12s;}
#date-sim-root .export-code-btn:hover{background:#ffeef6;}
#date-sim-root .start-hint{text-align:center;font-size:.7rem;color:var(--label);margin-top:8px;}

/* modal / picker */
#date-sim-root .modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:10000;display:flex;align-items:center;justify-content:center;padding:16px 12px;animation:dsim-fadein .15s;}
#date-sim-root .modal-overlay.hidden{display:none;}
@keyframes dsim-fadein{from{opacity:0;}to{opacity:1;}}
#date-sim-root .modal{background:#fff;width:100%;max-width:480px;max-height:calc(100vh - 32px);border-radius:16px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 12px 36px rgba(0,0,0,.32);}
#date-sim-root .modal-header{background:linear-gradient(135deg,#fd79a8 0%,#fdcb6e 100%);color:#fff;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;font-weight:800;font-size:.9rem;}
#date-sim-root .modal-close{background:rgba(255,255,255,.22);border:none;color:#fff;width:28px;height:28px;border-radius:50%;font-size:.82rem;cursor:pointer;}
#date-sim-root .modal-body{flex:1;overflow-y:auto;padding:12px;}
#date-sim-root .modal-body.hidden{display:none;}
#date-sim-root .filter-bar{display:flex;gap:6px;margin-bottom:10px;flex-wrap:wrap;}
#date-sim-root .filter-chip{padding:4px 12px;border-radius:999px;border:1.2px solid #ffb6cf;background:#fff;color:#e0599a;font-size:.74rem;font-weight:700;cursor:pointer;font-family:inherit;}
#date-sim-root .filter-chip.active{background:#fd79a8;color:#fff;border-color:#fd79a8;}
#date-sim-root .grid-list{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;}
@media (min-width:480px){#date-sim-root .grid-list{grid-template-columns:repeat(6,1fr);}}
#date-sim-root .grid-item{position:relative;aspect-ratio:1/1;border-radius:6px;overflow:hidden;border:1.5px solid #ffe1ed;background:#fff8fc;cursor:pointer;}
#date-sim-root .grid-item.disabled{opacity:.32;pointer-events:none;filter:grayscale(.9);cursor:not-allowed;}
#date-sim-root .grid-item img{width:100%;height:100%;object-fit:cover;}
#date-sim-root .grid-item .gi-name{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(0deg,rgba(0,0,0,.8) 0%,rgba(0,0,0,0) 100%);color:#fff;font-size:.55rem;font-weight:600;padding:8px 3px 3px;text-align:center;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#date-sim-root .grid-item .gi-rar{position:absolute;top:1px;left:1px;background:rgba(255,255,255,.95);color:#e0599a;font-size:.55rem;font-weight:800;padding:0 4px;border-radius:3px;}
#date-sim-root .lv-pick-header{display:flex;align-items:center;gap:12px;padding:8px 4px 12px;border-bottom:1px solid #ffe1ed;margin-bottom:12px;}
#date-sim-root .lv-pick-header img{width:56px;height:56px;border-radius:8px;object-fit:cover;border:2px solid #fd79a8;}
#date-sim-root .lv-pick-name{font-weight:800;font-size:.9rem;color:#9a7080;}
#date-sim-root .lv-pick-sub{font-size:.7rem;color:#aaa;margin-top:2px;}
#date-sim-root .level-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;}
#date-sim-root .lv-btn{padding:11px 4px;border:1.5px solid #ffd1e0;border-radius:9px;background:#fff;color:var(--pink-d);font-weight:800;font-size:.85rem;cursor:pointer;font-family:inherit;}
#date-sim-root .lv-btn:hover{background:#fff0f6;}
#date-sim-root .lv-slider-wrap{padding:18px 8px 6px;}
#date-sim-root .lv-big{text-align:center;font-size:2.1rem;font-weight:900;color:var(--pink-d);margin-bottom:18px;letter-spacing:.02em;}
#date-sim-root .lv-slider-wrap input[type=range]{width:100%;height:10px;-webkit-appearance:none;appearance:none;background:linear-gradient(90deg,#ffd1e0,#fd79a8);border-radius:999px;outline:none;cursor:pointer;}
#date-sim-root .lv-slider-wrap input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:30px;height:30px;border-radius:50%;background:#fff;border:3px solid var(--pink);box-shadow:0 2px 6px rgba(253,121,168,.4);cursor:pointer;}
#date-sim-root .lv-slider-wrap input[type=range]::-moz-range-thumb{width:30px;height:30px;border-radius:50%;background:#fff;border:3px solid var(--pink);cursor:pointer;}
#date-sim-root .lv-range-labels{display:flex;justify-content:space-between;font-size:.7rem;color:#b89aa8;font-weight:600;margin-top:10px;padding:0 2px;}
#date-sim-root .item-main-info{font-size:.74rem;color:var(--label);background:#fff6fa;border-radius:9px;padding:9px 11px;margin-bottom:12px;line-height:1.5;}
#date-sim-root .item-main-info b{color:var(--pink-d);}
#date-sim-root .sub-row{display:grid;grid-template-columns:1fr 94px;gap:7px;margin-bottom:8px;align-items:center;}
#date-sim-root .sub-row select,#date-sim-root .sub-row input{border:1.5px solid #ffd1e0;border-radius:9px;padding:9px 6px;font-size:.76rem;font-family:inherit;color:#5a4650;background:#fff;width:100%;min-width:0;}
#date-sim-root .modal-foot{margin-top:6px;}
#date-sim-root .btn-primary{width:100%;padding:13px;border:none;border-radius:11px;background:var(--pink);color:#fff;font-size:.92rem;font-weight:800;font-family:inherit;cursor:pointer;}
#date-sim-root .toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(20px);background:#5a4650;color:#fff;padding:12px 18px;border-radius:12px;font-size:.82rem;font-weight:600;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;z-index:99999;box-shadow:0 6px 18px rgba(0,0,0,.25);}
#date-sim-root .toast.show{opacity:1;transform:translateX(-50%) translateY(0);}

/* 抽出検証パネル */
#date-sim-root .extract-head{display:flex;align-items:center;justify-content:space-between;cursor:pointer;}
#date-sim-root .extract-head .dc-section-title{border:none;margin:0;padding:0;}
#date-sim-root .extract-chev{color:var(--pink);transition:transform .2s;font-size:.85rem;}
#date-sim-root .extract-card.open .extract-chev{transform:rotate(180deg);}
#date-sim-root .extract-body{margin-top:12px;}
#date-sim-root .extract-body.hidden{display:none;}
#date-sim-root .ex-block{border:1px solid #ffe1ed;border-radius:11px;padding:10px 11px;margin-bottom:10px;background:#fffafd;}
#date-sim-root .ex-bhead{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:.82rem;font-weight:800;color:var(--pink-d);margin-bottom:8px;}
#date-sim-root .ex-badge{font-size:.56rem;font-weight:700;padding:1px 7px;border-radius:999px;background:#ffe9f2;color:#e0599a;}
#date-sim-root .ex-badge.part{background:#fff0d9;color:#c98a2e;}
#date-sim-root .ex-who{display:inline-flex;align-items:center;gap:5px;font-size:.72rem;font-weight:700;color:#9a7080;}
#date-sim-root .ex-who img{width:20px;height:20px;border-radius:5px;object-fit:cover;border:1px solid #ffd1e0;}
#date-sim-root .ex-sub{font-size:.64rem;font-weight:800;color:var(--pink-d);margin:7px 0 2px;}
#date-sim-root .ex-statgrid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;}
#date-sim-root .ex-scell{background:#fff;border:1px solid #ffe1ed;border-radius:7px;padding:5px 1px;text-align:center;min-width:0;overflow:hidden;}
#date-sim-root .ex-scell .s{display:block;font-size:.56rem;font-weight:800;}
#date-sim-root .ex-scell .v{display:block;font-size:.66rem;font-weight:800;color:#5a4650;margin-top:1px;}
#date-sim-root .ex-scell.zero{opacity:.32;}
#date-sim-root .ex-scalar{font-size:1.15rem;font-weight:900;color:var(--pink-d);}
#date-sim-root .ex-plangrid{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;}
#date-sim-root .ex-pcell{background:#fff;border:1px solid #ffe1ed;border-radius:7px;padding:6px 2px;text-align:center;min-width:0;overflow:hidden;}
#date-sim-root .ex-pcell .pi{font-size:.78rem;color:var(--pink);}
#date-sim-root .ex-pcell .pn{display:block;font-size:.52rem;color:#9a7080;font-weight:700;margin:2px 0 1px;line-height:1.15;}
#date-sim-root .ex-pcell .pv{display:block;font-size:.68rem;font-weight:800;color:#5a4650;}
#date-sim-root .ex-pcell.zero{opacity:.32;}
#date-sim-root .ex-planrow,#date-sim-root .ex-flagrow{font-size:.76rem;color:#5a4650;display:flex;justify-content:space-between;gap:8px;padding:2px 0;}
#date-sim-root .ex-flagrow .vl{color:#8a6b78;font-weight:600;}
#date-sim-root .ex-break{margin-top:8px;border-top:1px dashed #ffe1ed;padding-top:6px;}
#date-sim-root .ex-brow{display:flex;align-items:center;gap:6px;font-size:.68rem;color:#8a6b78;padding:2px 0;}
#date-sim-root .ex-brow img{width:18px;height:18px;border-radius:4px;object-fit:cover;flex-shrink:0;}
#date-sim-root .ex-brow .nm{flex:0 0 auto;max-width:38%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#date-sim-root .ex-brow .vl{flex:1;text-align:right;font-weight:700;color:#5a4650;}
#date-sim-root .ex-empty{font-size:.74rem;color:#b89aa8;text-align:center;padding:14px;}
#date-sim-root .lk-brow{align-items:center;}
#date-sim-root .lk-brow .vl{flex:1;text-align:right;}
#date-sim-root .lk-avs-sm{display:inline-flex;gap:3px;flex:0 0 auto;}
#date-sim-root .lk-av-sm{width:22px;height:22px;border-radius:5px;object-fit:cover;border:1px solid var(--pink);}
#date-sim-root .lk-av-sm.off{filter:grayscale(1);opacity:.4;border-color:#e6dfe3;}
#date-sim-root .ex-note{font-size:.72rem;line-height:1.5;color:#9a6a2e;background:#fff6e6;border:1px solid #ffe0a8;border-radius:10px;padding:9px 11px;margin-bottom:11px;}
#date-sim-root .ex-note b{color:#c9802a;}
#date-sim-root .ex-block.off{opacity:.6;background:#f7f3f5;border-color:#eee;}
#date-sim-root .ex-block.off .ex-bhead{color:#aa9aa3;}
#date-sim-root .ex-badge.off{background:#e8e3e6;color:#999;}
#date-sim-root .ex-off-head{font-size:.66rem;font-weight:800;color:#b0a0a8;margin:14px 0 6px;border-top:1px dashed #ffe1ed;padding-top:10px;}
#date-sim-root .btn-del{width:100%;margin-top:8px;padding:11px;border:1.5px solid #f0a8b8;border-radius:11px;background:#fff;color:#d6557a;font-size:.84rem;font-weight:800;font-family:inherit;cursor:pointer;}
#date-sim-root .btn-del:active{transform:translateY(1px);}

/* デート編成強化レベル入力 */
#date-sim-root .enh-block{margin-top:13px;padding-top:12px;border-top:1px dashed #ffd6e6;}
#date-sim-root .enh-input-row{display:flex;align-items:center;gap:8px;}
#date-sim-root .enh-lvtag{font-size:.82rem;font-weight:800;color:var(--pink-d);}
#date-sim-root #enhLvInput{width:88px;border:1.5px solid #ffd1e0;border-radius:9px;padding:9px 10px;font-size:.95rem;font-weight:800;font-family:inherit;color:#5a4650;background:#fff8fc;text-align:center;}
#date-sim-root #enhLvInput:focus{outline:none;border-color:var(--pink);background:#fff;box-shadow:0 0 0 3px rgba(253,121,168,.12);}
#date-sim-root .obj-block .enh-input-hint{display:block;margin-top:6px;}
#date-sim-root .obj-stat-row{display:flex;gap:8px;}
#date-sim-root .obj-stat-pick{flex:1;display:flex;flex-direction:column;gap:4px;font-size:.7rem;font-weight:700;color:var(--label);}
#date-sim-root .obj-stat-pick select{border:1.5px solid #ffd1e0;border-radius:9px;padding:9px 10px;font-size:.9rem;font-weight:800;font-family:inherit;color:#5a4650;background:#fff8fc;}
#date-sim-root .obj-stat-pick select:focus{outline:none;border-color:var(--pink);background:#fff;box-shadow:0 0 0 3px rgba(253,121,168,.12);}
#date-sim-root .enh-input-hint{font-size:.68rem;color:var(--label);}
/* 抽出パネル内の編成強化ブロック */
#date-sim-root .ex-enh{border:1px solid #ffd9b0;background:linear-gradient(180deg,#fffdf7,#fff8ee);}
#date-sim-root .ex-enh .ex-bhead{color:#c98a2e;}
#date-sim-root .ex-enh .ex-badge{background:#fff0d9;color:#c98a2e;}
#date-sim-root .ex-enh-sub{font-size:.64rem;font-weight:800;color:#c98a2e;margin:8px 0 3px;}
#date-sim-root .ex-enh-line{font-size:.72rem;color:#8a6b78;padding:1px 0;}
#date-sim-root .ex-enh-line b{color:#c98a2e;}

/* ===== 獲得スキルから育成キャラを抽出 → 戦闘シミュへ転送 ===== */
#date-sim-root .tc-hint{font-size:.78rem;line-height:1.6;color:#8a6b78;margin:2px 0 12px;}
#date-sim-root .tc-hint b{color:#e0599a;}
#date-sim-root .tc-acq-btn{margin-top:0;}
#date-sim-root .tc-progress{color:#8a6b78;font-size:.85rem;padding:12px 4px;}
#date-sim-root .tc-listhead{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:14px 0 6px;font-size:.76rem;font-weight:800;color:#8a6b78;}
#date-sim-root .tc-selcount{background:#fff0f6;color:#e0599a;border-radius:999px;padding:2px 10px;font-weight:900;white-space:nowrap;}
#date-sim-root .tc-skills{max-height:340px;}
#date-sim-root .tc-check{display:flex;align-items:center;gap:8px;width:100%;cursor:pointer;margin:0;}
#date-sim-root .tc-check .sr-skn{flex:1;}
#date-sim-root .tc-cb{width:17px;height:17px;flex-shrink:0;accent-color:#fd79a8;cursor:pointer;}
#date-sim-root .sr-skill.sr-r5 .sr-inner .tc-check{padding:0;}
#date-sim-root .tc-searchrow{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;}
#date-sim-root .tc-nlabel{font-size:.82rem;font-weight:800;color:#5a4650;white-space:nowrap;}
#date-sim-root .tc-nlabel select{border:1.5px solid #ffd1e0;border-radius:9px;padding:7px 9px;font-size:.9rem;font-weight:800;font-family:inherit;color:#5a4650;background:#fff8fc;text-align:center;}
#date-sim-root .tc-search-btn{flex:1;min-width:220px;margin-top:0;padding:14px;}
#date-sim-root .tc-found{font-size:.8rem;line-height:1.6;font-weight:700;border-radius:10px;padding:10px 12px;margin:14px 0 12px;}
#date-sim-root .tc-found.ok{background:#effaf1;color:#219150;border:1px solid #b8e6c6;}
#date-sim-root .tc-found.ok b{color:#178a45;}
#date-sim-root .tc-found.ng{background:#fff6e9;color:#b5761c;border:1px solid #f4d9a8;}
#date-sim-root .tc-found i{margin-right:5px;}
#date-sim-root .tc-charahead{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#fff0f6,#ffe6f0);border:1px solid #ffd1e0;border-radius:12px;padding:10px 14px;margin-bottom:12px;}
#date-sim-root .tc-charahead img{width:48px;height:48px;border-radius:9px;object-fit:cover;background:#fff;flex-shrink:0;box-shadow:0 2px 6px rgba(253,121,168,.2);}
#date-sim-root .tc-charaname{font-weight:900;font-size:1rem;color:#5a4650;}
#date-sim-root .tc-characp{font-size:.82rem;color:#8a6b78;margin-top:2px;}
#date-sim-root .tc-characp b{color:#e0599a;font-size:.95rem;}
#date-sim-root .tc-star{color:#f5b301;font-size:.78rem;margin-right:1px;}
#date-sim-root .tc-transfer-btn{margin-top:14px;background:linear-gradient(135deg,#6c8cff,#5a6ee0);box-shadow:0 6px 18px rgba(90,110,224,.32);}
#date-sim-root .tc-transfer-btn.tc-done{background:linear-gradient(135deg,#2ecc71,#27ae60);box-shadow:0 6px 18px rgba(46,204,113,.3);pointer-events:none;cursor:default;}
#date-sim-root .tc-transnote{font-size:.72rem;color:#8a6b78;line-height:1.55;margin-top:8px;text-align:center;}

/* ホームカードのアクセント（ホームカードは #date-sim-root 外なので非スコープ） */
.home-card.hc-date-sim::before { background: linear-gradient(90deg, #fd79a8, #ffb6cf); }
.home-card.hc-date-sim i { color: #fd79a8; }
