.constellation-draft{--draft-bg:#f7f6f2;--draft-surface:#fff;--draft-border:#e2e0d8;--draft-border2:#c8c5ba;--draft-text:#1a1916;--draft-muted:#6b6960;--draft-accent:#2f5be7;--draft-accent-bg:#eef1fd;--draft-danger:#c0392b;--draft-danger-bg:#fdf0ef;--draft-success:#1a7a4a;--draft-success-bg:#edf7f2;--draft-radius:10px;min-width:0;color:var(--draft-text);gap:12px;display:grid}.constellation-draft-list li[data-draft-attribute*=炎] strong,.constellation-draft-list li[data-draft-attribute*=炎] .constellation-draft-attr{color:#c0392b}.constellation-draft-list li[data-draft-attribute*=水] strong,.constellation-draft-list li[data-draft-attribute*=水] .constellation-draft-attr{color:#1a7ab5}.constellation-draft-list li[data-draft-attribute*=森] strong,.constellation-draft-list li[data-draft-attribute*=森] .constellation-draft-attr{color:#1a7a4a}.constellation-draft-list li[data-draft-attribute*=光] strong,.constellation-draft-list li[data-draft-attribute*=光] .constellation-draft-attr{color:#b08800}.constellation-draft-list li[data-draft-attribute*=闇] strong,.constellation-draft-list li[data-draft-attribute*=闇] .constellation-draft-attr{color:#6b3fa0}.constellation-draft-period{border:1px solid var(--draft-border);border-radius:var(--draft-radius);background:var(--draft-bg);padding:10px 14px}.constellation-draft-period p{color:var(--draft-muted);margin:0;font-size:.78rem;font-weight:600;line-height:1.6}.constellation-draft-period p:last-child{color:var(--draft-danger)}.constellation-draft-toolbar,.constellation-draft-move{align-items:center;display:flex}.constellation-draft-toolbar{justify-content:space-between;gap:8px}.constellation-draft-time,.constellation-draft-help{color:var(--draft-muted);margin:0;font-size:.78rem;line-height:1.4}.constellation-draft-review,.constellation-draft-apply,.constellation-draft-copy,.constellation-draft-move button,.constellation-draft-dialog-card button{border:1px solid var(--draft-border2);min-height:32px;color:var(--draft-muted);font:inherit;cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;padding:0 12px;font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}.constellation-draft-review:hover,.constellation-draft-apply:hover,.constellation-draft-copy:hover,.constellation-draft-move button:hover,.constellation-draft-dialog-card button:hover{background:var(--draft-bg);border-color:var(--draft-border2)}.constellation-draft-review:active,.constellation-draft-apply:active,.constellation-draft-copy:active,.constellation-draft-move button:active{transform:scale(.97)}.constellation-draft-review:disabled,.constellation-draft-apply:disabled,.constellation-draft-copy:disabled,.constellation-draft-move button:disabled,.constellation-draft-submit:disabled{opacity:.4;cursor:not-allowed}.constellation-draft-table{border:1px solid var(--draft-border);border-radius:var(--draft-radius);background:var(--draft-surface);grid-template-rows:auto minmax(0,1fr);gap:0;min-width:0;max-height:min(70vh,640px);display:grid;overflow:hidden}.constellation-draft-head,.constellation-draft-row{grid-template-columns:3.1rem minmax(0,1fr) 3.6rem 4.2rem 2.2rem;align-items:center;column-gap:6px;min-width:0;display:grid}.constellation-draft-head{background:var(--draft-bg);border-bottom:1px solid var(--draft-border);color:var(--draft-muted);letter-spacing:.03em;padding:8px 10px;font-size:.7rem;font-weight:700}.constellation-draft-head span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.constellation-draft-list{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;align-content:start;gap:0;min-height:0;margin:0;padding:0 4px 0 0;list-style:none;display:grid;overflow-y:auto}.constellation-draft-list::-webkit-scrollbar{width:8px}.constellation-draft-list::-webkit-scrollbar-track{background:var(--draft-bg);border-radius:4px}.constellation-draft-list::-webkit-scrollbar-thumb{background:var(--draft-border2);border-radius:4px}.constellation-draft-list:has(.constellation-draft-dragging){touch-action:none}.constellation-draft-list li{border-bottom:1px solid var(--draft-border);background:var(--draft-surface);cursor:pointer;-webkit-user-select:none;user-select:none;min-height:42px;padding:6px 10px;font-size:.88rem;transition:background .1s;position:relative}.constellation-draft-list li:last-child{border-bottom:none}.constellation-draft-list li.constellation-draft-dragging{opacity:.35;background:var(--draft-accent-bg)}.constellation-draft-list li.constellation-draft-dragging:before{content:"";background:var(--draft-accent);height:2px;position:absolute;top:-1px;left:0;right:0}.constellation-draft-handle{border:0;border-left:1px solid var(--draft-border);color:#bbb;cursor:grab;touch-action:none;background:0 0;border-radius:0;justify-content:center;align-self:stretch;align-items:center;height:auto;margin:-6px -10px -6px 0;padding:0;font-size:1.05rem;line-height:1;display:flex}.constellation-draft-handle:disabled{opacity:.4;cursor:not-allowed}.constellation-draft-handle:hover{color:#888;background:#f5f4f0}.constellation-draft-handle:active,.constellation-draft-list li.constellation-draft-dragging .constellation-draft-handle{cursor:grabbing;color:var(--draft-accent)}.constellation-draft-wish-input{border:1px solid var(--draft-border2);background:var(--draft-surface);width:100%;min-width:0;height:30px;color:var(--draft-text);font:inherit;text-align:center;font-variant-numeric:tabular-nums;border-radius:6px;padding:0 2px;font-weight:700;transition:border-color .15s,box-shadow .15s;box-shadow:inset 0 1px 2px #0000000f}.constellation-draft-wish-input:focus{border-color:var(--draft-accent);box-shadow:0 0 0 2px var(--draft-accent-bg);outline:none}.constellation-draft-wish,.constellation-draft-rank{color:var(--draft-muted);text-align:center;font-variant-numeric:tabular-nums;font-weight:700}.constellation-draft-name-cell{align-items:baseline;gap:3px;min-width:0;display:flex}.constellation-draft-list strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.constellation-draft-attr{color:var(--draft-muted);flex-shrink:0;font-size:.72rem;font-weight:400}.constellation-draft-toggle{border:1px solid var(--draft-border);color:var(--draft-muted);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border-radius:6px;padding:3px 6px;font-size:.62rem;font-weight:600}.constellation-draft-toggle:hover{background:var(--draft-bg);border-color:var(--draft-border2)}.constellation-draft-desc{border-top:1px solid var(--draft-border);background:var(--draft-bg);color:var(--draft-muted);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:8px 10px 10px;font-size:.78rem;line-height:1.6}.constellation-draft-paste{border:1px solid var(--draft-border);border-radius:var(--draft-radius);background:var(--draft-surface);gap:8px;padding:14px;display:grid;box-shadow:0 1px 3px #0000000f}.constellation-draft-paste label{color:var(--draft-muted);font-size:.78rem;font-weight:600}.constellation-draft-paste textarea{resize:vertical;border:1px solid var(--draft-border);background:var(--draft-surface);width:100%;min-height:88px;color:var(--draft-text);font:inherit;border-radius:7px;padding:9px 10px;line-height:1.4;transition:border-color .15s}.constellation-draft-paste textarea:focus{border-color:var(--draft-accent);outline:none}.constellation-draft-apply,.constellation-draft-copy{flex:1}.constellation-draft-paste-actions{align-items:center;gap:8px;min-width:0;display:flex}.constellation-draft-paste .personal-error,.constellation-draft-paste .constellation-draft-ok{min-width:0;margin:0}.constellation-draft-move{justify-content:flex-end;gap:4px}.constellation-draft-move button{width:30px;padding:0}.constellation-draft-ok{background:var(--draft-success-bg);color:var(--draft-success);border-radius:7px;margin:0;padding:9px 12px;font-size:.82rem;font-weight:600}.constellation-draft .personal-error{background:var(--draft-danger-bg);color:var(--draft-danger);border-radius:7px;margin:0;padding:9px 12px;font-size:.82rem;font-weight:600}.constellation-draft-submit{width:min(100%,280px);min-height:40px;font:inherit;cursor:pointer;border-radius:8px;justify-content:center;justify-self:center;align-items:center;gap:6px;padding:0 20px;font-weight:700;transition:opacity .15s,transform .1s,background .15s;display:inline-flex}.constellation-draft-submit:active{transform:scale(.97)}button.constellation-draft-submit[type=submit]{background:var(--draft-accent);color:#fff;border:none}button.constellation-draft-submit[type=submit]:hover{opacity:.88}button.constellation-draft-submit[type=button]{border:1px solid var(--draft-border2);color:var(--draft-muted);background:0 0;font-size:.82rem;font-weight:500}button.constellation-draft-submit[type=button]:hover{background:var(--draft-bg)}.constellation-draft-dialog{z-index:20;box-sizing:border-box;background:#1a191666;justify-content:center;align-items:center;height:100%;min-height:0;padding:16px;display:flex;position:fixed;top:0;left:0;right:0;overflow:hidden}.constellation-draft-dialog-card{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border:1px solid var(--draft-border,#e2e0d8);border-radius:var(--draft-radius,10px);background:#fff;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;width:min(100%,520px);min-height:0;max-height:100%;padding:18px;display:grid;overflow:auto;box-shadow:0 8px 24px #00000038}.constellation-draft-dialog-card h2,.constellation-draft-dialog-card p,.constellation-draft-dialog-card ol,.constellation-draft-dialog-card button{margin:0}.constellation-draft-dialog-card h2{font-size:1rem;font-weight:700}.constellation-draft-dialog-body,.constellation-draft-review-body{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;overflow:auto}.constellation-draft-dialog-body::-webkit-scrollbar{width:8px}.constellation-draft-review-body::-webkit-scrollbar{width:8px}.constellation-draft-dialog-body::-webkit-scrollbar-track{background:var(--draft-bg,#f7f6f2);border-radius:4px}.constellation-draft-review-body::-webkit-scrollbar-track{background:var(--draft-bg,#f7f6f2);border-radius:4px}.constellation-draft-dialog-body::-webkit-scrollbar-thumb{background:var(--draft-border2,#c8c5ba);border-radius:4px}.constellation-draft-review-body::-webkit-scrollbar-thumb{background:var(--draft-border2,#c8c5ba);border-radius:4px}.constellation-draft-dialog-body p,.constellation-draft-review-body p{overflow-wrap:anywhere;white-space:normal;color:var(--draft-muted,#6b6960);font-size:.85rem;line-height:1.65}.constellation-draft-review-list{gap:0;margin:8px 0 0;padding:0;list-style:none;display:grid}.constellation-draft-review-list li{border-bottom:1px solid var(--draft-border,#e2e0d8);grid-template-columns:2.6rem minmax(0,1fr);align-items:start;column-gap:8px;padding:7px 2px;font-size:.85rem;display:grid}.constellation-draft-review-rank{color:var(--draft-muted,#6b6960);text-align:right;font-variant-numeric:tabular-nums;font-weight:700}.constellation-draft-review-name{overflow-wrap:anywhere;min-width:0}.constellation-draft-master{background:#fff;border:1px solid #d7d7d7;border-radius:10px;gap:16px;width:min(100%,560px);margin:32px auto;padding:20px;display:grid}.constellation-draft-master h1,.constellation-draft-master h2{margin:0}.constellation-draft-master form{gap:10px;display:grid}.constellation-draft-master label{gap:6px;font-weight:700;display:grid}.constellation-draft-master input[type=datetime-local]{width:100%;min-height:40px;font:inherit;border:1px solid #bbb;border-radius:6px;padding:8px 10px}.constellation-draft-master button{color:#fff;min-height:44px;font:inherit;cursor:pointer;background:#242424;border:0;border-radius:7px;padding:10px 16px;font-weight:700}.constellation-draft-master button:disabled{cursor:not-allowed;background:#bbb}
