/* Gamelade Reader Experience 1.0.0; scoped to gre-* components. */
:root{--gre-purple:var(--accent,#7429b3);--gre-ink:var(--ink-900,#211827);--gre-muted:var(--ink-500,#797484);--gre-paper:var(--paper,#fff);--gre-line:var(--line,#e8e3ee);--gre-tint:var(--brand-tint-2,#f6effc)}
[data-theme="dark"]{--gre-paper:var(--paper,#1b1425);--gre-ink:var(--ink-900,#f4f1f8);--gre-muted:var(--ink-500,#aaa3ba);--gre-line:var(--line,#392d49);--gre-tint:var(--brand-tint-2,#2d203c)}
.gre-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:10px 16px;background:var(--gre-purple);border:1px solid var(--gre-purple);color:#fff!important;border-radius:11px;font:inherit;font-size:13px;font-weight:750;text-decoration:none!important;cursor:pointer;line-height:1.3;transition:transform .14s,background .14s}
.gre-button:hover{transform:translateY(-1px);filter:brightness(1.07)}
.gre-button:focus-visible,.gre-comment-tool:focus-visible,.gre-icon-button:focus-visible,.gre-thread-toggle:focus-visible,.gre-muted-option:focus-within{outline:3px solid #a565ed;outline-offset:2px}
.gre-button[disabled]{opacity:.5;cursor:not-allowed}
.gre-button--outline{background:var(--gre-paper);color:var(--gre-purple)!important;border-color:var(--gre-line)}
.gre-button--plain{background:transparent;color:var(--gre-muted)!important;border-color:transparent}
.gre-eyebrow{font-size:11px!important;line-height:1.5;letter-spacing:.1em;font-weight:900;color:var(--gre-purple)!important;text-transform:uppercase;margin:0 0 8px}
.gre-toast{position:fixed;right:20px;bottom:24px;z-index:100100;padding:13px 18px;max-width:min(370px,calc(100vw - 30px));border-radius:12px;background:#2c163b;color:#fff;font-size:14px;box-shadow:0 14px 38px #170a2670;opacity:0;transform:translateY(16px);pointer-events:none;transition:.2s}
.gre-toast.is-show{opacity:1;transform:translateY(0)}
.gre-reading-tools{display:flex;justify-content:flex-start;margin:12px 0 18px}
.gre-reading-tools .gre-button{font-size:13px;padding:9px 14px}
.gre-resume{border:1px solid #bfa0e6;background:var(--gre-tint);color:var(--gre-ink);border-radius:14px;padding:12px 14px;margin:18px 0;display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px;font-weight:650}
.gre-resume>div{flex:1 1 210px}
.gre-focus-exit{display:none;position:fixed;right:17px;bottom:17px;z-index:300;background:#442064;color:#fff;border:0;border-radius:30px;padding:13px 18px;font-weight:750;cursor:pointer;box-shadow:0 12px 35px #10041e40}
html.gre-is-focus .gre-focus-exit{display:block}
html.gre-is-focus .gl-wrap{max-width:850px!important}
html.gre-is-focus .gl-layout{display:block!important;grid-template-columns:none!important}
html.gre-is-focus .gl-layout>article{width:100%!important;max-width:790px!important;margin:0 auto!important}
html.gre-is-focus .gl-layout>aside,html.gre-is-focus .gl-layout>.sidebar,html.gre-is-focus .read-also,html.gre-is-focus .gl-comments,html.gre-is-focus .gl-layout .xdm-ad,html.gre-is-focus .gl-layout .gl-xdm-ad,html.gre-is-focus .site-footer{display:none!important}
html.gre-is-focus .article-body{font-size:1.045em}
.gre-read [class*="__title"]{opacity:.73}
.gre-read-label{display:inline-flex!important;align-items:center;margin-left:8px;padding:2px 7px;border-radius:20px;border:1px solid var(--gre-line);background:var(--gre-tint);color:var(--gre-muted)!important;vertical-align:middle;white-space:nowrap;font-size:10px!important;font-weight:650!important;letter-spacing:0}
.gre-lead .gre-read-label{color:#fff!important}
.gre-homebar{max-width:1150px;margin:23px auto 8px;padding:0 24px}
.gre-homebar__inner{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.gre-new-counter{border:1px solid #bda9cf;background:var(--gre-tint);color:var(--gre-purple);border-radius:50px;padding:9px 13px;font-weight:750;font-size:13px}
.gre-new-counter[hidden]{display:none}
.gre-overlay{position:fixed;inset:0;z-index:100050;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(13,6,22,.68);backdrop-filter:blur(6px)}
body.gre-dialog-open{overflow:hidden}
.gre-dialog{background:var(--gre-paper);color:var(--gre-ink);border:1px solid var(--gre-line);box-shadow:0 24px 80px #12051c75;border-radius:20px;width:min(670px,100%);max-height:min(82vh,860px);display:flex;flex-direction:column;overflow:hidden;font-family:inherit}
.gre-dialog__head{display:flex;align-items:center;justify-content:space-between;padding:20px 23px 10px;gap:16px}
.gre-dialog h2{margin:0;font-size:23px;line-height:1.3;letter-spacing:-.02em;color:var(--gre-ink)}
.gre-dialog__intro{padding:0 23px;margin:0 0 14px;color:var(--gre-muted);font-size:13px;line-height:1.55}
.gre-dialog__body{overflow-y:auto;min-height:100px;padding:14px 23px 22px}
.gre-icon-button{min-width:36px;min-height:36px;background:var(--gre-tint);color:var(--gre-ink);border:1px solid var(--gre-line);font-size:26px;line-height:1;border-radius:10px;cursor:pointer}
.gre-dialog__foot{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;flex-wrap:wrap}
.gre-dialog__hint{font-size:13px;color:var(--gre-muted)}
.gre-digest-list{list-style:none!important;padding:0!important;margin:0!important;display:grid;gap:0}
.gre-digest-list>li{padding:14px 0;border-bottom:1px solid var(--gre-line)}
.gre-digest-list>li:last-child{border:0}
.gre-digest-list h3{margin:4px 0 6px;color:var(--gre-ink);font-size:16px;line-height:1.4}
.gre-digest-list h3 a{color:inherit;text-decoration:none}
.gre-digest-list h3 a:hover{color:var(--gre-purple)}
.gre-digest-list p{font-size:13px;line-height:1.55;margin:0;color:var(--gre-muted)}
.gre-digest-meta{font-size:11px;font-weight:750;color:var(--gre-purple)}
.gre-page{max-width:1210px;margin:0 auto;min-height:55vh;padding:50px 25px 80px;color:var(--gre-ink)}
.gre-page__head{border-bottom:1px solid var(--gre-line);padding-bottom:24px;margin-bottom:30px}
.gre-page__head h1{font-size:clamp(30px,4vw,44px);letter-spacing:-.04em;margin:0 0 8px;color:var(--gre-ink)}
.gre-page__head p:not(.gre-eyebrow){margin:0;color:var(--gre-muted);line-height:1.65}
.gre-page__headrow{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
.gre-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.gre-news-card{min-width:0;border-radius:16px;border:1px solid var(--gre-line);background:var(--gre-paper);overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 22px -24px #210d36}
.gre-news-card__image{display:block;aspect-ratio:16/9;background:var(--gre-tint);overflow:hidden}
.gre-news-card__image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}
.gre-news-card:hover img{transform:scale(1.03)}
.gre-news-card__content{padding:18px;display:flex;flex:1;flex-direction:column;min-width:0}
.gre-news-card time{font-size:11px;color:var(--gre-muted);font-weight:650}
.gre-news-card h2{font-size:18px;line-height:1.37;margin:8px 0;color:var(--gre-ink);overflow-wrap:anywhere}
.gre-news-card h2 a{color:inherit;text-decoration:none}.gre-news-card h2 a:hover{color:var(--gre-purple)}
.gre-news-card p{font-size:13px;line-height:1.58;color:var(--gre-muted);margin:0 0 14px;flex:1}
.gre-reason{font-size:11px;color:var(--gre-muted);border-top:1px solid var(--gre-line);padding-top:12px;display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.gre-reason strong{color:var(--gre-purple)}
.gre-reason button,.gre-inline-tip button{border:0;background:transparent;color:var(--gre-purple);font:inherit;font-weight:750;text-decoration:underline;cursor:pointer}
.gre-noimg{display:grid;place-items:center;height:100%;font-size:20px;font-weight:900;letter-spacing:.06em;color:var(--gre-purple)}
.gre-inline-tip{padding:15px 18px;margin:0 0 22px;background:var(--gre-tint);border-radius:12px;font-size:14px;color:var(--gre-ink)}
.gre-empty{padding:45px 30px;text-align:center;background:var(--gre-tint);border-radius:15px;margin:20px 0;line-height:1.7}
.gre-empty h2{font-size:22px;margin:0 0 9px;color:var(--gre-ink)}
.gre-empty p{color:var(--gre-muted)}
.gre-page__foot{display:flex;align-items:center;gap:20px;justify-content:center;margin-top:35px;font-size:14px}
.gre-page__foot>a{color:var(--gre-purple)}
.gre-prefs-search{width:100%;box-sizing:border-box;border:1px solid var(--gre-line);background:var(--gre-paper);color:var(--gre-ink);padding:12px 14px;border-radius:10px;font:inherit;font-size:14px;margin-bottom:12px}
.gre-prefs-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:245px;overflow:auto;padding:2px}
.gre-pref-row{display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid var(--gre-line);border-radius:10px;min-width:0;font-size:13px;color:var(--gre-ink)}
.gre-pref-row[hidden]{display:none}
.gre-pref-row input{accent-color:var(--gre-purple);width:16px;height:16px;flex:none}
.gre-pref-row label{flex:1;min-width:0;overflow-wrap:anywhere;cursor:pointer}
.gre-pref-kind{font-size:9px;color:var(--gre-muted);white-space:nowrap}
.gre-mute-wrap{margin-top:23px;border-top:1px solid var(--gre-line);padding-top:12px}
.gre-mute-wrap h3{font-size:14px;margin:0 0 12px;color:var(--gre-ink)}
.gre-muted-catalog{max-height:120px;overflow:auto;display:flex;flex-wrap:wrap;gap:9px}
.gre-muted-option{font-size:11px;display:inline-flex;align-items:center;gap:5px;border:1px solid var(--gre-line);padding:6px 9px;border-radius:20px;cursor:pointer;color:var(--gre-muted)}
.gre-muted-option input{accent-color:var(--gre-purple)}
.gre-register-prefs{border:1px solid var(--gre-line);border-radius:11px;padding:10px 12px;margin:12px 0;min-width:0;background:var(--gre-tint);max-height:235px;overflow:auto;box-sizing:border-box}
.gre-register-prefs legend{font-size:13px;font-weight:800;color:var(--gre-ink)}
.gre-register-prefs p{font-size:11px;color:var(--gre-muted);margin:3px 0 10px;line-height:1.5}
.gre-register-prefs .gre-prefs-list{max-height:138px}
.gre-register-prefs .gre-pref-row{background:var(--gre-paper);padding:5px;font-size:11px}
.gre-register-prefs .gre-pref-kind{display:none}
.gre-register-prefs .gre-prefs-search{font-size:12px;padding:8px;margin-bottom:6px}
.gre-link-preview{position:fixed;width:min(310px,calc(100vw - 24px));max-height:60vh;overflow:auto;z-index:4000;background:var(--gre-paper);color:var(--gre-ink);border:1px solid var(--gre-line);border-radius:14px;box-shadow:0 17px 46px #13061e50;padding:12px;box-sizing:border-box;font:inherit}
.gre-link-preview img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:9px;margin-bottom:9px}
.gre-link-preview strong{font-size:14px;line-height:1.4;display:block}
.gre-link-preview p{font-size:12px;line-height:1.5;color:var(--gre-muted);margin:7px 0 10px}
.gre-preview-visit{color:var(--gre-purple);font-size:12px;font-weight:750}
.gre-story-notes{display:grid;gap:12px;margin:0 0 30px}
.gre-story-note{padding:16px 18px 18px;border-radius:13px;background:var(--gre-tint);border-left:4px solid var(--gre-purple)}
.gre-story-note h2{margin:2px 0 9px!important;font-size:18px!important;color:var(--gre-ink);line-height:1.4}
.gre-story-note p{font-size:15px!important;line-height:1.65!important;margin:0 0 8px!important;color:var(--gre-ink)}
.gre-story-note a{font-size:13px;color:var(--gre-purple);font-weight:750}
.gre-story-note--new{border-color:#219a80}
.gre-timeline{border:1px solid var(--gre-line);border-radius:16px;padding:18px 20px;margin:34px 0;overflow:hidden}
.gre-timeline__heading{display:flex;justify-content:space-between;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:15px}
.gre-timeline__heading h2{font-size:19px!important;line-height:1.4;margin:0!important;color:var(--gre-ink)}
.gre-timeline__heading>a{font-size:12px;font-weight:750;color:var(--gre-purple)}
.gre-timeline ol,.gre-archive-timeline{list-style:none!important;margin:0!important;padding:0!important}
.gre-timeline li{margin:0 0 0 6px!important;padding:5px 0 14px 16px!important;border-left:2px solid var(--gre-line);position:relative;display:flex;flex-direction:column;gap:3px}
.gre-timeline li::before,.gre-archive-timeline li::before{content:"";position:absolute;left:-6px;top:12px;width:10px;height:10px;background:var(--gre-purple);border:2px solid var(--gre-paper);border-radius:50%}
.gre-timeline li time,.gre-archive-timeline time{font-size:11px;color:var(--gre-muted);font-weight:700}
.gre-timeline li>a{font-size:13px;color:var(--gre-ink);font-weight:720;line-height:1.5;text-decoration:none}
.gre-timeline__current{background:var(--gre-tint)}
.gre-timeline__current-label{font-size:10px;font-weight:750;color:var(--gre-purple)}
.gre-archive-timeline{max-width:850px}
.gre-archive-timeline li{position:relative;display:grid;grid-template-columns:115px 1fr;gap:24px;margin:0 0 0 6px;padding:0 0 27px 22px;border-left:2px solid var(--gre-line)}
.gre-archive-timeline li::before{top:5px}
.gre-archive-timeline h2{font-size:20px;line-height:1.4;margin:0 0 8px}
.gre-archive-timeline h2 a{color:var(--gre-ink);text-decoration:none}
.gre-archive-timeline p{color:var(--gre-muted);font-size:13px;line-height:1.6;margin:0}
.gre-pagination{margin:25px 0;display:flex;gap:10px}.gre-pagination .page-numbers{border:1px solid var(--gre-line);padding:7px 11px;border-radius:8px}
.gre-comment-actions{display:inline-flex;gap:5px;align-items:center;flex-wrap:wrap}
.gre-comment-tool{border:0;border-radius:7px;background:transparent;color:var(--gre-muted);font-size:12px;font-family:inherit;cursor:pointer;min-height:30px;padding:4px 7px;font-weight:700;white-space:nowrap}
.gre-comment-tool:hover{background:var(--gre-tint);color:var(--gre-purple)}
.gre-featured-badge{display:inline-flex;border-radius:5px;padding:3px 7px;font-size:10px;font-weight:800;color:#6a2894;background:#f4e3ff;margin-right:7px}
[data-theme="dark"] .gre-featured-badge{background:#422155;color:#edc7ff}
.gre-edited{display:inline-block;margin-top:5px;font-size:11px;color:var(--gre-muted);font-style:italic}
.gre-quoted-comment{background:var(--gre-tint);border-left:3px solid var(--gre-purple);border-radius:8px;padding:9px 12px;margin:4px 0 12px;max-width:100%}
.gre-quoted-comment span{font-size:11px;font-weight:800;color:var(--gre-purple)}
.gre-quoted-comment p{margin:3px 0 0!important;font-size:13px!important;font-weight:500!important;color:var(--gre-muted);overflow-wrap:anywhere}
.gre-spoiler{display:inline-flex;flex-direction:column;gap:6px;vertical-align:middle;max-width:100%;margin:4px 0}
.gre-spoiler__btn{border:1px dashed #b38bca;background:var(--gre-tint);color:var(--gre-purple);border-radius:7px;padding:7px 10px;font:inherit;font-size:12px;font-weight:750;cursor:pointer;text-align:left}
.gre-spoiler__body{font-size:inherit;color:var(--gre-ink);white-space:pre-wrap;overflow-wrap:anywhere}
.gre-spoiler__body[hidden]{display:none!important}
.gre-thread-controls{padding:5px 0 10px}
.gre-thread-toggle{background:transparent;border:0;color:var(--gre-purple);font-size:12px;font-weight:800;cursor:pointer;padding:7px 12px}
.gre-reply-hidden{display:none!important}
.gre-composer-tools{margin:7px 0;display:flex;align-items:center}
.gre-mentions{position:absolute;z-index:100;left:14px;right:14px;bottom:100%;background:var(--gre-paper);color:var(--gre-ink);border:1px solid var(--gre-line);box-shadow:0 12px 30px #20112930;border-radius:12px;padding:6px;max-height:180px;overflow:auto}
.gre-mentions[hidden]{display:none}
.gre-mention-option{display:block;border:0;padding:10px;background:transparent;color:var(--gre-ink);width:100%;text-align:left;font:inherit;font-size:12px;cursor:pointer}
.gre-mention-option:hover{background:var(--gre-tint)}
.gre-edit-input{box-sizing:border-box;width:100%;resize:vertical;min-height:130px;border:1px solid var(--gre-line);background:var(--gre-paper);color:var(--gre-ink);border-radius:10px;padding:12px 13px;font:inherit;font-size:14px;line-height:1.5}
@media(max-width:950px){.gre-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gre-homebar{padding:0 18px}}
@media(max-width:600px){
 .gre-page{padding:27px 16px 45px}.gre-news-grid{grid-template-columns:1fr;gap:14px}.gre-news-card__content{padding:14px}
 .gre-page__head{margin-bottom:18px}.gre-page__head h1{font-size:30px}
 .gre-overlay{padding:10px;align-items:center}.gre-dialog{max-height:90vh;border-radius:17px}.gre-dialog__head{padding:16px 15px 7px}.gre-dialog__body{padding:10px 15px 17px}.gre-dialog__intro{padding:0 15px}
 .gre-dialog h2{font-size:20px}.gre-prefs-list{grid-template-columns:1fr}.gre-register-prefs .gre-prefs-list{grid-template-columns:1fr 1fr}
 .gre-homebar{margin:13px auto 7px;padding:0 14px}.gre-homebar__inner{gap:7px}.gre-new-counter{font-size:12px}
 .gre-resume{padding:10px;gap:8px}.gre-resume>div{flex:1 0 100%}
 .gre-timeline{padding:13px 14px}.gre-archive-timeline li{display:block;padding-left:18px}.gre-archive-timeline li>time{display:block;margin-bottom:6px}
 .gre-comment-tool{padding:3px 5px;font-size:11px}.gre-link-preview{width:calc(100vw - 24px)}.gre-focus-exit{right:10px;bottom:12px}
 .gre-register-prefs{max-height:210px}
}
@media(prefers-reduced-motion:reduce){.gre-button,.gre-toast,.gre-news-card__image img{transition:none!important}}

/* Position participant suggestions relative to the existing composer. */
#commentform.composer__main{position:relative}
