:root{color-scheme:light;--bg:#f9f5ef;--surface:#fffdf9;--text:#3b174f;--muted:#70637b;--gold:#8b6a32;--line:#e1d7cb;--soft:#efe7f1;--shadow:0 4px 20px #3b174f07;--nav:rgba(255,253,249,.97)}html[data-theme=dark]{color-scheme:dark;--bg:#201629;--surface:#30213b;--text:#f9f5ef;--muted:#cbbdd2;--gold:#e2c58d;--line:#53435c;--soft:#3d2d49;--shadow:none;--nav:rgba(40,28,51,.98)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,sans-serif;-webkit-text-size-adjust:100%}main{max-width:740px;margin:0 auto;padding:calc(16px + env(safe-area-inset-top,0px)) 18px calc(100px + env(safe-area-inset-bottom,0px))}button,input{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation}button:focus-visible,input:focus-visible{outline:3px solid #c2a46c;outline-offset:3px}button:disabled{cursor:default}h1,h2,h3,h4,p{margin:0}h2{font:32px/1.15 Georgia,serif;margin:5px 0 10px}h3{font-size:19px;line-height:1.3;margin:0 0 8px}h4{font-size:15px;margin:0 0 14px}small{display:block;font-size:13px;color:var(--muted);line-height:1.4}.hero{position:relative;overflow:hidden;background:#3b174f;color:#f9f5ef;border-radius:25px;padding:16px 20px 25px;text-align:center;box-shadow:0 9px 26px #3b174f15}.hero:before,.hero:after{content:"";position:absolute;pointer-events:none;width:220px;height:220px;border:1px solid #c2a46c24;border-radius:50%}.hero:before{left:-140px;top:-110px}.hero:after{right:-150px;bottom:-135px}.hero-top{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left}.eyebrow{font-size:10px;letter-spacing:1.55px;font-weight:700;color:var(--gold)}.hero .eyebrow{color:#d6bd8e;font-size:9px}.round,.icon-button{border:0;background:transparent;display:grid;place-items:center;min-width:44px;min-height:44px;border-radius:50%}.round{border:1px solid #c2a46c66;color:#e6cc94}.seal,.profile-seal{font:44px/1 Georgia,serif;letter-spacing:-3px;color:#c2a46c;border:1px solid #c2a46c77;border-radius:50%;width:78px;height:78px;margin:6px auto 14px;display:grid;place-items:center;padding-right:4px}.hero h1{font:32px/1.14 Georgia,serif;margin:3px 0 12px;letter-spacing:-.55px}.hero p{color:#e5dcec;font-size:14px;line-height:1.5}.hero-line{height:1px;width:38px;background:#c2a46c;margin:17px auto 10px}.hero-caption{color:#e1c99e;font-size:11px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 12px}.section-head h2{margin-bottom:0}.version,.chip{font-size:11px;color:var(--gold);white-space:nowrap;border:1px solid var(--line);border-radius:30px;padding:5px 10px}.search-short,.search-field{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:0 14px;text-align:left;color:var(--muted);margin:0 0 16px}.search-short>span:first-child,.search-field>span:first-child{color:var(--gold)}.search-short .arrow,.author-link .arrow{margin-left:auto;color:var(--gold)}.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.tile{border:1px solid var(--line);border-radius:17px;background:var(--surface);min-height:133px;padding:14px 13px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:5px;box-shadow:var(--shadow);min-width:0}.tile strong{font-size:16px;overflow-wrap:anywhere;line-height:1.25}.tile small{font-size:12px}.medallion{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:var(--soft);color:var(--gold);flex:none;margin-bottom:5px}.medallion svg{width:23px;height:23px}.author-link{display:flex;align-items:center;gap:12px;text-align:left;width:100%;margin-top:15px!important}.author-link .medallion{margin:0}.screen:not(#home){padding-top:25px}.screen[hidden],[hidden]{display:none!important}.intro{color:var(--muted);font-size:14px;margin:4px 0 16px}.note{font-size:12px;color:var(--muted);margin:12px 0}.panel{border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:16px;margin:14px 0;box-shadow:var(--shadow)}.stack{display:grid;gap:10px}.material{margin:0;display:flex;align-items:flex-start;gap:12px}.material .content{flex:1;min-width:0}.material h3{font-size:16px;margin:5px 0 5px}.material .category{color:var(--gold);font-size:11px;font-weight:650}.material .note{margin:7px 0 0}.favorite{border:1px solid var(--line);background:transparent;color:var(--gold);border-radius:12px;display:grid;place-items:center;width:44px;height:44px;flex:none}.favorite[aria-pressed=true] svg{fill:currentColor;stroke:currentColor}.search-field input{flex:1;min-width:0;background:transparent;border:none;outline:none!important;color:var(--text);height:50px;padding:0}.search-field:focus-within{outline:2px solid #c2a46c}.search-field input::-webkit-search-cancel-button{display:none}.filters{display:flex;flex-wrap:wrap;gap:7px}.filters button,.segmented button{border:1px solid var(--line);background:var(--surface);padding:9px 12px;border-radius:20px;color:var(--muted);font-size:13px;min-height:40px}.filters button[aria-pressed=true],.segmented button[aria-pressed=true]{background:var(--text);color:var(--bg);border-color:var(--text)}.empty{text-align:center;padding:27px 15px}.empty>span{display:inline-flex;color:var(--gold);margin-bottom:10px}.primary{border:0;background:#3b174f;color:#fff;border-radius:13px;padding:12px 18px;min-height:44px}html[data-theme=dark] .primary{background:#c2a46c;color:#201629}.bio .profile-seal{background:#3b174f;width:72px;height:72px;font-size:35px}.bio{text-align:center}.bio>p{font-size:14px;color:var(--muted)}.bio h4,.credentials{text-align:left}.rule{height:1px;background:var(--line);margin:19px 0}.credentials{display:grid;grid-template-columns:26px 1fr;gap:15px 10px;align-items:start}.credentials>span{color:var(--gold)}.credentials strong{font-size:14px}.segmented{display:flex;gap:8px}.segmented button{flex:1}.back{display:flex;align-items:center;gap:6px;padding:7px 0;color:var(--gold);background:none;border:0;min-height:44px}.item{padding:13px 0;border-bottom:1px solid var(--line)}.item:first-child{padding-top:0}.item:last-child{padding-bottom:0;border-bottom:0}.item strong{font-size:15px}.status{display:block;font-size:12px;color:var(--muted);margin-top:4px}.notice{background:var(--soft);border-radius:12px;padding:13px;font-size:13px;color:var(--text);margin:14px 0}footer{text-align:center;font-size:11px;color:var(--muted);margin:24px 0 2px;line-height:1.6}.tabbar{position:fixed;bottom:0;left:0;right:0;z-index:3;background:var(--nav);border-top:1px solid var(--line);padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));backdrop-filter:blur(12px)}.tabbar-inner{display:grid;grid-template-columns:repeat(4,1fr);max-width:740px;margin:auto}.tabbar button{background:none;border:0;min-height:54px;font-size:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted)}.tabbar button>span:first-child{padding:3px 15px;border-radius:12px;display:grid;place-items:center}.tabbar button[aria-current=page]{color:var(--gold);font-weight:700}.tabbar button[aria-current=page]>span:first-child{background:var(--soft)}svg{width:22px;height:22px;display:block;flex:none}.toast{position:fixed;bottom:calc(80px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:max-content;max-width:90%;background:var(--text);color:var(--bg);border-radius:14px;padding:10px 15px;font-size:13px;z-index:5}@media(min-width:600px){.hero h1{font-size:39px}.tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.hero{padding-bottom:32px}}@media(max-width:350px){main{padding-left:12px;padding-right:12px}.tile{padding:11px}.tile strong{font-size:14px}.hero h1{font-size:28px}.wide{display:none}}
