#community{max-width:1740px;margin:0 auto;padding:28px 4vw 36px;color:#302614}
.community-header{display:flex;justify-content:space-between;align-items:center;gap:20px}
.community-header .brand{font-family:Georgia,serif;font-size:32px;font-variant:small-caps;letter-spacing:2px}
.community-intro{text-align:center;max-width:680px;margin:42px auto 30px;text-shadow:0 1px #f5e8c5}
.community-intro h1{font:400 42px Georgia,serif;letter-spacing:1px;margin-bottom:14px}
.community-intro p{font-size:15px;line-height:1.6}
.community-book{background:#efdfb9f5 url('/parchment-paper.png') center/cover;border-block:1px solid #ae8e4a;padding:20px;box-shadow:0 10px 30px #30201024}
.community-controls{display:flex;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.community-controls select,.community-controls input{width:auto;margin:0;max-width:100%;color:#302614;background:#eee0bcbf;border:1px solid #ac905c;border-radius:0}
.community-controls input{flex:1;min-width:160px}
.community-controls small{color:#65502a}
#community-table{max-height:65vh;overflow:auto;position:relative;isolation:isolate}
#community-table table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}
#community-table td,#community-table th{padding:5px 9px;border-right:1px solid #b79b623d;border-bottom:1px solid #b79b6259;color:#302614;background:#f0e3c2;white-space:nowrap}
#community-table thead th{position:sticky;top:0;z-index:3;background:#d9be7d;height:48px;font-weight:400}
#community-table .community-register tr>td:first-child{position:sticky;left:0;z-index:1;min-width:150px}
#community-table .community-register thead th:first-child{left:0;z-index:4}
#community-table .community-group th{background:#dfc475;font:400 17px Georgia,serif;text-align:left;padding:7px 10px}
.community-group small{margin-left:16px;font:12px Georgia,serif}
#community-table td.public-mark{text-align:center;min-width:65px}
#community-table td.yes{background:#c5c99d}#community-table td.no{background:#deb29a}#community-table td.extra{background:#e8cd89}
#community-table .community-ranking td{white-space:normal}
.community-empty{padding:28px 10px;text-align:center}
#community-status{color:#774522;font-size:13px;margin:8px 0}
#community-back{margin-bottom:16px}
@media(max-width:650px){#community{padding:20px 12px}.community-header .brand{font-size:24px}.community-intro{margin:28px auto 24px}.community-intro h1{font-size:30px}.community-book{padding:12px}.community-controls small{width:100%}}

.community-nav{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.community-nav button{font:400 18px Georgia,serif;font-variant:small-caps;background:none;color:#302614;padding:8px 0;border-bottom:1px solid transparent}
.community-nav button:hover,.community-nav button[aria-current]{color:#8c401a;border-bottom-color:#9d6932}
.community-intro{margin:14vh auto 0;padding:25px 30px;background:radial-gradient(ellipse,#f1e3c4ed 30%,#f1e3c4b0 60%,transparent 75%)}
#community-book{margin-top:34px}
#community-section-title{margin:0 12px 0 0;font:400 24px Georgia,serif}
@media(max-width:650px){.community-header{align-items:flex-start;flex-wrap:wrap}.community-nav{gap:16px}.community-nav button{font-size:16px}}
/* Public chronicle: a muted landscape behind the text, without parchment cards. */
#community{max-width:none;padding:24px 3vw 40px}
.community-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.community-header .brand{justify-self:start}
.community-nav{justify-content:center;gap:28px}
.community-account-link{justify-self:end;background:none;padding:8px 0;font:400 18px Georgia,serif;color:#302614}
.community-account-link:hover{color:#8c401a}
#community-book{max-width:1660px;margin:38px auto 0;padding:22px 26px;background:rgba(235,225,201,.82);background-image:none;border:0;box-shadow:none;backdrop-filter:blur(18px) saturate(.5);-webkit-backdrop-filter:blur(18px) saturate(.5)}
#community-book[data-view="ranking"]{max-width:900px;padding:24px 32px;background:rgba(236,229,212,.78)}
.community-controls{gap:16px;border-bottom:1px solid #65533440;padding-bottom:16px;margin-bottom:0}
.community-controls input{max-width:320px;min-height:36px;background:#f7f0df60;border:0;border-bottom:1px solid #79634670;padding:8px 12px;font-size:13px}
#community-expand{margin-left:auto;white-space:nowrap}
#community-section-title{font-size:25px;color:#352b1b}
#community-table{max-height:calc(100vh - 250px)}
#community-table td,#community-table th{background:#eee5cd75;border-color:#796b4e26;color:#30291d}
#community-table thead th{background:#dbceb0;font-size:12px}
#community-table .community-register tr>td:first-child{background:#e7dcc2}
#community-table .community-group th{background:#d5c191;font-size:17px}
#community-table .community-ranking{font-size:14px}
#community-table .community-ranking th{background:transparent;border-right:0;color:#66563b;height:42px;font:400 12px Georgia,serif;position:static}
#community-table .community-ranking td{background:transparent;border-right:0;padding:18px 10px;line-height:1.5}
#community-table .community-ranking td:nth-child(2){font:400 20px Georgia,serif;min-width:130px}
#community-table .community-ranking td:first-child{font:400 23px Georgia,serif;width:65px;color:#8b591e}
#community-table .community-ranking td:last-child{text-align:right;font:400 24px Georgia,serif;color:#724a16;white-space:nowrap}
#community-table .community-ranking th:last-child{text-align:right}
#community-table .community-ranking td:nth-child(4){font-size:12px;max-width:240px}
#community-table .community-ranking tbody tr:hover td{background:#f5edda35}
body.community-lock{overflow:hidden}
#community-book.community-expanded{position:fixed;inset:12px;z-index:50;max-width:none;margin:0;display:flex;flex-direction:column;background:#e9dfc7ee;padding:14px 18px}
#community-book.community-expanded #community-table{max-height:none;min-height:0;flex:1}
@media(max-width:780px){.community-header{grid-template-columns:1fr auto;gap:14px}.community-nav{grid-column:1/-1;grid-row:2;gap:25px}.community-account-link{grid-column:2;grid-row:1;font-size:15px}#community-book,#community-book[data-view="ranking"]{padding:16px 12px;margin-top:22px}.community-controls{gap:10px}.community-controls input{max-width:none;flex-basis:100%;order:4}#community-table .community-ranking td{padding:14px 8px}#community-table .community-ranking td:nth-child(2){font-size:17px}#community-section-title{font-size:22px}}
/* Isolate public tables from the officer parchment theme. */
body.theme-light #community-table th{background:#dbceb0!important;color:#30291d!important;border-color:#796b4e26!important}
body.theme-light #community-table .community-group th{background:#d5c191!important}
body.theme-light #community-table .community-ranking th{background:transparent!important;color:#66563b!important}
body.theme-light #community-table .community-ranking tr{background:transparent!important}
body.theme-light #community-table .community-ranking tbody tr:hover{background:#f5edda35!important}

/* Transparent public tables: the actual landscape remains visible through every row. */
body.theme-light #community-book,
body.theme-light #community-book[data-view="ranking"],
body.theme-light #community-book.community-expanded{
 background:rgba(19,29,29,.38)!important;background-image:none!important;
 backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
 color:#fff5db;border:0;box-shadow:none;
}
body.theme-light #community-book #community-section-title,
body.theme-light #community-book .text-button,
body.theme-light #community-book .community-empty,
body.theme-light #community-book #community-status{color:#fff0c8!important;text-shadow:0 1px 2px #0008}
body.theme-light #community-book .community-controls{border-color:#f5e6c138}
body.theme-light #community-book input{background:#10202440!important;color:#fff5db!important;border:0!important;border-bottom:1px solid #f5e6c160!important;box-shadow:none!important}
body.theme-light #community-book input::placeholder{color:#eee3ce}
body.theme-light #community-table table,
body.theme-light #community-table tbody,
body.theme-light #community-table tr,
body.theme-light #community-table td,
body.theme-light #community-table th{
 background:transparent!important;background-image:none!important;
 color:#fff5db!important;border-color:#e5dfc827!important;
 text-shadow:0 1px 2px #0009;
}
body.theme-light #community-table thead th{background:#243738de!important;color:#ffe1a1!important}
body.theme-light #community-table .community-register tr>td:first-child{background:#283a3bdb!important}
body.theme-light #community-table .community-group th{background:#ad85444f!important;color:#ffe3a6!important}
body.theme-light #community-table tbody tr:hover td{background:#e8d9ad16!important}
body.theme-light #community-table td.yes{background:#8baf6e55!important}
body.theme-light #community-table td.no{background:#c56d5759!important}
body.theme-light #community-table td.extra{background:#d3ac4f59!important}
body.theme-light #community-table .community-ranking th{background:transparent!important;color:#eddfc0!important}
body.theme-light #community-table .community-ranking td:first-child,
body.theme-light #community-table .community-ranking td:last-child{color:#ffe0a0!important}
body.theme-light #community-table .community-ranking tbody tr:hover{background:transparent!important}
body.theme-light #community-book input::placeholder{color:#eee3ce!important;opacity:1}
/* Landing and entry share the landscape; no rectangular login panel. */
.community-header .brand{font-size:36px}
.community-nav button,.community-account-link{font-size:21px}
.community-intro h1{font-size:clamp(40px,4.2vw,58px)}
.community-intro .eyebrow{font-size:16px}
body.theme-light .auth-screen{background:transparent!important;box-shadow:none!important;min-height:100svh;padding:100px 24px 50px;overflow:visible}
body.theme-light .auth-content{position:relative;isolation:isolate;background:none!important;border:0!important;box-shadow:none!important;width:min(100%,510px);max-width:510px;padding:28px 20px;color:#fff3d7}
body.theme-light .auth-content:before{display:block!important;content:'';position:absolute;inset:-80px -150px;z-index:-1;height:auto;margin:0;background:radial-gradient(ellipse at center,rgba(24,42,44,.88) 0%,rgba(24,42,44,.72) 38%,rgba(24,42,44,.3) 60%,transparent 75%);pointer-events:none}
body.theme-light .auth-content:after{display:none!important}
body.theme-light .auth-brand{color:#fff0cc!important;font-size:48px;margin-bottom:14px;text-shadow:0 2px 5px #182b2d}
body.theme-light .auth-intro{margin-bottom:26px}
body.theme-light .auth-intro .eyebrow{color:#ecd49e;font-size:12px}
body.theme-light .auth-form h2{color:#fff2d4!important;font-size:28px;margin-bottom:22px}
body.theme-light .auth-switch{border-color:#e0c99b55;margin-bottom:28px;gap:28px}
body.theme-light .auth-switch button{color:#e0d9c6;font-size:16px}
body.theme-light .auth-switch button.active,body.theme-light .auth-switch button:hover{color:#ffd687}
body.theme-light .auth-form label,body.theme-light .auth-form .muted{color:#f2e8d2;font-size:13px}
body.theme-light .auth-form input:not([type=checkbox]){background:#1a303b70!important;border:0!important;border-bottom:1px solid #d5bd8380!important;border-radius:0;color:#fff6e1!important;min-height:47px;padding:12px}
body.theme-light .auth-form input::placeholder{color:#d3cfbf!important}
body.theme-light .auth-form input:focus{background:#182d3baa!important;border-bottom-color:#ffdb90!important}
body.theme-light .auth-form .primary{background:#d4ac59!important;color:#29271e!important;border:1px solid #e3c789;min-height:45px;font-size:16px;margin-top:12px}
body.theme-light .auth-form .primary:hover{background:#e5bf6b!important}
body.theme-light .auth-form .error{color:#ffb4a0}
body.theme-light #login-back{color:#f6d598}
body.theme-light #community-back{position:absolute;top:28px;left:3vw;margin:0;padding:10px 0;font:400 21px Georgia,serif;color:#302614;text-shadow:0 1px 3px #f5e7c4;background:none;border:0;border-bottom:1px solid #514a3370;z-index:2}
body.theme-light #community-back:hover{color:#8c401a}
@media(max-width:650px){.community-header .brand{font-size:29px}.community-nav button,.community-account-link{font-size:18px}body.theme-light .auth-content{padding:20px 12px}body.theme-light .auth-content:before{inset:-60px -25px}body.theme-light #community-back{left:20px;top:20px;font-size:19px}body.theme-light .auth-brand{font-size:40px}}
body.theme-light .auth-form label,body.theme-light .auth-form .muted,body.theme-light .auth-switch button{color:#f2e8d2!important;text-shadow:0 1px 3px #13292d}
body.theme-light .auth-intro .eyebrow{color:#ecd49e!important}
body.theme-light .auth-switch button.active,body.theme-light .auth-switch button:hover{color:#ffd687!important}
body.theme-light .auth-screen{overflow:hidden}
