.board-connections{position:absolute;inset:0;width:100%;height:100%;z-index:10000;overflow:visible;pointer-events:none}
.board-connections line{stroke-linecap:round;vector-effect:non-scaling-stroke}
.board-thread .thread-shadow{stroke:#16090a;stroke-width:2.6;opacity:.58}
.board-thread .thread-fiber{stroke:#8f2228;stroke-width:1.45;filter:url(#thread-texture) drop-shadow(0 1px 1px rgba(0,0,0,.65))}
.board-thread .thread-highlight{stroke:#c95455;stroke-width:.48;stroke-dasharray:1.2 2.1;opacity:.72}
.board-connections .draft-thread[hidden],.board-connections .draft-thread[visibility="hidden"]{display:none!important}
.board-thread circle{fill:#a8242a;stroke:#641419;stroke-width:2;filter:drop-shadow(0 2px 2px rgba(0,0,0,.65))}
.board-watermark{z-index:0}
.board-item{z-index:2;min-height:110px;padding:22px 16px 16px;background:#d9d0b8;color:#27251f;transition:width .16s ease,min-height .16s ease}
.board-item.record{display:grid;grid-template-columns:minmax(70px,34%) 1fr;gap:12px;align-items:start;background:linear-gradient(145deg,#e0d7c1,#c9bea5)}
.board-item.clue:before{display:none}
.board-item.record.item{background:linear-gradient(145deg,#e5d7ae,#cdbc8c)}
.board-item.record.profile{display:block;width:176px!important;min-height:0;padding:14px 14px 25px;background:linear-gradient(145deg,#e1dccf,#bdb6a6);transform:rotate(-1.5deg)}
.board-item figure{display:grid;place-items:center;height:84px;margin:0;border:1px solid rgba(69,54,35,.22);background:rgba(255,255,255,.28);overflow:hidden}
.board-item figure img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 4px rgba(0,0,0,.25))}
.board-item.record.profile figure{width:148px;height:190px;border:0;background:#c7c0b1}
.board-item.record.profile figure img{object-fit:cover;object-position:top;filter:saturate(.68) contrast(1.06);box-shadow:none}
.board-record-copy{min-width:0}
.board-record-copy small{font-size:8px;letter-spacing:.16em;color:#766444}
.board-item h4{margin:5px 0 7px;font-size:14px;line-height:1.25}
.board-item p{margin:0;font-size:10px;line-height:1.55;color:#4e4a3f}
.board-item .pin{z-index:4;width:18px;height:18px;padding:0;border:2px solid #6d171d;background:radial-gradient(circle at 38% 30%,#f06b67 0 16%,#b1242b 38%,#67151a 100%);top:5px;left:50%;transform:translateX(-50%);box-shadow:0 3px 5px rgba(0,0,0,.55);cursor:crosshair;touch-action:none}
.board-item .pin:after{content:"";position:absolute;left:6px;top:14px;width:2px;height:8px;background:#8b7a5c;transform:rotate(8deg);transform-origin:top}
.board-item .pin:hover,.board-item .pin.connecting{box-shadow:0 0 0 5px rgba(244,196,48,.25),0 3px 5px rgba(0,0,0,.55)}
.board-item.note{width:150px;min-width:150px;min-height:0;padding:25px 15px 13px}
.board-item.note textarea{display:block;width:100%;min-height:32px;height:32px;overflow:hidden;line-height:1.55}
.board-source-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:16px 0 10px}.board-source-tabs button{height:34px;border:1px solid #34484f;background:#101d21;color:#73858a;font-size:9px;cursor:pointer}.board-source-tabs button:hover,.board-source-tabs button.active{border-color:#b99a5b;background:#1b2424;color:#d7bd82}.board-source{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:7px;margin-top:0}.board-source-card{position:relative;display:grid;aspect-ratio:1;place-items:center;padding:5px;overflow:hidden;border:1px solid #34484f;background:#101b1f;cursor:pointer}.board-source-card:hover{border-color:#c1a25e;background:#182528}.board-source-card:after{content:"";position:absolute;inset:3px;border:1px solid rgba(185,154,91,.1);pointer-events:none}.board-source-card img{display:block;width:100%;height:100%;object-fit:contain;background:transparent;filter:drop-shadow(0 4px 4px rgba(0,0,0,.42))}.board-source-card.profile img{object-fit:cover;object-position:top;filter:saturate(.65) contrast(1.04)}
.board-item.dragging{z-index:5}
.board-item.dragging,.board-item:has(.pin.connecting){transition:none}
.board-layout>aside{min-height:0;overflow:hidden}
.board-source{max-height:calc(100vh - 230px);padding-right:5px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#554b39 transparent}
