:root{color-scheme:dark;--paper:#e6e0d0;--quiet:#9a9486;--faint:#5f5a50;--ret:#e0a75c;--already:#8db6d9;--you:#ecc795;--night:#0e0e10;--serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--paper);background:var(--night);font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--night)}body{overscroll-behavior:none}
button,a,input{font:inherit;color:inherit;background:none;border:0;text-decoration:none;-webkit-tap-highlight-color:transparent}button,a{cursor:pointer}button:disabled{opacity:.36;cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible{outline:1px solid var(--paper);outline-offset:4px}[hidden]{display:none!important}
.among-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:pre}
#among-stage{position:fixed;inset:0;width:100%;height:100%;display:block;pointer-events:none}
/* The band of a phone's screen that the page keeps free of controls: the lines stand in it. */
#among-band{display:none;position:fixed;left:0;right:0;top:var(--stage-top);bottom:var(--stage-bottom);visibility:hidden;pointer-events:none}
header{position:fixed;top:max(4.6vh,env(safe-area-inset-top));left:5.4vw;right:5.4vw;display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.14em;text-shadow:0 1px 10px #000;pointer-events:none}
header a{pointer-events:auto}#among-brand{min-height:44px;display:flex;align-items:center}#among-mark{font:italic 13px/1 var(--serif);letter-spacing:.04em;color:var(--quiet)}
#among-entrance{position:fixed;left:8.5vw;top:24vh;pointer-events:none;transition:opacity 2.2s,transform 2.6s;text-shadow:0 2px 18px #000;max-width:min(80vw,560px)}
#among-entrance h1{margin:0;font:400 clamp(46px,6.8vw,96px)/1 var(--serif);letter-spacing:.02em;color:var(--paper)}
.among-subtitle{margin:16px 0 0;font-size:11px;letter-spacing:.16em;color:var(--quiet)}#among-entrance p:last-child{margin:28px 0 0;font:italic 16px/1.6 var(--serif);color:#c9c2b1}
body:not([data-act=entrance]) #among-entrance{opacity:0;transform:translateY(-10px)}
/* What returns: the count, the words that returned the most, and what was already there. */
#among-ledger{position:fixed;top:calc(max(4.6vh,env(safe-area-inset-top)) + 104px);right:5.4vw;width:min(27vw,340px);text-align:right;pointer-events:none;font-size:10px;line-height:1.7;color:var(--quiet);text-shadow:0 1px 8px #000,0 0 3px #000}
#among-ledger p{margin:0}#among-count{letter-spacing:.05em;color:var(--paper)}
#among-leaders{margin:10px 0 0;padding:0;list-style:none;font:italic 15px/1.55 var(--serif);color:#cfc7b4}#among-leaders b{font-weight:400;color:var(--paper)}#among-leaders li[data-most] b{color:var(--ret)}
#among-already{margin-top:10px!important;font:italic 13px/1.5 var(--serif);color:var(--already)}#among-already:empty{display:none}
#among-notes-list{margin:12px 0 0;padding:10px 0 0;list-style:none;border-top:1px solid #e6e0d022;font:12.5px/1.55 var(--serif);color:#d6cfbd}#among-notes-list:empty{display:none}#among-notes-list li{margin:4px 0}
/* The key: the French table. */
#among-legend{position:fixed;right:5.4vw;bottom:calc(max(4.6vh,env(safe-area-inset-bottom)) + 64px);margin:0;pointer-events:none;color:var(--faint);font-size:10px;text-align:right}
#among-cipher{border-collapse:collapse;margin-left:auto}#among-cipher th{font-weight:400;color:var(--quiet);padding:0 0 4px;width:19px}#among-cipher td{width:19px;height:16px;text-align:center;color:#8c8678;transition:color .5s}
#among-cipher td.lit{animation:lit .9s ease-out}@keyframes lit{from{color:#fff1d6;text-shadow:0 0 8px #e0a75c}to{color:#8c8678}}body.still #among-cipher td.lit{animation-duration:.01s}
#among-legend figcaption{margin-top:6px;letter-spacing:.04em;color:var(--faint)}
/* Your word. */
#among-write{position:fixed;left:5.4vw;bottom:calc(max(4.6vh,env(safe-area-inset-bottom)) + 62px);display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;width:min(44vw,500px);font:15px/1.4 var(--serif);color:var(--paper)}
#among-write label{font:italic 15px var(--serif);color:var(--you)}#among-write input{flex:1;min-width:120px;min-height:44px;padding:6px 2px;border-bottom:1px solid #e6e0d066;font:italic 18px/1.4 var(--serif);color:var(--paper)}#among-write input::placeholder{color:#7f7a6d}
#among-write button{min-height:44px;padding:8px 10px;font:11px ui-monospace,monospace;letter-spacing:.08em;color:var(--quiet)}#among-write button:hover:not(:disabled){color:var(--paper)}
#among-preview{flex-basis:100%;margin:0;min-height:1.5em;font:10px/1.5 ui-monospace,monospace;letter-spacing:.03em;color:var(--ret)}
#among-controls{position:fixed;left:5.4vw;right:5.4vw;bottom:max(4.6vh,env(safe-area-inset-bottom));display:flex;align-items:center;gap:clamp(4px,1.1vw,18px);font-size:12px;letter-spacing:.04em;color:var(--quiet);text-shadow:0 1px 8px #000}
#among-controls button,#among-controls a{min-height:44px;padding:10px 8px}#among-controls button:hover:not(:disabled),#among-controls a:hover{color:var(--paper)}
#among-controls .among-primary{min-width:104px;padding:10px 22px;border:1px solid #e6e0d088;color:var(--paper);letter-spacing:.08em}
#among-controls [aria-pressed=true]{color:var(--you);text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:1px}
#among-help{font-size:17px;min-width:44px}#among-leave{margin-left:auto}
#among-said{position:fixed;left:5.4vw;bottom:calc(max(4.6vh,env(safe-area-inset-bottom)) + 150px);max-width:min(44vw,500px);margin:0;font-size:11px;line-height:1.7;color:var(--you);pointer-events:none;text-shadow:0 1px 10px #000}#among-said:empty{display:none}
body[data-act=poem] #among-said,body[data-act=entrance] #among-said{bottom:calc(max(4.6vh,env(safe-area-inset-bottom)) + 62px)}
#among-notes{position:fixed;right:0;top:0;bottom:0;z-index:6;width:min(480px,100vw);overflow:auto;padding:46px 34px 30px;background:#101012f6;border-left:1px solid #e6e0d02e;backdrop-filter:blur(16px)}
#among-notes h2{margin:0 0 26px;font:italic 400 20px/1.4 var(--serif);color:var(--paper)}#among-notes p{font:13px/1.85 var(--serif);color:#d0c9b8;margin:16px 0}#among-notes a{text-decoration:underline;text-underline-offset:4px}
#among-notes-close{position:absolute;top:20px;right:24px;font-size:27px;min-width:44px;min-height:44px}#among-metrics{display:block;margin-top:24px;padding-top:18px;border-top:1px solid #9a948640;font:9px/1.9 ui-monospace,monospace;color:#8a8476}
body.closed canvas{opacity:.4}
.p3r-recording-floating[data-p3r-recording="among"]{top:max(4.6vh,env(safe-area-inset-top));right:calc(5.4vw + 90px);transform:rotate(-1deg);background:#101012e8;border-color:#e6e0d044}
@media(max-width:1000px){#among-ledger{width:min(34vw,320px)}#among-write{width:min(52vw,460px)}}
/* A phone or an upright tablet: the ledger in a strip at the top, the controls at the foot, the lines between. */
@media(orientation:portrait) and (max-width:1100px),(max-width:600px) and (min-height:501px){
 :root{--stage-top:calc(max(12px,env(safe-area-inset-top)) + 236px);--stage-bottom:calc(max(10px,env(safe-area-inset-bottom)) + 104px)}
 body:is([data-act=would],[data-act=you]){--stage-bottom:calc(max(10px,env(safe-area-inset-bottom)) + 196px)}
 #among-band{display:block}
 header{left:16px;right:16px;top:max(12px,env(safe-area-inset-top))}
 #among-entrance{left:16px;right:16px;top:27vh}#among-entrance p:last-child{font-size:14px}
 #among-ledger{left:16px;right:16px;width:auto;top:calc(max(12px,env(safe-area-inset-top)) + 46px);height:84px;overflow:hidden;text-align:left;font-size:9.5px;line-height:1.55}
 #among-leaders{display:flex;gap:12px;margin-top:2px;font-size:13px}#among-already{margin-top:2px!important;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #among-notes-list{margin:2px 0 0;padding:0;border:0;font-size:12px}#among-notes-list li{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#among-notes-list li:not(:last-child){display:none}
 #among-legend{display:none}
 .p3r-recording-floating[data-p3r-recording="among"]{top:calc(max(12px,env(safe-area-inset-top)) + 140px);right:12px;bottom:auto;left:auto;transform:none}
 #among-said{left:16px;right:16px;max-width:none;top:var(--stage-top);bottom:auto;padding:5px 9px;background:#0e0e10f0}
 body[data-act=poem] #among-said,body[data-act=entrance] #among-said{bottom:auto}
 #among-write{left:16px;right:16px;width:auto;bottom:calc(max(10px,env(safe-area-inset-bottom)) + 100px)}#among-write input{font-size:17px}
 #among-controls{left:8px;right:8px;bottom:max(10px,env(safe-area-inset-bottom));flex-wrap:wrap;gap:0 2px;font-size:11px}#among-controls button,#among-controls a{padding:9px 6px}#among-controls .among-primary{min-width:76px;padding:9px 14px}
}
/* A short phone keeps the same order with less of each: one leader line, a smaller recorder. */
@media(orientation:portrait) and (max-height:700px),(max-width:600px) and (min-height:501px) and (max-height:700px){
 :root{--stage-top:calc(max(8px,env(safe-area-inset-top)) + 212px)}
 header{top:max(8px,env(safe-area-inset-top))}
 #among-ledger{top:calc(max(8px,env(safe-area-inset-top)) + 48px);height:74px}
 .p3r-recording-floating[data-p3r-recording="among"]{top:calc(max(8px,env(safe-area-inset-top)) + 126px);padding:6px 8px}
 .p3r-recording-floating[data-p3r-recording="among"] button{min-height:30px;padding:4px 6px}
 .p3r-recording-floating[data-p3r-recording="among"] output{margin-top:2px}
}
/* A phone on its side: the lines keep to the left, the ledger and your word to the right. */
@media(orientation:landscape) and (max-height:500px){
 :root{--stage-top:calc(max(6px,env(safe-area-inset-top)) + 40px);--stage-bottom:calc(max(6px,env(safe-area-inset-bottom)) + 52px)}
 #among-band{display:block;right:40vw}
 header{left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));top:max(4px,env(safe-area-inset-top))}
 #among-entrance{top:20vh}#among-entrance h1{font-size:48px}
 #among-ledger{top:calc(max(4px,env(safe-area-inset-top)) + 126px);right:max(16px,env(safe-area-inset-right));width:calc(38vw - 16px);font-size:9px;line-height:1.5}
 #among-leaders{display:flex;justify-content:flex-end;gap:10px;font-size:13px;margin-top:2px}#among-notes-list{display:none}#among-already{font-size:12px;margin-top:4px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #among-legend{display:none}
 .p3r-recording-floating[data-p3r-recording="among"]{top:calc(max(4px,env(safe-area-inset-top)) + 42px);right:max(16px,env(safe-area-inset-right));left:auto;bottom:auto;transform:none;padding:4px 8px}
 .p3r-recording-floating[data-p3r-recording="among"] button{min-height:30px;padding:4px 6px}
 #among-write{left:auto;right:max(16px,env(safe-area-inset-right));width:calc(38vw - 16px);bottom:calc(max(6px,env(safe-area-inset-bottom)) + 50px)}#among-write label{display:none}
 #among-said{left:auto;right:max(16px,env(safe-area-inset-right));max-width:calc(38vw - 16px);bottom:calc(max(6px,env(safe-area-inset-bottom)) + 128px)}
 #among-controls{left:8px;right:8px;bottom:max(6px,env(safe-area-inset-bottom));gap:0;font-size:10.5px;white-space:nowrap}#among-controls button,#among-controls a{padding:8px 5px}#among-controls .among-primary{min-width:72px;padding:8px 12px}
}
@media(max-width:350px){#among-controls{font-size:10px}#among-controls button,#among-controls a{padding:8px 4px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
