/* 絵師のサムネイル（#289 §10⑦・A案）。色はメインボードの札を使う。 */
#artists{gap:28px}
#artists-body{display:flex;flex-direction:column;gap:28px}
#artists-notice{margin-top:-10px;white-space:pre-line}
.artists-queue h2 .sub,.artists-editor h2 .sub{font-weight:400;font-size:16px;margin-left:10px}
.artists-cards{display:flex;flex-wrap:wrap;gap:10px}
.artists-card{display:flex;align-items:center;gap:10px;background:var(--fill);padding:10px 14px 10px 10px;border-radius:12px;text-align:left;min-height:64px}
.artists-card[aria-pressed=true]{background:var(--card);box-shadow:0 0 0 2px var(--accent)}
.artists-card-words{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.artists-card-words .sub{font-size:16px}
.artists-thumb{display:block;flex:none;background-color:#d8cdb6;background-repeat:no-repeat;background-size:cover;background-position:center;overflow:hidden}
.artists-square{border-radius:3px}
.artists-circle{border-radius:50%}
.artists-empty{border:1px solid var(--line);border-radius:12px}
.artists-work{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:28px;padding:20px;overflow:visible}
.artists-column{display:flex;flex-direction:column;gap:14px;min-width:0}
.artists-stage{position:relative;width:100%;background:var(--fill);border-radius:8px;overflow:hidden;line-height:0;touch-action:none;user-select:none;-webkit-user-select:none}
.artists-stage img{display:block;width:100%;height:auto;pointer-events:none}
.artists-frame{position:absolute;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 9999px rgba(0,0,0,.45);cursor:grab;touch-action:none}
.artists-frame:active{cursor:grabbing}
.artists-frame:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.artists-frame::after{content:"";position:absolute;right:-9px;bottom:-9px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.4);cursor:nwse-resize}
.artists-stage-note{position:absolute;left:8px;bottom:8px;padding:5px 8px;border-radius:6px;background:rgba(0,0,0,.65);color:#fff;font-size:16px;line-height:1.3;pointer-events:none}
.artists-stage.artists-no-photo{min-height:260px;display:grid;place-items:center}
.artists-no-photo .artists-stage-note{position:static;background:var(--fill);color:var(--sub);text-align:center;max-width:260px}
.artists-fit{color:var(--sub);background:var(--fill);padding:10px 12px;border-radius:10px}
.artists-label{color:var(--sub);font-size:16px;margin:0}
/* 過去の商品まで並ぶので（数百枚になりうる）、3段ぶんの高さで列の中だけスクロールする */
.artists-photos{display:flex;flex-wrap:wrap;gap:10px;max-height:272px;overflow-y:auto;padding:4px;margin:-4px}
.artists-photo{width:58px;height:76px;border-radius:6px;padding:0;overflow:hidden;background:var(--fill);outline:2px solid transparent;outline-offset:2px;flex:none}
.artists-photo[aria-pressed=true]{outline-color:var(--accent)}
.artists-photo img{display:block;width:100%;height:100%;object-fit:cover}
.artists-busy-note{position:absolute;inset:auto 0 0;background:rgba(0,0,0,.75);color:#fff;font-size:16px;line-height:1.2;padding:3px}
.artists-photo{position:relative}
.artists-photo.artists-upload{display:grid;place-items:center;color:var(--accent);font-weight:600;font-size:14px;padding:5px;line-height:1.2;text-align:center}
#artists-zoom{width:100%;accent-color:var(--accent)}
.artists-analysis{background:var(--fill);border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:6px}
.artists-analysis p{overflow-wrap:anywhere}
.artists-seed{color:var(--sub)}
.artists-shop{background:#fbfaf7;color:#1f2a33;border:1px solid var(--line);border-radius:10px;padding:6px 14px;font-family:Georgia,"Hiragino Mincho ProN","Yu Mincho",serif}
.artists-shop-row{display:flex;align-items:center;gap:12px;padding:7px 0;border-bottom:1px solid rgba(31,42,51,.12);min-height:58px}
.artists-shop-row:last-child{border-bottom:0}
.artists-shop-row.own{background:rgba(0,113,227,.08);margin:0 -14px;padding-left:14px;padding-right:14px}
.artists-shop-count{margin-left:auto;color:#5b6670;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans",sans-serif}
.artists-sizes{display:flex;align-items:flex-end;flex-wrap:wrap;gap:18px}
.artists-size{display:flex;flex-direction:column;gap:5px;align-items:center;color:var(--sub);font-size:16px}
.artists-why{display:flex;flex-direction:column;gap:9px}
.artists-reasons{display:flex;flex-wrap:wrap;gap:7px}
.artists-reason{background:var(--fill);border-radius:980px;padding:7px 12px;font-size:16px}
.artists-reason[aria-pressed=true]{background:var(--accent);color:#fff}
.artists-why input{font:inherit;font-size:16px;width:100%;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--text)}
.artists-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.artists-more{display:flex;gap:16px;flex-wrap:wrap}
.artists-selected{color:var(--sub)}
.artists-variant-details summary{cursor:pointer;list-style:none;width:fit-content}
.artists-variant-details summary::-webkit-details-marker{display:none}
.artists-variants{display:flex;flex-direction:column;gap:2px;margin-top:8px}
.artists-variant-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.artists-variant-group{width:44px;flex:none;color:var(--sub)}
.artists-variant{position:relative;display:flex;flex-direction:column;align-items:center;gap:1px;border-radius:10px;padding:1px 4px;color:var(--sub);min-width:96px;font-size:14px;line-height:16px}
.artists-variant:hover{background:var(--fill)}
.artists-variant[aria-pressed=true]{background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--accent);font-weight:600}
.artists-recent-list{display:flex;flex-direction:column}
.artists-recent-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line)}
.artists-recent-row:last-child{border-bottom:0}
.artists-recent-text{display:flex;flex-direction:column;flex:1;min-width:0;overflow-wrap:anywhere}
.artists-recent-actions{display:flex;gap:12px;flex-wrap:wrap}
.artists-dialog{position:fixed;inset:0;z-index:30;background:rgba(0,0,0,.45);display:grid;place-items:center;padding:16px}
.artists-dialog-card{background:var(--card);border-radius:16px;padding:22px;max-width:420px;width:100%;display:flex;flex-direction:column;gap:14px;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.artists-dialog-card h3{font-size:19px;margin:0}
.artists-dialog-preview{display:flex;gap:14px;align-items:center}
.artists-dialog-actions{display:flex;justify-content:flex-end;gap:10px}
@media(max-width:900px){.artists-work{grid-template-columns:1fr}}
@media(max-width:720px){.artists-work{padding:14px}.artists-stage{max-width:400px}.artists-recent-row{align-items:flex-start;flex-wrap:wrap}.artists-recent-actions{width:100%;padding-left:56px}.artists-sizes .artists-size:last-child .artists-thumb{width:180px!important;height:180px!important}}
@media(prefers-reduced-motion:reduce){#artists *{scroll-behavior:auto!important}}
