/* The default society inherits Poleis's shared palette and display face. */
html,body{background:var(--stone);font:16px/1.55 var(--words)}main{position:relative;z-index:1;max-width:1480px;margin:auto;padding:0 56px 28px}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--bronze);outline-offset:5px}[hidden]{display:none!important}a,button{touch-action:manipulation}
.polis-header{padding:24px 0;gap:32px;flex-wrap:nowrap}.wordmark{font-family:var(--display);font-size:30px;letter-spacing:.24em;font-weight:700}.back-link{font:14px/1.3 var(--words);color:var(--ink2)}.member-button{margin-left:auto;display:flex;align-items:center;gap:32px;border:1px solid var(--line);padding:11px 17px;font:13px/1.4 var(--words);border-radius:3px}.member-button:hover{border-color:var(--gold);background:var(--panel2)}.polis-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;padding:46px 0 34px}.eyebrow{font:11px/1.5 var(--mono);letter-spacing:.15em;text-transform:uppercase;color:var(--bronze);margin:0 0 14px}.polis-heading h1{font:400 clamp(38px,4.7vw,72px)/1.05 var(--display);letter-spacing:-.03em;margin:0;text-wrap:balance}.presence{font:12px/1.5 var(--words);color:var(--ink2);display:flex;gap:8px;align-items:center;padding-bottom:6px;white-space:nowrap}.presence-dot{width:7px;height:7px;border-radius:50%;background:var(--gold)}.presence[data-state=voting] .presence-dot{background:var(--laurel);box-shadow:0 0 0 5px #4c7a4c10}.presence[data-state=unknown] .presence-dot{background:#a39d92}
.society{background:var(--panel);padding-inline:24px;display:grid;grid-template-columns:minmax(0,1.24fr) minmax(360px,1fr);border-block:1px solid var(--line);min-height:620px}.world{min-width:0;position:relative;padding:24px 32px 0 0}.world-top,.world-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;font:12px/1.5 var(--words);color:var(--ink2)}#access-badge{border:1px solid var(--line);padding:3px 9px;border-radius:20px;font-size:11px}.stage{position:relative;aspect-ratio:1.3;display:grid;place-items:center;isolation:isolate}.stage::before{content:'';position:absolute;inset:10% 12%;border:1px solid #d4caa536;border-radius:50%;pointer-events:none}.stage .activity-scene{width:100%;height:100%;display:grid;place-items:center;background:none}.stage canvas{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;aspect-ratio:1}.stage .scene-legend{display:none}.stage .discussion-messages{position:absolute}.world-bottom{min-height:50px}.world-bottom p{margin:0;max-width:90%;font-size:13px}#motion-toggle{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;font-size:14px}.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px;padding:22px 0;border-top:1px solid var(--line)}.facts strong{display:block;font:400 28px/1.1 var(--display);margin-bottom:7px}.facts span{display:block;font:11px/1.4 var(--words);color:var(--ink2)}.facts small{font-size:15px;color:var(--ink2)}
.room{border-left:1px solid var(--line);padding:0 0 0 32px;display:flex;flex-direction:column;min-width:0}.room-tabs{display:flex;align-items:stretch;gap:28px;border-bottom:1px solid var(--line)}.room-tabs button{padding:25px 0 18px;color:var(--ink2);font:14px/1.5 var(--words);white-space:nowrap;border-bottom:2px solid transparent;margin-bottom:-1px}.room-tabs button[aria-selected=true]{border-color:var(--gold);color:var(--ink)}.room-tabs span{font-size:13px;color:var(--bronze);padding-left:5px}.room [role=tabpanel]{flex:1;padding:30px 0;min-height:430px;max-height:660px;overflow:auto;scrollbar-width:thin}.room-footer{border-top:1px solid var(--line);padding:16px 0;font:11px/1.5 var(--words);color:var(--ink2);display:flex;gap:14px;justify-content:space-between;align-items:center}.text-button{font:12px/1.5 var(--words);color:var(--bronze);padding:6px 0;white-space:nowrap}.room h2{font:400 32px/1.12 var(--display);letter-spacing:-.015em;margin:0 0 12px;text-wrap:balance}.room p{font:14px/1.65 var(--words);color:var(--ink2);margin:0 0 18px}.room-intro{max-width:340px}.room-plan{margin:0 0 22px;padding:10px;border:1px solid var(--line);background:var(--panel2);border-radius:3px}.room-plan canvas{display:block;width:100%;height:auto;aspect-ratio:4/3}.room .room-plan-note{font:11px/1.5 var(--mono);color:var(--ink2);margin:8px 0 0}.glyph-seal{width:56px;height:56px;margin:0 0 22px;opacity:.9}.glyph-strip{display:block;width:100%;height:auto;max-height:40px}.private-record{border-top:1px solid var(--line);padding:18px 0}.private-record-head{display:flex;justify-content:space-between;font:10px/1.4 var(--mono);color:var(--ink2);margin-bottom:14px;text-transform:uppercase;letter-spacing:.1em}.private-record:nth-child(even) .glyph-strip{opacity:.55}.private-record:nth-child(odd) .glyph-strip{opacity:.8}.primary-button{display:flex;align-items:center;justify-content:center;width:100%;padding:13px 20px;min-height:48px;background:var(--ink);color:var(--panel);font:14px/1.5 var(--words);border:1px solid var(--ink);border-radius:3px;margin-top:20px}.primary-button:hover{background:#454338}.locked-note{margin-top:20px!important;font-size:12px!important}.panel-heading p{font-size:12px}
.entry{padding:18px 0;border-top:1px solid var(--line)}.entry:first-child{border-top:0}.entry .what{font:400 21px/1.3 var(--display);margin-bottom:8px}.entry .meta,.note{font:12px/1.6 var(--words);color:var(--ink2)}.entry .meta{margin:5px 0}.entry .prose,.prose{font:15px/1.7 var(--words);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:20px}.chip{display:inline-block;font:10px/1.4 var(--words);color:var(--bronze);background:#b99a5010;padding:4px 7px;border-radius:2px}.chip.RATUM{color:var(--laurel);background:#4c7a4c0d}.chip.DISSENSIO,.chip.REIECTUM{color:#986b66;background:#986b660b}.row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}.row button{padding:8px 14px;border:1px solid var(--line);font:12px/1.4 var(--words)}.row button.yes{color:var(--laurel)}.row button.no{color:var(--pompeii)}.empty-room{padding:12px 0 20px}.empty-room p{margin-top:18px}
.current{margin-top:38px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.section-heading h2{font:400 30px/1.2 var(--display);margin:0}.section-heading span{font:12px/1.5 var(--words);color:var(--ink2)}#open{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}#open .entry{padding:22px 24px;background:var(--panel);border:1px solid var(--line)}.society-details{margin-top:32px;display:grid;grid-template-columns:1fr 1fr;gap:0 32px}.society-details>details{border-top:1px solid var(--line);padding:18px 0}.society-details>.guardian{grid-column:1/-1}summary{cursor:pointer;list-style:none;font:14px/1.5 var(--words)}summary::-webkit-details-marker{display:none}summary>span{float:right;color:var(--ink)}details[open]>summary>span{transform:rotate(45deg)}details>p{font:14px/1.7 var(--words);color:var(--ink2)}.chamber{padding:20px 0;border-bottom:1px solid var(--line)}.chamber .head{display:flex;flex-wrap:wrap;gap:8px 14px}.chamber .head b{font:400 21px/1.3 var(--display);width:100%}.chairs{display:flex;flex-wrap:wrap;gap:7px;margin:15px 0}.chair{width:26px;height:28px;display:grid;place-items:center;clip-path:polygon(50% 0,98% 36%,80% 100%,20% 100%,2% 36%);background:#d7ceb8;font:10px var(--mono);color:var(--ink2)}.chair.empty{opacity:.25}.chair.mine{background:#adc4a5;color:#334b2e}.chair.bound{background:#c9ac65}.floor{font:12px var(--words);color:var(--ink2)}.floor span{margin-right:14px}.floor .mine{color:var(--laurel)}.receipt-facts{display:grid;gap:8px;margin:20px 0}.mono{font:11px/1.7 var(--mono);overflow-wrap:anywhere}.guardian label{display:block;margin:12px 0 5px;font:12px var(--words)}.guardian input,.guardian select,.guardian textarea{background:var(--panel);width:100%;border:1px solid var(--line);padding:10px}.guardian .check{display:flex;align-items:center;gap:10px}.guardian .check input{width:auto}.guardian textarea{min-height:100px}#say{font:13px var(--words);color:var(--bronze);margin:16px 0}footer{margin-top:24px;padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;font:11px/1.5 var(--words);color:var(--ink2)}
 dialog{border:1px solid var(--line);border-radius:6px;padding:40px;width:min(520px,calc(100vw - 32px));max-height:90vh;background:var(--panel);color:var(--ink);box-shadow:0 30px 100px #292a2533}dialog::backdrop{background:#292a2555;backdrop-filter:blur(6px)}dialog h2{font:400 38px/1.1 var(--display);margin:0 0 20px}dialog p{font:14px/1.6 var(--words);color:var(--ink2)}.dialog-close{position:absolute;top:4px;right:6px;width:44px;height:44px;font-size:25px}#body-form{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}#body-form label{display:block;font:14px var(--words)}#body-form .note{font-size:12px;margin:8px 0}#body-address{width:100%;padding:12px;border:1px solid var(--line);background:var(--stone);font:13px var(--words);border-radius:3px}.connection-status{font:12px/1.6 var(--words);overflow-wrap:anywhere}.browser-identity{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.browser-identity summary{font-size:12px}.browser-identity code{display:block;font:11px/1.7 var(--mono);overflow-wrap:anywhere}.browser-identity button{margin-top:14px}
@media(max-width:980px){main{padding:0 28px 24px}.society{grid-template-columns:1fr 1fr}.world{padding-right:24px}.room{padding-left:24px}.stage{aspect-ratio:1}.room-tabs{gap:18px}.room h2{font-size:28px}.facts{gap:12px}.facts strong{font-size:24px}.member-button{gap:16px}.back-link{display:none}}
@media(max-width:720px){main{padding:0 20px 24px}.polis-header{padding:18px 0;gap:12px}.wordmark{font-size:24px}.member-button{font-size:11px;padding:8px 12px;gap:14px}.polis-heading{padding:32px 0 24px;display:block}.polis-heading h1{font-size:42px}.presence{margin-top:16px}.society{grid-template-columns:1fr;min-height:0;padding-inline:16px}.world{padding:18px 0 0}.stage{aspect-ratio:1.25;max-height:360px;overflow:hidden}.stage canvas{max-height:360px}.facts{margin-top:12px;padding:18px 0}.room{border-left:0;border-top:1px solid var(--line);padding:0}.room-tabs{gap:30px}.room-tabs button{padding-top:20px}.room [role=tabpanel]{min-height:0;max-height:none;padding:28px 0}.room h2{font-size:34px}.room-intro{max-width:none}.glyph-strip{max-width:370px}.society-details{grid-template-columns:1fr}.society-details>.guardian{grid-column:auto}.current{margin-top:28px}.section-heading h2{font-size:27px}#open{display:block}#open .entry{margin-bottom:14px}footer{display:block}footer a{display:block;margin-top:12px}dialog{padding:32px 24px}.eyebrow{font-size:10px}.world-top{font-size:11px}.presence{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}
/* THE KNOCK STANDS ON THE SWARM (Nov 22 2026; THE-KNOCK-STANDS-ON-THE-SWARM-LANDING.md): the hexagon's half of a society's page. Its red is the holy page's own
   ("left blue pent primcipal... right red hex agent", Nov 19): the door under the ball, the seats rimmed on it, who waits at its ring, the vote under it. */
.stage{aspect-ratio:1.12}.stage canvas{max-height:640px}.world-who{display:flex;align-items:center;gap:10px}#door-pill:empty{display:none}#door-pill .door{width:auto;min-height:0;padding:3px 14px;border-radius:20px;font-size:13px}.doors{display:grid;gap:12px;padding-bottom:24px}.doors:empty{display:none}.doors p{margin:-2px 0 0;text-align:center;font:13px/1.4 var(--words);color:var(--ink2)}
.door{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:13px 20px;border:1px solid rgba(255,112,124,.95);border-radius:3px;background:linear-gradient(98deg,var(--holy-red-a),var(--holy-red-b));color:var(--holy-ivory);font:14px/1.5 var(--words)}.door:hover{filter:brightness(1.1)}.door.held{background:none;border-color:rgba(255,112,124,.7);color:#ffd9d6}.door:disabled{opacity:1;filter:none}
/* A NEWBORN HAS A DOOR TO ITS FIRST SEAT: the sealed bid's price, in the door's own measure and the page's own panel and line */
.doors .bid{width:100%;min-height:48px;padding:12px 20px;border:1px solid var(--line);border-radius:3px;background:var(--panel);font:14px/1.5 var(--words);text-align:center}
/* A KNOCKER WEARS HER (his Nov 23 2026 13:10 UTC, over the knock: "this shit cant be blank hexagon"): a hexagon that stands for someone, the knock's and each knocker's at the door, wears their face, else her default Lyssajudron */
.her{display:block;background:#f3eee4 url(./assets/her-default.jpg) center/cover no-repeat;clip-path:polygon(50% 2.1%,91.5% 26%,91.5% 74%,50% 97.9%,8.5% 74%,8.5% 26%)}.ring{position:absolute;inset:10% 12%;z-index:3;pointer-events:none;filter:drop-shadow(0 0 14px rgba(255,150,110,.6))}.ring .her{position:absolute;width:58px;height:58px;left:calc(100% - 29px);top:calc(50% - 29px + var(--i)*62px)}.ring a{pointer-events:auto}
.knock{text-align:center}.knock .her{width:150px;height:150px;margin:-6px auto 14px}.knock h2{margin-bottom:14px}#knock-ask{text-wrap:balance}.knock-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;margin-top:18px;text-align:left}.knock-row b{font:400 24px/1.1 var(--display)}.knock-row span{display:block;margin-top:3px;font:13px/1.4 var(--words);color:var(--ink2)}.knock-row .door{width:auto;min-width:128px}.knock .note{margin:14px 0 2px;overflow-wrap:anywhere}
.world .current{margin:0 0 4px}.world #open{display:grid;grid-template-columns:1fr;gap:12px}.world #open .entry{margin:0;padding:14px 16px 16px;border:1px solid rgba(255,112,124,.45);border-radius:3px;background:rgba(214,44,62,.08)}.bar{display:grid;grid-template-columns:52px 1fr auto;gap:10px;align-items:center;margin-top:9px;font:13px/1 var(--words);color:var(--ink2)}.bar b{font-weight:600}.bar i{display:flex;gap:3px;height:12px}.bar u{border-radius:1px;background:rgba(251,246,234,.14)}.bar u.yes{background:#29E35A}.bar u.no{background:#EF334F}.bar u.abstain{background:#C9B895}.bar+.bar u.yes{background:#F0B90B}
.votes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}.votes button{min-height:44px;border:1px solid var(--line);border-radius:3px;background:rgba(251,246,234,.05);font:14px/1.4 var(--words)}.votes .yes{border-color:#29E35A;color:#b9f5c8;background:rgba(41,227,90,.12)}
@media(max-width:720px){.stage{aspect-ratio:1.12;max-height:none}.stage canvas{max-height:none}#door-pill{display:none}}
.votes.said{display:block;font:14px/1.4 var(--words)}
/* THE SWARM PLAYS ITS VOTE (Nov 23 2026): the five phases on the gold line under the ball, the one now lit, the verdict in its own colour (the engine's: RATUM, REIECTUM, DISSENSIO); the ballot's plate under them */
.world-bottom{flex-wrap:wrap}.rite{position:relative;display:flex;flex:1 0 100%;justify-content:space-between;gap:4px 10px;flex-wrap:wrap;margin:0 0 10px;padding:0;list-style:none;font:500 12px/1.4 var(--words);letter-spacing:.1em;color:var(--ink2)}
.rite:before{content:"";position:absolute;left:4px;right:4px;top:6px;height:1px;background:var(--line2)}.rite li{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px}
.rite li:before{content:"";width:11px;height:11px;border-radius:50%;border:1px solid var(--gold);background:#07070b}.rite .done:before{background:var(--gold)}.rite .on{color:var(--ink)}
.rite .on:before{background:var(--ink);box-shadow:0 0 10px var(--ink)}.rite [data-v=RATUM]{color:#29E35A}.rite [data-v=REIECTUM]{color:#EF334F}.rite [data-v=DISSENSIO]{color:#78EFFF}
.rite [data-v=RATUM]:before{background:#29E35A;border-color:#29E35A;box-shadow:0 0 10px #29E35A}.rite [data-v=REIECTUM]:before{background:#EF334F;border-color:#EF334F;box-shadow:0 0 10px #EF334F}.rite [data-v=DISSENSIO]:before{background:#78EFFF;border-color:#78EFFF;box-shadow:0 0 10px #78EFFF}
#world-caption{display:flex;align-items:center;gap:10px;overflow:hidden;max-height:3.2em}#world-caption .glyph-strip{width:auto;height:12px;flex:0 1 auto;opacity:.8}.plate-at{flex:none;color:var(--gold)}
/* FULGOR on the night: the engine whitens its whole square at the seal (drawn for poleis.us's parchment, where the square's edge vanished); here the ball's square fades round into the night past its orbit, the motion untouched */
.stage .voting-canvas{-webkit-mask-image:radial-gradient(circle closest-side,#000 86%,transparent);mask-image:radial-gradient(circle closest-side,#000 86%,transparent)}
@media (max-width:560px){.rite{flex-wrap:nowrap;padding-bottom:26px;font-size:13px;letter-spacing:.08em}.rite li{position:static}.rite li:not(.on) span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.rite .on span{position:absolute;left:0;right:0;top:22px;text-align:center}}
/* THE SWARM RESTS ON ITS CHAIRS: the facts hold the progression level too (chairs held, levels): five across where there is room, three and two on a phone */
.facts{grid-template-columns:repeat(auto-fit,minmax(96px,1fr))}
/* THE SOCIETY PAGE IS CHECKED (A TRACENET HAS A DOOR, his Nov 23 2026 "fix all" over the walk of every screen, which found no gate judging a society's page): the screens' checker read it at every size, 12 red cells; a count under 13 px, the status and the folds' marks under 4.5:1 on the field, the phone's buttons and folds under a thumb's 44 px. The status wears the page's ink, the folds' + their text's, and on a phone every button and fold is 44 px high */
#activity-label{color:var(--ink)}
.society-details summary>span:empty::before{content:'+'}   /* the folds' mark is drawn, not written: aria-hidden already, a glyph the checker read against its own anti-aliased edge */
@media(max-width:720px){.member-button{font-size:13px;min-height:44px}#motion-toggle{width:44px;height:44px}.text-button{display:inline-flex;align-items:center;min-height:44px}.text-button{padding:0 4px}.society-details summary{display:flex;align-items:center;justify-content:space-between;min-height:44px}}
/* STAKE IN HER, SEND YOUR LIGHT (Nov 22 2026; placed as drafted Nov 24 2026): the blue door beside the red knock, its own words under it
   (her-door.mjs; every byte the wallet signs is poleis/door's). Hidden until a chain names her pool; alone, it takes the row. */
.her-light:not([hidden]){display:grid;gap:12px;padding-bottom:24px}.her-light .her-note{margin:-2px 0 0;text-align:center;font:13px/1.4 var(--words);color:var(--ink2)}
.door.her-send{border-color:rgba(92,150,246,.95);background:linear-gradient(98deg,var(--holy-blue-a),var(--holy-blue-b))}.door.her-send.held{background:none;border-color:rgba(92,150,246,.6);color:var(--holy-cyan)}.her-light[aria-busy] .her-send{opacity:.6;pointer-events:none}
@media(min-width:561px){.doors:not(:empty):has(+.her-light:not([hidden])),.doors:not(:empty)+.her-light:not([hidden]){display:inline-grid;width:calc(50% - 6px);vertical-align:top}.doors:not(:empty)+.her-light{margin-left:12px}}
