/* Shared batch results, local library and public gallery. */
.lc-scope{--bg:#101713;--line:#394432;--gold:#d7bf92;--muted:#a8b5a2;color:#e1e5d9;font:14px/1.65 Arial,sans-serif;box-sizing:border-box}.lc-scope *{box-sizing:border-box}.lc-scope button,.lc-scope a{font:inherit;cursor:pointer}.lc-scope button:focus-visible,.lc-scope a:focus-visible{outline:2px solid #e1caa0;outline-offset:4px}.lc-scope [hidden]{display:none!important}
dialog.lc-modal{padding:0;color:#e1e5d9;max-width:calc(100vw - 24px);max-height:90dvh;margin:auto}dialog.lc-modal:not([open]){display:none}dialog.lc-modal::backdrop{background:#030904cf;backdrop-filter:blur(7px)}
.lc-modal{width:900px;max-height:100%;display:flex;flex-direction:column;background:var(--bg);border:1px solid #5e654b;border-radius:18px;box-shadow:0 34px 120px #000a;overflow:hidden}.lc-header{padding:30px 34px 24px;border-bottom:1px solid var(--line);position:relative}.lc-eyebrow{display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:2px;color:var(--gold)}.lc-check{display:grid;place-items:center;width:21px;height:21px;border:1px solid #77936c;border-radius:50%;color:#aac49b;font-size:13px;letter-spacing:0}.lc-header h2{font-size:29px;font-weight:500;margin:13px 0 8px;letter-spacing:1px}.lc-header p{margin:0;color:var(--muted);font-size:13px}.lc-close{position:absolute;right:25px;top:24px;border:0;background:transparent;color:#bac4b4;font-size:25px;width:44px;height:44px}.lc-batch{display:flex;align-items:center;justify-content:space-between;margin-top:22px;gap:12px;font-size:12px}.lc-batch strong{font-weight:500;color:var(--gold)}.lc-demo{padding:4px 9px;border:1px solid #515744;border-radius:5px;color:#abb59e;font-size:10px}.lc-scroll{overflow:auto;overscroll-behavior:contain;padding:24px 34px 28px;min-height:0;scrollbar-color:#697557 #151d16;scrollbar-width:thin}.lc-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px}.lc-card{background:linear-gradient(135deg,#232d23,#171f19);border:1px solid #3a4735;border-radius:11px;padding:21px 23px;position:relative;overflow:hidden}.lc-card:before{content:'';position:absolute;right:-24px;top:40px;width:120px;height:120px;border:1px solid #c6b08712;border-radius:50%;box-shadow:0 0 0 18px #c6b08705,0 0 0 36px #c6b08703;pointer-events:none}.lc-cardtop{display:flex;align-items:center;justify-content:space-between;gap:10px}.lc-id{font:11px/1.4 ui-monospace,monospace;letter-spacing:1px;color:#bec5b2}.lc-state{font-size:10px;color:#a7c397;display:flex;align-items:center;gap:6px}.lc-state:before{content:'';height:4px;width:4px;border-radius:50%;background:currentColor}.lc-age-label{margin:20px 0 0;font-size:11px;letter-spacing:2px;color:#adbaaa}.lc-age{font:66px/1.1 Georgia;color:#e1caa0;margin:5px 0 12px;position:relative}.lc-age span{font:14px sans-serif;color:#bbbea8;margin-left:10px}.lc-country{font-size:12px;color:#d1d6c8;margin-bottom:9px}.lc-summary{font-size:12px;color:#98a692;line-height:1.8;min-height:43px;margin:0 0 15px}.lc-cardbottom{border-top:1px solid #ffffff10;padding-top:13px;display:flex;align-items:center;justify-content:space-between;gap:8px}.lc-ordinal{font:10px ui-monospace,monospace;color:#8a9781}.lc-open{padding:5px 0;color:var(--gold);border:0;background:none;font-size:12px;min-height:32px}.lc-open span{margin-left:10px}.lc-pending .lc-state{color:#b8aa7c}.lc-pending .lc-age{font:23px/1.5 sans-serif;min-height:73px;display:flex;align-items:center;color:#b5b8a6}.lc-pending .lc-open{color:#8d9986;cursor:default}.lc-end-note{text-align:center;font-size:11px;color:#819078;margin:25px 0 0}.lc-footer{padding:20px 34px;border-top:1px solid var(--line);background:#171f18;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0}.lc-footer p{font-size:11px;line-height:1.8;color:#a3af98;margin:0}.lc-footer a{color:#d4c49f;text-underline-offset:4px;font-size:12px}.lc-primary{border:1px solid #d0b990;background:#d0b990;color:#1b2219;padding:12px 22px;min-height:48px;border-radius:6px;font-size:13px;white-space:nowrap}.lc-portrait-panel{height:190px;margin:-21px -23px 20px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,#46503c,#151c17 75%);border-bottom:1px solid #4a5338}.lc-portrait-panel svg{height:100%;width:100%;display:block}.lc-portrait-panel:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#1d261fe8,transparent 28%);pointer-events:none}.lc-portrait-note{position:absolute;left:18px;bottom:9px;font-size:10px;letter-spacing:1px;color:#c1c8b5;z-index:1}.lc-portrait-pending{height:100%;display:grid;place-items:center;color:#91a18b;font-size:13px}.lc-card:before{display:none}@media(max-width:640px){.lc-portrait-panel{margin:-19px -22px 18px;height:200px}}
.lc-modal .lc-scroll{flex:1}.lc-modal .lc-header{flex-shrink:0}.lc-footer-actions{display:flex;gap:10px;flex-wrap:wrap}.lc-secondary{background:transparent;border:1px solid #677054;color:#d7bf92;border-radius:6px;min-height:44px;padding:10px 15px}.lc-note{font-size:12px;color:#a8b5a2}.lc-status{color:#d7bf92;min-height:20px}.lc-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}.lc-scope textarea{width:100%;min-height:210px;background:#111b14;border:1px solid #5e654b;border-radius:8px;color:#dce3d5;padding:14px;font:13px/1.8 monospace}.lc-moments{margin:0 0 16px;padding:0;list-style:none;color:#a8b5a2;font-size:12px;min-height:64px}.lc-moments li{margin:8px 0;line-height:1.8}.lc-moments b{font-weight:400;color:#d7bf92;margin-right:8px}.lc-scope .lc-card .lc-age{font-size:66px}.lc-library{margin:24px 0}.lc-gallery-page{margin:0;background:#0c130e}.lc-gallery{max-width:1200px;margin:auto;padding:32px 28px 70px}.lc-gallery-nav{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid #394432;padding-bottom:24px}.lc-gallery a{color:#d7bf92}.lc-gallery select{background:#1d281f;color:#dce3d5;border:1px solid #5e654b;padding:9px;border-radius:5px}.lc-gallery h1{font:44px/1.2 Georgia,serif;margin:42px 0 15px}.lc-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:28px 0}.lc-stat{border:1px solid #3a4735;background:#18221a;border-radius:10px;padding:22px}.lc-stat strong{display:block;font:32px/1.4 Georgia;color:#e1caa0;overflow-wrap:anywhere}.lc-stat span{color:#a8b5a2;font-size:12px}.lc-gallery .lc-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.lc-library .lc-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.lc-empty{padding:35px 20px;border:1px dashed #49563e;border-radius:10px;color:#a8b5a2}.lc-more{display:block;margin:24px auto}.lc-gallery small{display:block;color:#a8b5a2}.lc-query-note{color:#a8b5a2;font-size:12px}#ol-batch{display:none!important}
@media(max-width:900px){.lc-gallery .lc-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.lc-footer{flex-wrap:wrap}}
@media(max-width:640px){.lc-header{padding:22px 20px}.lc-header h2{font-size:23px;padding-right:20px}.lc-scroll{padding:16px 18px}.lc-cards,.lc-library .lc-cards,.lc-gallery .lc-cards{grid-template-columns:1fr}.lc-card{padding:19px 22px}.lc-footer{padding:16px 20px;gap:12px}.lc-footer-actions{width:100%}.lc-footer-actions button{flex:1}.lc-gallery{padding:22px 16px 50px}.lc-gallery h1{font-size:34px}.lc-stats{grid-template-columns:1fr;gap:10px}.lc-stat{padding:16px;display:flex;justify-content:space-between;align-items:center;gap:12px}.lc-stat strong{font-size:25px}.lc-close{right:10px;top:12px}}

.lc-scope a.lc-primary{color:#1b2219;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.lc-scope .lc-close{font-size:25px;line-height:1;min-width:44px;min-height:44px}

.lc-scope .lc-card.lc-pending .lc-age{font:23px/1.5 Arial,sans-serif;min-height:73px}.lc-scope .lc-card{min-width:0}.lc-scope a.lc-open{text-decoration:none}

/* Rankings live only on the public lives subpage. */
.lc-ranking-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:32px 0 14px;padding:6px;background:#121d15;border:1px solid #3a4735;border-radius:10px;width:fit-content}.lc-ranking-tabs button{padding:12px 22px;background:transparent;border:1px solid transparent;color:#a8b5a2;border-radius:6px;min-height:44px}.lc-ranking-tabs button[aria-pressed="true"]{color:#172017;background:#d7bf92;border-color:#d7bf92}.lc-rank{position:absolute;top:12px;right:12px;z-index:2;padding:4px 12px;background:#101713e8;border:1px solid #9d8d68;border-radius:5px;font-size:11px;color:#d7bf92}.lc-rank b{font:22px Georgia,serif;margin-left:4px}.lc-profit{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #3a4735}.lc-profit span{font-size:11px;letter-spacing:1px;color:#b8c7ad}.lc-profit strong{display:block;font:32px/1.5 Georgia,serif;color:#e1caa0;overflow-wrap:anywhere}.lc-gallery .lc-profit small{display:inline;font:12px Arial,sans-serif;color:#d7bf92}
@media(max-width:640px){.lc-ranking-tabs{width:100%;gap:4px}.lc-ranking-tabs button{flex:1;padding:10px 8px;font-size:12px}.lc-profit strong{font-size:29px}}
/* Compact, paginated top-100 tables; original life cards remain in the All lives view. */
.lc-gallery .lc-cards.lc-ranking-list{display:block}.lc-table-wrap{border:1px solid #394432;border-radius:10px;overflow:hidden}.lc-rank-table{width:100%;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}.lc-rank-table th{padding:12px 18px;background:#19231b;font-size:11px;font-weight:400;color:#a8b5a2}.lc-rank-table td{padding:9px 18px;border-top:1px solid #2d382b;height:66px;font-size:14px;white-space:nowrap}.lc-rank-table tr:hover td{background:#182219}.lc-rank-table .lc-position{color:#a8b5a2;width:70px}.lc-rank-table tbody tr:nth-child(-n+3) .lc-position{color:#e1caa0}.lc-row-life{display:flex;gap:12px;align-items:center;text-decoration:none}.lc-row-life b{font:13px ui-monospace,monospace;color:#e1e5d9}.lc-row-life small{font-size:11px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lc-avatar{width:38px;height:44px;display:block;overflow:hidden;border-radius:4px;flex-shrink:0;background:#202b20}.lc-avatar .lc-portrait-panel{width:38px;height:44px;margin:0;border:0}.lc-avatar .lc-portrait-note,.lc-avatar .lc-portrait-pending{display:none}.lc-avatar .lc-portrait-panel:after{display:none}.lc-rank-table td small{display:inline;color:#93a18e;font-size:11px}.lc-rank-table .lc-score{font-size:18px;color:#e1caa0}.lc-rank-table .lc-negative{color:#c9a49b}.lc-rank-table .lc-positive{color:#d7bf92}.lc-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}.lc-pagination span{font-size:12px;color:#a8b5a2}.lc-pagination button:disabled{opacity:.35;cursor:default}
@media(max-width:640px){.lc-rank-table th{padding:10px 7px;font-size:10px}.lc-rank-table td{padding:8px 7px;font-size:12px;height:58px}.lc-rank-table .lc-position{width:32px}.lc-row-life{gap:7px}.lc-avatar,.lc-avatar .lc-portrait-panel{width:28px;height:34px}.lc-row-life b{font-size:11px}.lc-row-life small{display:block!important;max-width:100px;font-size:10px}.lc-rank-table .lc-score{font-size:14px}.lc-pagination .lc-secondary{padding:8px 12px}}

.lc-rank-table .lc-row-life small{display:block;margin-top:2px}
