/* Presentation only. Access policies are unchanged. */
.thoughts-chain{--chain-size:14px;--seal-size:38px;position:absolute;inset:0;display:block;pointer-events:none;overflow:hidden;border-radius:inherit;z-index:3;isolation:isolate}
.thoughts-chain i{position:absolute;left:-15%;top:calc(50% - var(--chain-size)/2);width:130%;height:var(--chain-size);transform:rotate(-24deg);border-radius:8px;overflow:hidden;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16'%3E%3Cdefs%3E%3ClinearGradient id='m' x2='0' y2='1'%3E%3Cstop stop-color='%23f5f3ea'/%3E%3Cstop offset='.3' stop-color='%23b3b8bc'/%3E%3Cstop offset='.5' stop-color='%234f565e'/%3E%3Cstop offset='.75' stop-color='%23d1d6d9'/%3E%3Cstop offset='1' stop-color='%23656b72'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='%23232930' stroke-width='5'%3E%3Cellipse cx='10' cy='8' rx='12' ry='5'/%3E%3Cellipse cx='30' cy='8' rx='12' ry='5'/%3E%3C/g%3E%3Cg fill='none' stroke='url(%23m)' stroke-width='3'%3E%3Cellipse cx='10' cy='8' rx='12' ry='5'/%3E%3Cellipse cx='30' cy='8' rx='12' ry='5'/%3E%3C/g%3E%3Cpath d='M19 5v6M39 5v6' stroke='%23e4e7e5' stroke-width='1.2'/%3E%3C/svg%3E") repeat-x;background-size:auto 100%;filter:drop-shadow(0 2px 1px #080b1099)}
.thoughts-chain i+i{transform:rotate(24deg);z-index:1}
.thoughts-chain i::after{content:"";position:absolute;inset:-2px auto -2px -35%;width:25%;background:linear-gradient(105deg,transparent,#fff4 34%,#fff9 48%,#fff2 62%,transparent);mix-blend-mode:screen;opacity:0;animation:thoughts-chain-glint 8s ease-in-out infinite}
.thoughts-chain i+i::after{animation-delay:1.1s}
.thoughts-chain b{position:absolute;left:50%;top:50%;width:var(--seal-size);height:var(--seal-size);transform:translate(-50%,-50%);display:grid;place-items:center;z-index:2;border:3px double #d5ad6b;border-radius:50%;background:radial-gradient(ellipse at 32% 22%,#d2967c77,transparent 42%),repeating-conic-gradient(from 8deg,#7a2933 0deg 12deg,#8c3840 12deg 24deg);color:#f3d497;box-shadow:0 1px 0 #fff5,inset 0 2px 3px #f6bca155,inset 0 -3px 5px #350c20aa,0 3px 4px #100b1bb3,0 0 0 1px #38212ba3;font:600 calc(var(--seal-size)*.53)/1 Georgia,serif;text-shadow:0 1px 0 #3d1526,0 -1px 0 #fff5;transition:filter .3s,box-shadow .3s}
.thoughts-chain b::before{content:"";position:absolute;inset:3px;border:1px solid #e8b97677;border-radius:inherit;box-shadow:inset 0 0 0 1px #3d17284d}
.thoughts-chain b::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(115deg,transparent 25%,#fff6 46%,transparent 63%);opacity:0;animation:thoughts-seal-glint 9s ease-in-out infinite 1.7s}
/* A brass padlock identifies the member book; wax seals identify owner books. */
:is([data-volume-id="volume-202"],[data-home-volume="volume-202"],.thoughts-access-panel:has(a[href="account.html"])) .thoughts-chain b{border:1px solid #dec391;border-radius:5px;background:linear-gradient(115deg,#c28b3f,#f4dc9c 27%,#a66b2e 55%,#e4bc73 79%,#865020);font-size:0;color:transparent;box-shadow:inset 0 1px 1px #fff9,inset 0 -2px 2px #55341599,0 3px 4px #100b1bb3;width:calc(var(--seal-size)*.86);height:calc(var(--seal-size)*.72);top:54%}
:is([data-volume-id="volume-202"],[data-home-volume="volume-202"],.thoughts-access-panel:has(a[href="account.html"])) .thoughts-chain b::before{inset:auto;left:22%;bottom:86%;width:56%;height:65%;border:3px solid #cfcbc1;border-bottom:0;border-radius:50% 50% 0 0;background:linear-gradient(90deg,#2f303455,transparent,#ffffff35);box-shadow:inset 1px 0 0 #fff9,1px -1px 0 #24273088}
:is([data-volume-id="volume-202"],[data-home-volume="volume-202"],.thoughts-access-panel:has(a[href="account.html"])) .thoughts-chain b::after{inset:30% auto auto 44%;width:12%;height:42%;border-radius:50% 50% 25% 25%;background:#49311c;box-shadow:0 1px 0 #ffedb999;opacity:1;animation:none}
.notes-v12-book.is-restricted{position:relative}.notes-v12-book.is-restricted .thoughts-chain{--chain-size:10px;--seal-size:27px}
.home-library-spine.is-restricted{position:relative;overflow:hidden}.home-library-spine .thoughts-chain{--chain-size:8px;--seal-size:22px}
:is(.notes-v12-book,.home-library-spine):is(:hover,:focus-visible,.is-active) .thoughts-chain b{filter:brightness(1.13);box-shadow:0 1px 0 #fff7,inset 0 1px 3px #f6bca155,0 4px 6px #100b1bb3,0 0 8px #efd39a33}
.thoughts-closed-cover{position:relative;isolation:isolate;display:grid;place-items:center;width:160px;height:205px;margin:15px auto 28px;padding:20px;background:radial-gradient(ellipse at 70% 10%,#94709b44,transparent 65%),repeating-linear-gradient(9deg,#ffffff03 0 1px,transparent 1px 4px),linear-gradient(100deg,#281d35 0 7%,#765383 9%,#4e355e 15%,#60426e 83%,#38263f);border:1px solid #b99660;border-radius:4px 10px 10px 4px;color:#f3dfb8;box-shadow:inset 0 0 0 4px #24172b55,inset 0 0 0 5px #d8b97544,inset 6px 0 9px #130c2277,5px 9px 16px #0003;text-align:center;font:600 23px/1.3 Georgia,serif}
.thoughts-closed-cover::before{content:"";position:absolute;inset:12px;border:1px solid #c6a56b55;border-radius:1px 4px 4px 1px;pointer-events:none}
.thoughts-closed-cover>strong{align-self:start;padding-top:0;font-size:20px;line-height:1.15;text-shadow:0 1px 1px #150e20,0 -1px 0 #fff2;letter-spacing:.025em}
.thoughts-closed-cover .thoughts-chain{--chain-size:16px;--seal-size:48px}
.thoughts-access-panel{text-align:center;max-width:580px;margin:auto;padding:18px;line-height:1.65}.thoughts-access-panel h3{font-size:1.3rem;letter-spacing:.035em}.thoughts-access-panel>.button{margin:6px;transition:box-shadow .2s,filter .2s}.thoughts-access-panel>.button:hover{filter:brightness(1.06)}.thoughts-access-panel>.button:focus-visible{outline:2px solid #b48a4b;outline-offset:4px}.thoughts-access-feedback{min-height:1.4em}
#thoughts-access-dialog{max-width:min(650px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #9973ab;border-radius:16px;padding:22px;color:var(--text,#25202c);background:var(--surface,#f9f7fb);box-shadow:0 24px 80px #130c2255,inset 0 0 0 4px #94709b0c}
#thoughts-access-dialog::backdrop{background:#17101cc4;backdrop-filter:blur(3px)}#thoughts-access-dialog>h2{text-align:center}.thoughts-dialog-close{float:right;padding:7px 12px;border-radius:7px}
.notes-v12-inspector-book{position:relative}
@keyframes thoughts-chain-glint{0%,65%,100%{left:-35%;opacity:0}69%{opacity:.8}82%{left:115%;opacity:0}}
@keyframes thoughts-seal-glint{0%,65%,100%{opacity:0}73%{opacity:.65}82%{opacity:0}}
@media(prefers-color-scheme:dark){#thoughts-access-dialog{background:#231e2a;color:#f2edf6}}
@media(prefers-reduced-motion:reduce){.thoughts-chain i::after,.thoughts-chain b::after{animation:none}.thoughts-chain b,.thoughts-access-panel>.button{transition:none}}
