/* Shared surface, navigation and action recipes. Keep semantic entity colors independent. */
/* A local night sky with irregular stars; the foreground never moves independently. */
.world-card>.portal-sky,.campaign-card>.portal-sky{position:absolute;display:block;inset:0;z-index:-1;pointer-events:none;overflow:hidden;opacity:var(--sky-opacity);background:radial-gradient(ellipse at 75% 12%,color-mix(in srgb,var(--sky-accent,var(--secondary)) 42%,transparent),transparent 52%),radial-gradient(ellipse at 15% 30%,color-mix(in srgb,var(--sky-accent,var(--secondary)) 28%,transparent),transparent 62%),color-mix(in srgb,var(--sky-accent,var(--secondary)) 18%,var(--sky-depth));mask-image:linear-gradient(#000, #000b 32%,transparent 92%);}
.portal-sky::before{content:'';position:absolute;inset:-20%;background:radial-gradient(ellipse at 50% 45%,color-mix(in srgb,var(--sky-accent,var(--sky-mist)) 38%,transparent),transparent 52%);transform:rotate(-28deg) translate(calc(var(--cx,0px) * .55),calc(var(--cy,0px) * .55));filter:blur(12px);transition:transform .45s ease;}
.portal-sky svg{position:absolute;inset:-15%;width:130%;height:130%;fill:var(--sky-star);}
.sky-stars{transform:translate(calc(var(--cx,0px) * .25),calc(var(--cy,0px) * .25));transition:transform .45s ease;animation:portal-starlight 4s ease-in-out infinite alternate;animation-play-state:paused;}
.sky-stars-1{transform:translate(calc(var(--cx,0px) * .65),calc(var(--cy,0px) * .65));animation-delay:-1.7s;animation-duration:6s;}.sky-stars-2{transform:translate(var(--cx,0px),var(--cy,0px));animation-delay:-3s;filter:drop-shadow(0 0 2px var(--sky-star));}
.campaign-card>.portal-sky{mask-image:linear-gradient(#0009, #0005 30%,transparent 85%);}
@keyframes portal-starlight{from{opacity:.35}to{opacity:1}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){:is(.world-card,.campaign-card):hover .sky-stars{animation-play-state:running;}}
:is(.world-card,.campaign-card):focus-visible .sky-stars{animation-play-state:running;}
@media(prefers-reduced-motion:reduce){.portal-sky svg,.portal-sky::before{transform:none;transition:none;}.sky-stars{transform:translate(calc(var(--cx,0px) * .25),calc(var(--cy,0px) * .25));transition:transform .45s ease;animation:none;}}
body{background:radial-gradient(ellipse at 80% 0,color-mix(in srgb,var(--secondary) 8%,transparent),transparent 55%),var(--bg);color:var(--text)}
.portal-chrome{position:sticky;top:0;z-index:1200}.portal-chrome .deployment-ribbon{position:relative;top:auto;z-index:auto;color:#fff4cf}.portal-chrome .deployment-ribbon code{color:inherit}.portal-chrome .site-header{position:relative;top:auto;z-index:auto;background:var(--chrome);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
h1,h2,h3{color:var(--text)}.page-heading h1,.auth-card h1,.world-hero h1{font-family:Georgia,serif;font-style:italic;font-weight:400}.muted{color:var(--muted)}
:is(.portal-surface,.auth-card,.detail-card,.dashboard-panel,.management-panel,.world-panel,.world-storage-panel,.calendar-card,.world-calendar-panel,.create-panel,.proposal-panel,.profile-identity-panel,.profile-security-panel,.account-card,.notification-card,.notification-preference-card,.gateway-card,.quick-card,.rule-card,.stat-card,.empty-state,.public-work-card){border:1px solid var(--line);border-top:2px solid color-mix(in srgb,var(--gold) 45%,var(--line));border-radius:var(--radius);background:linear-gradient(130deg,color-mix(in srgb,var(--text) 3%,transparent),transparent 50%),var(--panel);box-shadow:inset 0 1px color-mix(in srgb,var(--text) 7%,transparent),0 15px 35px var(--shadow);color:var(--text)}
:is(.world-card,.campaign-card){position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--line);border-top:2px solid color-mix(in srgb,var(--gold) 50%,var(--line));border-radius:var(--radius);background:var(--panel);color:var(--text);box-shadow:inset 0 1px color-mix(in srgb,var(--text) 8%,transparent),0 20px 35px var(--shadow);transition:transform .6s ease,box-shadow .6s ease;transform:perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg))}.world-card:hover,.campaign-card:hover{transform:perspective(1000px) translateY(-3px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));box-shadow:0 24px 40px var(--shadow)}
.world-card{display:block;padding:140px 26px 26px;min-height:310px}.world-card>span:not(.world-constellation){position:relative;display:block}.world-card strong,.campaign-card>strong{font-family:Georgia,serif;font-style:italic;font-size:1.5rem}.world-card small,.world-card em{color:var(--gold)}.world-constellation{position:absolute;inset:0 0 auto;height:160px;pointer-events:none;background:radial-gradient(ellipse at 30% 10%,color-mix(in srgb,var(--secondary) 22%,transparent),transparent 70%);mask-image:linear-gradient(#000 70%,transparent)}.world-constellation:before{content:'';position:absolute;inset:-10px;background-image:radial-gradient(var(--gold) 1px,transparent 1.5px);background-size:59px 43px;opacity:.55;transform:translate(var(--cx,0px),var(--cy,0px));transition:transform .8s}.world-constellation svg{width:100%;height:100%;fill:var(--gold);transform:translate(var(--cx,0px),var(--cy,0px));transition:transform .8s}.world-constellation path{fill:none;stroke:var(--gold);stroke-width:.7;opacity:.4}
.campaign-card{border-top-color:var(--event-campaign-color,var(--campaign-color,var(--secondary)));background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--event-campaign-color,var(--campaign-color,var(--secondary))) 12%,transparent),transparent 65%),var(--panel)}.campaign-card .card-action{color:var(--gold)}
:is(.main-nav,.profile-tabs,.public-work-tabs){padding:6px;gap:6px;border-radius:24px;background:color-mix(in srgb,var(--bg) 88%,#000);box-shadow:inset 0 2px 8px var(--shadow)}:is(.main-nav,.profile-tabs,.public-work-tabs) a{border:0;border-radius:20px;background:var(--panel);color:var(--muted);box-shadow:inset 0 1px var(--line),0 2px 5px var(--shadow)}:is(.main-nav,.profile-tabs,.public-work-tabs) a.active{background:var(--field);color:var(--gold);box-shadow:inset 0 3px 8px var(--shadow),inset 0 -2px var(--secondary)}
:is(button,.button):not(.link-button):not(.calendar-day):not(.avatar-remove-button){border-radius:10px;border-color:var(--line);border-top-color:color-mix(in srgb,var(--text) 25%,transparent);box-shadow:inset 0 1px color-mix(in srgb,var(--text) 6%,transparent),0 3px 6px var(--shadow)}.button.secondary,button.secondary{background:var(--panel-raised);color:var(--text)}button.primary,.button.primary{background:linear-gradient(130deg,color-mix(in srgb,var(--primary) 80%,white),var(--primary));color:var(--on-primary);border-bottom:3px solid color-mix(in srgb,var(--primary) 65%,#000);font-weight:700}
input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea{background:var(--field);color:var(--text);border-color:var(--line)}input::placeholder,textarea::placeholder{color:var(--muted)}input[type=color]{width:70px;height:40px;padding:3px;border:1px solid var(--line);background:var(--panel)}:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
dialog{color:var(--text);background:var(--panel);border-color:var(--line)}dialog::backdrop{background:#100b1a88;backdrop-filter:blur(7px)}.patch-popover,.campaign-todo-dialog,.calendar-day-dialog,.calendar-expanded-dialog,.personal-calendar-dialog{background:var(--panel);color:var(--text)}
.public-work-card{border-top-width:1px;box-shadow:0 5px 12px var(--shadow)}.help-card{border-radius:var(--radius);border-color:var(--line);box-shadow:0 15px 35px var(--shadow)}.help-card-content{background:var(--panel);color:var(--text)}.calendar-card{border-top-color:var(--line)}.page-heading,.world-hero{background:radial-gradient(ellipse at 70% 100%,color-mix(in srgb,var(--secondary) 10%,transparent),transparent 70%);border-bottom:1px solid var(--line)}
.appearance-preview{display:grid;gap:8px;padding:24px;border:1px solid var(--line);border-top:2px solid var(--gold);border-radius:var(--radius);background:var(--panel-raised);margin:20px 0}.appearance-preview strong{font:italic 24px Georgia;color:var(--gold)}.appearance-preview span{color:var(--violet)}
@media(max-width:760px){.portal-chrome{position:relative}.portal-chrome .site-header{position:relative}.world-card{padding:125px 20px 20px}.world-constellation{height:145px}}
@media(prefers-reduced-motion:reduce){.world-card,.campaign-card,.world-card:hover,.campaign-card:hover{transform:none;transition:none}.world-constellation:before,.world-constellation svg{transform:none;transition:none}}

.invite-qr{background:#fff}.deployment-ribbon :is(strong,span,code){color:inherit}

.world-card>span:not(.world-constellation){display:flex;flex-direction:column;gap:8px}.world-card strong{line-height:1.2}.world-card .access-card-stats{display:block}.patch-trigger,.site-legal-footer summary{color:var(--gold)}.role-pill{color:var(--violet);background:color-mix(in srgb,var(--secondary) 12%,var(--panel));border-color:var(--line)}:root[data-theme=dark] .site-legal-footer>img{filter:brightness(2.6)}

.campaign-calendar,.profile-calendar-filters{background:var(--panel);color:var(--text);border-color:var(--line)}.campaign-calendar-day{background:var(--field);color:var(--text)}.campaign-calendar-day.today{background:color-mix(in srgb,var(--primary) 12%,var(--panel));border-color:var(--gold)}
.calendar-view-switch button.active,.calendar-scope-filter input:checked+span{background:var(--field);color:var(--gold);box-shadow:inset 0 3px 7px var(--shadow),inset 0 -2px var(--secondary)}
.patch-trigger.is-unread{color:var(--gold)}:root[data-theme=light] .contribution-reward{color:#765018}:root[data-theme=light] .status-badge{color:#634383}:root[data-theme=light] .help-card-banner-top{color:var(--violet)}
:root[data-theme=light] :is(.calendar-event-chip,.calendar-day-event,.calendar-week-event,.calendar-compact-event,.calendar-event-summary){background:color-mix(in srgb,var(--event-color) 14%,var(--panel))!important;color:var(--text)!important}

:root[data-theme=light] .help-status{color:#286849}

.auth-card a:not(.button){color:var(--violet)}

/* Chromatic atmosphere: decorative washes never replace entity or status colors. */
body{background:radial-gradient(ellipse at 5% 0,color-mix(in srgb,var(--secondary) var(--ambient-violet),transparent),transparent 55%),radial-gradient(ellipse at 95% 30%,color-mix(in srgb,var(--primary) var(--ambient-gold),transparent),transparent 60%),radial-gradient(ellipse at 35% 100%,color-mix(in srgb,var(--ambient-green) var(--ambient-bottom),transparent),transparent 50%),var(--bg);background-attachment:fixed}
.portal-chrome .site-header{background:linear-gradient(110deg,color-mix(in srgb,var(--secondary) 23%,transparent),color-mix(in srgb,var(--secondary) 10%,transparent) 65%,color-mix(in srgb,var(--primary) 6%,transparent)),var(--chrome);border-bottom-color:color-mix(in srgb,var(--secondary) 35%,var(--line))}
:is(.portal-surface,.auth-card,.detail-card,.dashboard-panel,.management-panel,.world-panel,.profile-identity-panel,.profile-security-panel,.world-card){background:radial-gradient(ellipse at 0 0,color-mix(in srgb,var(--secondary) 9%,transparent),transparent 65%),linear-gradient(135deg,transparent 65%,color-mix(in srgb,var(--primary) 4%,transparent)),var(--panel)}
.patch-trigger:hover,.patch-trigger[aria-expanded=true]{background:linear-gradient(120deg,color-mix(in srgb,var(--secondary) 28%,var(--panel)),color-mix(in srgb,var(--primary) 10%,var(--panel)));color:var(--violet);border-color:var(--violet);box-shadow:inset 0 1px var(--line),0 0 20px color-mix(in srgb,var(--secondary) 16%,transparent)}
:is(.patch-popover,.announcement-popover,.profile-avatar-dialog,.campaign-todo-dialog,.campaign-event-dialog,.calendar-day-dialog,.calendar-expanded-dialog,.personal-calendar-dialog){background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--secondary) 18%,transparent),transparent 48%),radial-gradient(ellipse at 0 100%,color-mix(in srgb,var(--primary) 7%,transparent),transparent 50%),var(--panel);border-color:color-mix(in srgb,var(--secondary) 48%,var(--line));box-shadow:inset 0 1px color-mix(in srgb,var(--violet) 30%,transparent),0 28px 90px var(--shadow),0 0 35px color-mix(in srgb,var(--secondary) 12%,transparent)}
.patch-popover>header{background:linear-gradient(110deg,color-mix(in srgb,var(--secondary) 15%,transparent),transparent);border-bottom-color:color-mix(in srgb,var(--secondary) 25%,var(--line))}.patch-popover::backdrop{background:#100b1a99;backdrop-filter:blur(8px)}

/* Expressive navigation stays within the shared portal palette. */
.main-nav{border:1px solid color-mix(in srgb,var(--secondary) 30%,var(--line));background:linear-gradient(110deg,color-mix(in srgb,var(--secondary) 10%,var(--field)),var(--field));box-shadow:inset 0 2px 7px var(--shadow),0 1px color-mix(in srgb,var(--text) 10%,transparent);}
.main-nav a{position:relative;isolation:isolate;transition:background .2s ease,color .2s ease,box-shadow .2s ease,translate .2s ease;}
.main-nav a:hover,.main-nav a:focus-visible{color:var(--text);background:color-mix(in srgb,var(--secondary) 15%,var(--panel));box-shadow:inset 0 1px var(--line),0 3px 12px color-mix(in srgb,var(--secondary) 20%,transparent);translate:0 -1px;}
.main-nav a.active{color:var(--gold);background:linear-gradient(115deg,color-mix(in srgb,var(--primary) 15%,var(--field)),color-mix(in srgb,var(--secondary) 20%,var(--field)));box-shadow:inset 0 1px color-mix(in srgb,var(--primary) 35%,transparent),inset 0 -2px var(--gold),0 0 16px color-mix(in srgb,var(--secondary) 12%,transparent);}
.main-nav a.active::after{content:'';position:absolute;bottom:3px;left:30%;right:30%;height:1px;background:var(--gold);box-shadow:0 0 8px var(--gold);pointer-events:none;}
:is(.world-card,.campaign-card)>span.portal-sky[aria-hidden]{position:absolute;display:block;}
@media(prefers-reduced-motion:reduce){.main-nav a{transition:none;translate:none;}}

/* World and campaign identity is scoped; child campaigns retain their own hue. */
:is(.world-card,.campaign-card){border-top-color:var(--entity-color,var(--secondary));}
.entity-theme-scope .world-hero{border-bottom-color:color-mix(in srgb,var(--entity-color) 50%,var(--line));background:radial-gradient(ellipse at 65% 100%,color-mix(in srgb,var(--entity-color) 18%,transparent),transparent 75%);}
.entity-theme-scope :is(.management-panel,.detail-card,.campaign-calendar,.campaign-chat,.campaign-roster,.role-summary){border-color:color-mix(in srgb,var(--entity-color) 30%,var(--line));background:radial-gradient(ellipse at 0 0,color-mix(in srgb,var(--entity-color) 12%,transparent),transparent 65%),var(--panel);}
.entity-theme-scope .panel-title{border-bottom-color:color-mix(in srgb,var(--entity-color) 30%,var(--line));}
.world-appearance-form{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 20px;}
.world-appearance-form label{font-size:.9rem;color:var(--muted);}
.world-appearance-form input[type=color]{width:44px;height:32px;border-radius:8px;cursor:pointer;}
.world-appearance-form button{padding:7px 12px;font-size:.85rem;}
.world-appearance-form .errorlist{flex-basis:100%;color:var(--text);}

.logout-icon{display:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
@media(max-width:620px){
 .portal-chrome .site-header{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;padding:8px 12px;}
 .site-header .brand{gap:6px;font-size:18px;}
 .site-header .brand-mark{width:30px;height:30px;}
 .site-header .account{flex-wrap:nowrap;gap:5px;min-width:0;margin-left:0;justify-content:flex-end;}
 .site-header .header-updates{gap:5px;}
 .site-header :is(.patch-trigger,.announcement-trigger,.notification-link,.logout-button){display:flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;min-height:32px;padding:0;}
 .site-header .account-identity{padding:0;flex:none;}
 .site-header .account-identity .user-avatar{--avatar-size:30px;}
 .site-header .logout-button{border:1px solid var(--line);border-radius:9px;color:var(--muted);}
 .site-header .logout-button:hover{color:var(--text);background:var(--panel);}
 .site-header .logout-icon{display:block;}
 .site-header .logout-button>span{display:none;}
 .site-header .main-nav{grid-column:1/-1;min-width:0;width:100%;order:3;}
}
/* Editorial pilot. Component recipes live here; entity colors remain local. */
.portal-edition{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:100dvh;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition{background:var(--bg);font-family:system-ui,sans-serif;}
.edition-atmosphere{position:fixed;inset:0;z-index:-2;pointer-events:none;overflow:hidden;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-atmosphere{background:var(--bg);}
.edition-atmosphere:before{content:'';position:absolute;inset:0;z-index:2;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-atmosphere:before{background:var(--edition-grain);opacity:.65;}
.edition-atmosphere:after{content:'';position:absolute;inset:0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-atmosphere:after{background:url("editorial/ink-contours.4ac38033b77b.svg") center top/cover;opacity:var(--edition-contours);}
.edition-atmosphere>span{position:absolute;width:95vw;height:110vh;left:-40vw;top:0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-atmosphere>span{border-radius:38% 62% 57% 43% / 38% 28% 72% 62%;background:radial-gradient(ellipse at 40% 40%,var(--edition-pool),transparent 65%);opacity:var(--edition-ink-wash);filter:blur(30px);}
.edition-atmosphere>span+span{left:auto;right:-40vw;top:30vh;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-atmosphere>span+span{border-radius:62% 38% 43% 57% / 72% 62% 38% 28%;background:radial-gradient(ellipse at 60% 50%,var(--edition-pool-secondary),transparent 65%);opacity:calc(var(--edition-ink-wash) * .48);}
.portal-page{position:relative;flex:1;display:flex;flex-direction:column;}
.portal-page:before,.portal-page:after{box-sizing:border-box;content:"";position:absolute;top:0;bottom:0;left:50%;width:min(1320px,100%);transform:translateX(-50%);pointer-events:none;z-index:1;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-page:before,:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-page:after{border-inline:1px solid var(--edition-frame);}
.portal-page:after{width:min(1306px,calc(100% - 14px));}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-page:after{border-color:color-mix(in srgb,var(--edition-frame) 35%,transparent);}
.portal-edition .page-shell{position:relative;flex:1;width:100%;max-width:1320px;padding:40px 44px 64px;margin:0 auto;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .page-shell{background:transparent;}
.portal-edition .page-shell:before{content:none;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .site-header{background:linear-gradient(115deg,color-mix(in srgb,var(--secondary) 25%,transparent),transparent 55%,color-mix(in srgb,var(--primary) 12%,transparent)),var(--chrome);border-top:1px solid color-mix(in srgb,var(--gold) 50%,transparent);border-bottom:1px solid var(--edition-frame);box-shadow:0 8px 32px var(--shadow),inset 0 -5px 0 var(--edition-veil);backdrop-filter:blur(16px);}
.portal-edition .brand{font-size:25px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .brand{letter-spacing:.04em;text-shadow:0 1px 12px color-mix(in srgb,var(--gold) 20%,transparent);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .brand-mark{border-radius:10px;box-shadow:0 0 20px color-mix(in srgb,var(--secondary) 25%,transparent);}
.portal-edition .main-nav{gap:5px;padding:4px 0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .main-nav{border:0;border-radius:0;background:none;box-shadow:none;}
.portal-edition .main-nav a{font-size:12px;padding:9px 11px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .main-nav a{background:transparent;border:1px solid transparent;box-shadow:none;border-radius:7px;color:var(--muted);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .main-nav a:hover{background:var(--panel-raised);color:var(--text);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .main-nav a.active{background:var(--edition-grain),linear-gradient(120deg,color-mix(in srgb,var(--violet) 10%,var(--panel)),var(--panel-raised));border-color:var(--edition-frame);box-shadow:inset 0 0 0 3px var(--edition-veil),0 2px 5px var(--shadow);color:var(--text);}
.portal-edition .main-nav a.active:after{left:12px;right:12px;bottom:3px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .main-nav a.active:after{box-shadow:none;opacity:.7;}
.portal-edition .account-identity{padding:5px 9px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .account-identity{border:1px solid var(--line);background:var(--edition-veil);border-radius:9px;}
.portal-edition .account-identity strong{font-size:12px;}.portal-edition .account-identity small{font-size:10px;}
.portal-edition .back-link:not(.edition-return){padding:0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .back-link:not(.edition-return){font:500 12px/1.5 system-ui;color:var(--muted);text-decoration:none;border:0;box-shadow:none;background:none;}
.edition-breadcrumb{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 24px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-breadcrumb>span{font:italic 12px var(--edition-serif);color:var(--muted);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition h1,:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition h2,:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition h3{font-family:var(--edition-serif);font-weight:400;}
.portal-edition .eyebrow{text-transform:uppercase;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .eyebrow{font:600 10px/1.5 system-ui;letter-spacing:.17em;color:var(--gold);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.management-panel,.world-storage-panel){background:linear-gradient(130deg,var(--edition-veil),transparent 70%),var(--panel);border:1px solid var(--line);border-top-color:var(--edition-frame);box-shadow:inset 0 1px var(--edition-veil),0 12px 26px var(--shadow);border-radius:var(--radius);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .panel-title{border-color:var(--line);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.button,button):not(.calendar-day){border-radius:7px;box-shadow:inset 0 1px var(--edition-veil);font-family:system-ui,sans-serif;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .button.secondary{background:var(--panel-raised);border:1px solid var(--line);}
.portal-edition .edition-primary{display:inline-flex;gap:10px;align-items:center;justify-content:center;font-size:12px;min-height:42px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .edition-primary{background:var(--edition-ink);color:var(--edition-paper);border:1px solid color-mix(in srgb,var(--edition-paper) 25%,var(--edition-ink));box-shadow:inset 0 1px #ffffff20,0 3px 8px #21182f25;font-weight:600;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .edition-primary:hover{background:color-mix(in srgb,var(--edition-ink) 85%,var(--secondary));}
.portal-edition .world-hero{position:relative;isolation:isolate;overflow:hidden;min-height:350px;display:flex;flex-direction:row;align-items:center;padding:42px 40px 84px;margin:0 0 40px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .world-hero{background:var(--edition-paper);border:1px solid color-mix(in srgb,var(--entity-color) 65%,var(--edition-paper));border-radius:10px 10px 4px 4px;box-shadow:0 22px 44px var(--shadow),0 0 0 4px var(--edition-veil),inset 0 0 0 5px #fff8;color:var(--edition-ink);}
.edition-cover:after{content:'';position:absolute;inset:9px;pointer-events:none;z-index:2;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-cover:after{border:1px solid color-mix(in srgb,var(--edition-ink) 22%,transparent);border-radius:3px;}
.edition-cover-art{position:absolute;inset:0;z-index:-1;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-cover-art{background:var(--edition-paper);}
.edition-cover-art img{width:100%;height:100%;object-fit:cover;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-cover-art img{opacity:.92;}
.edition-cover-art:after{content:'';position:absolute;inset:0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-cover-art:after{background:linear-gradient(90deg,var(--edition-paper) 0%,color-mix(in srgb,var(--edition-paper) 94%,transparent) 24%,color-mix(in srgb,var(--edition-paper) 65%,transparent) 46%,transparent 76%),linear-gradient(0deg,color-mix(in srgb,var(--edition-paper) 80%,transparent),transparent 28%);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-cover-art.is-unillustrated{background:var(--edition-grain),radial-gradient(ellipse at 80% 70%,color-mix(in srgb,var(--entity-color) 62%,transparent),transparent 65%),radial-gradient(ellipse at 20% 10%,color-mix(in srgb,var(--primary) 24%,transparent),transparent 70%),var(--edition-paper);}
.edition-cover-art.is-unillustrated:before{content:'✧';position:absolute;right:12%;top:0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-cover-art.is-unillustrated:before{font:280px var(--edition-serif);color:color-mix(in srgb,var(--entity-color) 32%,transparent);}
.portal-edition .world-hero .edition-cover-copy{position:relative;width:100%;max-width:72%;z-index:1;}
.portal-edition .world-hero h1{font-size:clamp(39px,4.5vw,64px);line-height:1.06;margin:14px 0 18px;text-wrap:balance;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .world-hero h1{color:var(--edition-ink);font-style:normal;letter-spacing:-.045em;}
.portal-edition .world-hero .eyebrow{display:flex;gap:10px;align-items:center;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .world-hero .eyebrow{color:var(--edition-paper-muted);}.edition-sigil{font-size:22px;line-height:1;}
.edition-intro{margin:0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-intro{font:italic 17px/1.65 var(--edition-serif);color:var(--edition-ink);}
.edition-world-meta{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:22px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-world-meta{color:var(--edition-paper-muted);font:11px/1.5 system-ui;}
.edition-role{padding:5px 9px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-role{border:1px solid color-mix(in srgb,var(--edition-ink) 25%,transparent);border-radius:5px;background:color-mix(in srgb,var(--edition-paper) 65%,transparent);}
.edition-cover-actions{position:absolute;bottom:23px;right:25px;left:40px;display:flex;gap:12px;align-items:center;justify-content:space-between;z-index:3;}
.portal-edition .edition-icon-action{display:inline-flex;gap:8px;align-items:center;padding:8px 0;font-size:11px;cursor:pointer;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .edition-icon-action{background:transparent;border:0;color:var(--edition-ink);}
.edition-icon-action svg,.portal-cover-upload svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;}
.portal-edition .world-access-layout{display:block;margin:0;}
.portal-edition .world-access-layout>.management-panel:first-child{padding:0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .world-access-layout>.management-panel:first-child{background:none;border:0;box-shadow:none;}
.portal-edition .edition-section-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px;padding-bottom:18px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .edition-section-title{border-bottom:1px solid var(--edition-frame);}
.portal-edition .world-access-layout h2{font-size:32px;margin:4px 0 0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .world-access-layout h2{letter-spacing:-.025em;}
.edition-count{display:inline-flex;vertical-align:middle;width:28px;height:28px;align-items:center;justify-content:center;margin-left:10px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-count{font:500 11px system-ui;color:var(--gold);border:1px solid var(--edition-frame);border-radius:50%;}
.edition-caption{margin:0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-caption{font:italic 14px/1.6 var(--edition-serif);color:var(--muted);}
.portal-edition .world-access-layout .muted{font-size:13px;line-height:1.7;}
.portal-edition .campaign-admin-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;margin:0 0 36px;}
.edition-campaign{position:relative;min-width:0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-campaign{--campaign-surface:color-mix(in srgb,var(--entity-color) var(--edition-card-tint),var(--panel));--campaign-line:color-mix(in srgb,var(--entity-color) 85%,var(--text));--campaign-readable:color-mix(in srgb,var(--entity-color) 35%,var(--text));}
.portal-edition .edition-campaign-link{position:relative;display:flex;flex-direction:column;gap:0;padding:0;min-height:360px;height:100%;transform:none;transition:transform .25s ease,box-shadow .25s ease;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .edition-campaign-link{border:1px solid var(--campaign-line);border-top:3px solid var(--entity-color);border-radius:11px;background:var(--campaign-surface);box-shadow:inset 0 0 0 4px var(--edition-veil),0 12px 28px var(--shadow);}
.portal-edition .edition-campaign-link:hover{transform:translateY(-4px);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .edition-campaign-link:hover{box-shadow:0 16px 30px var(--shadow),0 0 0 2px color-mix(in srgb,var(--entity-color) 35%,transparent);}
.portal-edition .edition-campaign-link>.portal-sky{display:none;}
.edition-card-art{position:relative;display:block;height:172px;flex:none;overflow:hidden;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-card-art{border-bottom:1px solid var(--campaign-line);background:var(--campaign-surface);}
.edition-card-art img{display:block;width:100%;height:100%;object-fit:cover;}
.edition-card-art:after{content:'';position:absolute;inset:0;pointer-events:none;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-card-art:after{box-shadow:inset 0 0 0 6px var(--edition-veil);background:linear-gradient(0deg,color-mix(in srgb,var(--entity-color) 48%,transparent),transparent 60%);}
.edition-card-art.is-unillustrated{display:grid;place-items:center;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-card-art.is-unillustrated{background:var(--edition-grain),radial-gradient(ellipse at 30% 10%,color-mix(in srgb,var(--entity-color) 80%,var(--text)),transparent 85%),var(--campaign-surface);}
.portal-edition .edition-card-art .edition-fallback-symbol{display:grid;place-items:center;width:82px;height:82px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .edition-card-art .edition-fallback-symbol{font:62px/1 var(--edition-serif);color:var(--campaign-readable);border:1px solid color-mix(in srgb,var(--entity-color) 65%,var(--text));outline:1px solid color-mix(in srgb,var(--entity-color) 40%,transparent);outline-offset:7px;border-radius:50%;text-shadow:0 8px 25px var(--shadow);}
.edition-card-content{display:flex;flex:1;flex-direction:column;gap:12px;padding:21px 21px 18px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-card-content{background:linear-gradient(130deg,var(--edition-veil),transparent);}
.portal-edition .edition-card-kicker{display:flex;align-items:center;gap:7px;text-transform:uppercase;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .edition-card-kicker{font:600 9px/1.4 system-ui;letter-spacing:.14em;color:var(--campaign-readable);}
.edition-card-kicker>i{display:block;width:7px;height:7px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-card-kicker>i{background:var(--entity-color);border:1px solid color-mix(in srgb,var(--text) 35%,transparent);border-radius:50%;box-shadow:0 0 10px color-mix(in srgb,var(--entity-color) 70%,transparent);}
.edition-card-content>strong{text-wrap:balance;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-card-content>strong{font:400 28px/1.13 var(--edition-serif);letter-spacing:-.02em;color:var(--text);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-roster-count{font:11px/1.5 system-ui;color:var(--campaign-readable);}.edition-roster-count>span{padding:0 5px;}
.portal-edition .member-chips.compact{gap:6px;flex-wrap:wrap;min-height:30px;margin:2px 0 8px;}.portal-edition .member-chips.compact i{gap:5px;padding:3px 7px 3px 3px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .member-chips.compact i{background:var(--edition-veil);border:1px solid color-mix(in srgb,var(--entity-color) 30%,transparent);border-radius:18px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .member-chips.compact i>span{font:10px system-ui;color:var(--text);}.portal-edition .member-chips .user-avatar{--avatar-size:22px;}
.portal-edition .world-access-layout>.management-panel:last-child{position:relative;padding:26px 30px;display:grid;grid-template-columns:1fr 1fr;column-gap:35px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .world-access-layout>.management-panel:last-child{border-left:3px solid color-mix(in srgb,var(--entity-color) 60%,var(--gold));}
.portal-edition .world-access-layout>.management-panel:last-child>.eyebrow,.portal-edition .world-access-layout>.management-panel:last-child>h2,.portal-edition .world-access-layout>.management-panel:last-child>.muted{grid-column:1;}
.portal-edition .world-access-layout .member-list{grid-column:2;grid-row:1/5;align-self:center;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .member-row{background:var(--edition-veil);border:1px solid var(--line);border-radius:7px;}
.edition-invite{grid-column:1/-1;padding-top:17px;margin-top:18px;font-size:12px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-invite{border-top:1px solid var(--line);color:var(--text);}.edition-invite summary{cursor:pointer;}.edition-invite summary>span{float:right;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-invite summary>span{color:var(--gold);}
.edition-section-heading{display:flex;align-items:baseline;gap:20px;margin:42px 0 24px;padding-top:24px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-section-heading{border-top:1px solid var(--edition-frame);}.edition-section-heading h2{font-size:27px;margin:0;}
.portal-edition .world-calendar-panel{margin-top:26px;}.portal-edition .world-storage-panel{margin-top:24px;}
.edition-colophon{text-align:center;margin:40px 0 0;padding:18px 0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-colophon{font:italic 13px var(--edition-serif);color:var(--muted);border-top:1px solid var(--edition-frame);}
.portal-edition .world-appearance-form{font-size:12px;}.portal-edition .world-appearance-form button{min-height:38px;}
.portal-edition .portal-cover-dialog{width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:0;overflow:auto;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .portal-cover-dialog{border:1px solid var(--edition-frame);border-radius:14px;background:var(--panel);box-shadow:0 25px 90px #100b1e88;color:var(--text);}
.portal-cover-dialog form{padding:25px;}.portal-cover-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px;}.portal-cover-dialog h2{font-size:28px;margin:5px 0;}.portal-cover-dialog .eyebrow{margin:0;}
.portal-edition .edition-dialog-close{display:grid;place-items:center;flex:none;width:36px;height:36px;font-size:22px;cursor:pointer;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .edition-dialog-close{border:1px solid var(--line);color:var(--text);background:var(--field);}
.portal-cover-preview{position:relative;isolation:isolate;overflow:hidden;height:185px;display:flex;align-items:center;justify-content:center;flex-direction:column;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-cover-preview{border:1px solid var(--line);border-radius:8px;background:radial-gradient(ellipse at 25% 0,var(--entity-color),transparent 95%),var(--field);color:var(--text);}
.portal-cover-preview>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-cover-preview>span{font:60px var(--edition-serif);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-cover-preview>p{font:italic 15px var(--edition-serif);}.portal-cover-preview>img[hidden]{display:none;}
.portal-cover-upload{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px;margin-top:16px;cursor:pointer;font-size:13px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-cover-upload{border:1px dashed var(--edition-frame);background:var(--edition-veil);border-radius:6px;color:var(--text);}
.portal-file-input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-cover-upload:has(+input:focus-visible){outline:2px solid var(--gold);outline-offset:3px;}
.portal-cover-help{margin:9px 0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-cover-help{font:11px/1.6 system-ui;color:var(--muted);}.portal-cover-feedback{font-size:12px;overflow-wrap:anywhere;min-height:0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-cover-feedback{color:var(--gold);}.portal-cover-feedback:empty{display:none;}
.portal-cover-controls{display:grid;grid-template-columns:100px 1fr;gap:25px;align-items:start;margin-top:22px;}.portal-cover-controls label{display:flex;flex-direction:column;gap:10px;font-size:12px;}.portal-cover-controls input[type=color]{width:65px;height:34px;}.portal-cover-controls input[type=range]{accent-color:var(--gold);width:100%;margin:9px 0 0;}.portal-cover-controls .portal-cover-help{display:flex;justify-content:space-between;margin:0;}
.portal-cover-remove{display:flex;align-items:center;gap:8px;font-size:12px;margin-top:15px;}.portal-cover-remove input{accent-color:var(--gold);}
.portal-cover-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:20px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-cover-dialog footer{border-top:1px solid var(--line);}
@keyframes edition-ink-drift{from{transform:translate3d(0,-2%,0) rotate(-6deg)}to{transform:translate3d(7%,5%,0) rotate(9deg)}}
@media(prefers-reduced-motion:no-preference){.edition-atmosphere>span{animation:edition-ink-drift 34s ease-in-out infinite alternate;}.edition-atmosphere>span+span{animation-delay:-15s;animation-duration:43s;}}
@media(min-width:701px){.portal-edition .site-header{display:grid;grid-template-columns:auto 1fr auto;gap:18px;padding:14px 28px;min-height:82px;}.portal-edition .account{flex-wrap:nowrap;gap:10px;}.portal-edition .account-identity{white-space:nowrap;}.portal-edition .logout-icon{display:block;}.portal-edition .logout-button>span{display:none;}.portal-edition .main-nav{min-width:0;overflow-x:auto;}}
@media(min-width:701px) and (max-width:1200px){.portal-edition .site-header{grid-template-columns:auto 1fr;gap:12px;}.portal-edition .main-nav{grid-column:1/-1;grid-row:2;justify-content:center;}.portal-edition .account{grid-column:2;grid-row:1;}.portal-edition .page-shell{padding:25px 28px 50px;}.portal-edition .campaign-admin-grid{gap:16px;}.edition-card-content{padding:17px 16px;}.edition-card-content>strong{font-size:24px;}.edition-card-art{height:150px;}.portal-edition .world-hero{padding-inline:30px;}.edition-cover-actions{left:30px;}}
@media(max-width:700px){.portal-edition .page-shell{padding:20px 20px 35px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .page-shell{border:0;}.portal-edition .page-shell:before{display:none;}.portal-edition .site-header{padding:10px 14px;}.portal-edition .main-nav{padding:4px;}.portal-edition .main-nav a{font-size:11px;min-height:36px;}.portal-edition .account-identity{padding:0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .account-identity{border:0;}.edition-breadcrumb{margin-bottom:20px;}.edition-breadcrumb>span{display:none;}.portal-edition .world-hero{min-height:365px;padding:28px 25px 115px;align-items:flex-start;margin-bottom:30px;}.portal-edition .world-hero .edition-cover-copy{max-width:100%;}.portal-edition .world-hero h1{font-size:43px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-cover-art:after{background:linear-gradient(90deg,var(--edition-paper),color-mix(in srgb,var(--edition-paper) 62%,transparent)),linear-gradient(0deg,var(--edition-paper),transparent 35%);}.edition-cover-actions{left:25px;right:25px;bottom:24px;flex-wrap:wrap;gap:12px;}.portal-edition .edition-icon-action{font-size:11px;}.edition-world-meta{gap:8px;font-size:10px;}.edition-intro{font-size:16px;}.portal-edition .edition-section-title{display:block;}.edition-caption{margin-top:12px;font-size:13px;}.portal-edition .world-access-layout h2{font-size:29px;}.portal-edition .campaign-admin-grid{grid-template-columns:1fr;gap:23px;}.edition-card-art{height:185px;}.portal-edition .edition-campaign-link{min-height:365px;}.portal-edition .world-access-layout>.management-panel:last-child{display:block;padding:22px;}.portal-edition .world-access-layout .member-list{margin:20px 0;}.edition-section-heading{display:block;margin-top:32px;}.edition-section-heading h2{margin-top:8px;}.portal-cover-dialog form{padding:20px;}.portal-cover-dialog h2{font-size:24px;}.portal-cover-preview{height:155px;}.portal-cover-dialog footer{flex-wrap:wrap;}.portal-cover-dialog footer button{flex:1;min-height:44px;}.portal-edition .world-appearance-form{gap:10px;}}
@media(prefers-reduced-motion:reduce){.portal-edition .edition-campaign-link,.portal-edition .edition-campaign-link:hover{transform:none;transition:none;}}
/* Portal composition: shared navigation, campaign entry and connection. */
.portal-edition .site-header{display:flex;flex-wrap:nowrap;gap:20px;padding:14px 24px;}
.portal-edition .site-header .brand{flex:none;}
.portal-edition .site-header .main-nav{flex:0 1 auto;width:auto;min-width:0;order:0;justify-content:flex-start;flex-wrap:nowrap;}
.portal-edition .site-header .account{flex:none;gap:8px;margin-left:auto;}
.portal-edition .site-header .main-nav a{white-space:nowrap;}
.portal-edition .edition-return{display:inline-flex;align-items:center;gap:10px;padding:10px 15px;margin-bottom:22px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .edition-return{border:1px solid var(--edition-frame);border-radius:7px;background:var(--panel-raised);color:var(--text);font:500 12px system-ui;text-decoration:none;box-shadow:inset 0 1px var(--edition-veil);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .edition-return:hover{border-color:var(--entity-color);background:var(--field);}
.edition-card-access{margin-top:auto;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-card-access{font:11px system-ui;color:var(--campaign-readable);}
.edition-campaign-cover{position:relative;display:grid;place-items:center;isolation:isolate;overflow:hidden;height:215px;margin:0 0 25px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-campaign-cover{border:1px solid var(--edition-frame);border-radius:10px;background:var(--edition-grain),radial-gradient(ellipse at 80% 15%,color-mix(in srgb,var(--entity-color) 65%,transparent),transparent 80%),var(--panel);}
.edition-campaign-cover img{position:absolute;width:100%;height:100%;object-fit:cover;z-index:-1;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-cover-symbol{font:110px var(--edition-serif);color:color-mix(in srgb,var(--entity-color) 40%,var(--text));}
.edition-campaign-cover .button{position:absolute;bottom:14px;right:14px;font-size:12px;}
.portal-cover-preview:not(.is-empty)>:is(span,p){display:none;}
.portal-edition .campaign-detail-layout{gap:28px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .detail-card{border-radius:12px;border-top-color:var(--entity-color);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.campaign-calendar,.calendar-compact,.calendar-expanded-dialog){border:1px solid color-mix(in srgb,var(--entity-color) 55%,var(--line));border-radius:10px;background:linear-gradient(120deg,color-mix(in srgb,var(--entity-color) 10%,transparent),transparent 70%),var(--panel);box-shadow:inset 0 1px var(--edition-veil);}
.portal-edition .calendar-expanded-head{padding-bottom:18px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .calendar-expanded-head{border-bottom:1px solid var(--edition-frame);}
.portal-edition .campaign-calendar-head h3{font-size:25px;}
.portal-edition .campaign-calendar-weekdays{text-transform:uppercase;padding-block:12px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .campaign-calendar-weekdays{font:600 10px system-ui;letter-spacing:.12em;color:var(--muted);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .campaign-calendar-day{border:1px solid var(--line);border-radius:5px;background:var(--edition-veil);box-shadow:none;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .campaign-calendar-day.today{background:color-mix(in srgb,var(--entity-color) 18%,var(--panel));border-color:var(--entity-color);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .calendar-day-number{font:15px var(--edition-serif);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .calendar-view-switch button.active{color:var(--text);background:color-mix(in srgb,var(--entity-color) 20%,var(--field));box-shadow:inset 0 -2px var(--entity-color);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.calendar-event-chip,.calendar-compact-event):not(.is-private){border-left:3px solid var(--event-campaign-color,var(--entity-color));border-radius:4px;}
.portal-edition .calendar-compact h2{font-size:25px;}
.edition-login{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;align-items:center;max-width:1050px;margin:40px auto 55px;}
.edition-login-story{position:relative;padding:45px 28px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-login-story{color:var(--text);}
.edition-login-sigil{display:block;margin:22px 0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-login-sigil{font:80px var(--edition-serif);color:var(--gold);}
.portal-edition .edition-login-story h1{font-size:clamp(38px,4vw,58px);line-height:1.12;margin:0 0 24px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .edition-login-story h1{letter-spacing:-.035em;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-login-story>p:not(.eyebrow){font:italic 19px/1.7 var(--edition-serif);color:var(--muted);}
.edition-login-rule{display:block;width:70px;margin:30px 0;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-login-rule{border-top:1px solid var(--edition-frame);}
.edition-login-story small{font-size:12px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-login-story small{color:var(--muted);}
.portal-edition .edition-login .auth-card{width:100%;max-width:none;margin:0;padding:35px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .edition-login .auth-card{border:1px solid var(--edition-frame);border-radius:12px;background:linear-gradient(145deg,var(--edition-veil),transparent 65%),var(--panel);box-shadow:0 20px 60px var(--shadow),inset 0 0 0 5px var(--edition-veil);}
.edition-login .auth-card h2{font-size:32px;line-height:1.2;margin:14px 0;}
.edition-login .auth-card .muted{font-size:13px;line-height:1.65;}
.edition-login .auth-links{padding-top:22px;margin-top:25px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .edition-login .auth-links{border-top:1px solid var(--line);}
@media(max-width:1400px){.portal-edition .site-header{gap:14px;}.portal-edition .patch-trigger strong,.portal-edition .announcement-trigger strong,.portal-edition .account-identity>span:not(.user-avatar){display:none;}.portal-edition .account-identity{padding:5px;}.portal-edition .patch-trigger,.portal-edition .announcement-trigger{width:38px;min-width:38px;height:38px;padding:0;justify-content:center;gap:0;}.portal-edition .header-logout{display:none;}.portal-edition .site-header .main-nav a{padding:9px 8px;font-size:11px;}}
@media(max-width:950px){.portal-edition .site-header{gap:10px;padding:12px;}.portal-edition .brand{font-size:21px;}.portal-edition .brand-mark{width:30px;height:30px;}.portal-edition .site-header .main-nav{justify-content:flex-start;overflow-x:auto;}.portal-edition .site-header .main-nav a{padding:9px 7px;}.edition-login{gap:25px;}.edition-login-story{padding-inline:0;}}
@media(max-width:700px){.portal-edition .site-header{flex-wrap:wrap;}.portal-edition .site-header .account{margin-left:auto;}.portal-edition .site-header .main-nav{order:3;flex-basis:100%;}.portal-edition .site-header .main-nav a{min-height:42px;display:inline-flex;align-items:center;}.edition-login{display:block;margin:10px auto 25px;}.edition-login-story{padding:10px 5px 28px;}.edition-login-sigil{display:none;}.portal-edition .edition-login-story h1{font-size:35px;margin:15px 0;}.edition-login-story>p:not(.eyebrow){font-size:16px;margin:0;}.edition-login-rule,.edition-login-story small{display:none;}.portal-edition .edition-login .auth-card{padding:25px;}.edition-login .auth-card h2{font-size:28px;}.edition-campaign-cover{height:180px;}.portal-edition .calendar-expanded-head{gap:12px;}.portal-edition .campaign-calendar-day{min-width:0;}}
/* Semantic actions: shared by public pages and administration.
   Event blocks keep their own colors; invisible notification hit areas stay transparent. */
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(button,.button,.small-button):not(:where([data-event-color],.calendar-week-event,.calendar-day-event,.calendar-event-chip,.calendar-week-day-head,.calendar-date-column-head,.gateway-card,.notification-card-action button)){background:var(--panel-raised);color:var(--text);border:1px solid var(--line);border-radius:7px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .site-header :is(.patch-trigger,.announcement-trigger,.notification-link,.account-identity,[data-guest-theme]){border:1px solid var(--edition-frame);border-radius:7px;background:var(--edition-grain),linear-gradient(125deg,var(--edition-veil),transparent 70%),var(--panel);color:var(--text);box-shadow:inset 0 0 0 3px var(--edition-veil),0 2px 5px var(--shadow);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .site-header :is(.patch-trigger,.announcement-trigger,.notification-link,[data-guest-theme]):hover{background-color:var(--panel-raised);border-color:var(--violet);}
.portal-edition .site-header :is(.patch-trigger,.announcement-trigger).is-unread{animation:none;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .site-header :is(.patch-trigger,.announcement-trigger).is-unread{color:var(--gold);border-color:var(--gold);}
.portal-edition .site-header :is(.patch-trigger,.announcement-trigger).is-unread:before{animation:none;inset:-3px;padding:0;mask:none;-webkit-mask:none;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .site-header :is(.patch-trigger,.announcement-trigger).is-unread:before{background:none;border:1px solid var(--gold);opacity:.35;}
.portal-edition .site-header :is(.patch-trigger,.announcement-trigger,.notification-link) svg{flex:none;display:block;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .site-header :is(.announcement-trigger b,.notification-link strong,.task-nav-link b){background:var(--state-error);color:var(--panel);box-shadow:none;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.patch-popover,.announcement-popover,.help-announcement){background:var(--edition-grain),linear-gradient(135deg,color-mix(in srgb,var(--violet) 8%,var(--panel)),var(--panel));border:1px solid var(--edition-frame);box-shadow:inset 0 0 0 5px var(--edition-veil),0 24px 70px var(--shadow);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.patch-popover,.announcement-popover)>header{background:var(--edition-veil);border-bottom:1px solid var(--line);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.site-announcement,.announcement-admin-card){--announcement-wash:color-mix(in srgb,var(--announcement-primary,var(--secondary)) 35%,var(--edition-paper));background:linear-gradient(120deg,color-mix(in srgb,var(--announcement-wash) 12%,var(--panel)),var(--panel));border:1px solid var(--line);border-left:3px solid var(--announcement-wash);border-radius:8px;box-shadow:inset 0 1px var(--edition-veil);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.site-announcement,.announcement-admin-card)>header span:first-child{color:var(--muted);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .site-announcement.urgent{border-left-color:var(--state-error);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .site-announcement.warning{border-left-color:var(--state-warning);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .patch-section{background:var(--edition-veil);border-color:var(--line);border-radius:8px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .patch-section.correction h3{color:var(--state-error);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .patch-section.improvement h3{color:var(--violet);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .patch-section.feature h3{color:var(--gold);}
.portal-edition .site-legal-footer{width:100%;max-width:1320px;margin-top:0;padding:28px 44px 34px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .site-legal-footer{background:var(--edition-veil);border-top-color:var(--line);}
.portal-edition .control-nav{margin:0 0 28px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .control-nav{border:1px solid var(--line);border-radius:9px;box-shadow:inset 0 1px var(--edition-veil);background:var(--field);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(button.primary,.button.primary,.edition-primary){background:var(--action-fill);color:var(--action-ink);border:1px solid color-mix(in srgb,var(--action-ink) 30%,transparent);border-bottom-width:2px;}
.portal-edition :is(.button,button,input,select,textarea){accent-color:var(--violet);}
.portal-edition :is(.button,button):not(:disabled):not(.notification-card-action button){transition:background var(--motion-fast),border-color var(--motion-fast),box-shadow var(--motion-fast);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.button,button):not(:disabled):not(.notification-card-action button):hover{border-color:color-mix(in srgb,var(--gold) 60%,var(--line));box-shadow:inset 0 1px color-mix(in srgb,var(--text) 18%,transparent),0 3px 12px var(--shadow);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.button,button):not(:disabled):active{box-shadow:inset 0 2px 5px var(--shadow);}
.portal-edition :is(button,input,select,textarea):disabled,.portal-edition .button[aria-disabled=true]{cursor:not-allowed;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(button,input,select,textarea):disabled,:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .button[aria-disabled=true]{opacity:.5;box-shadow:none;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :focus-visible{outline:2px solid var(--violet);outline-offset:3px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.notice,.push-status,.message,.network-status,.work-status-guide,.backup-action-notice){border:1px solid var(--line);border-left:3px solid var(--state-info);border-radius:8px;background:color-mix(in srgb,var(--state-info) 8%,var(--panel));color:var(--text);box-shadow:none;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.push-status.error,.notice.warning,.storage-alert){border-left-color:var(--state-warning);background:color-mix(in srgb,var(--state-warning) 8%,var(--panel));color:var(--text);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.message.error,.danger-notice,.errorlist){color:var(--state-error);border-color:color-mix(in srgb,var(--state-error) 50%,var(--line));}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.message.success,.push-status.success){color:var(--state-success);border-left-color:var(--state-success);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .danger-button,:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .calendar-delete-form button{background:color-mix(in srgb,var(--state-error) 14%,var(--panel));color:var(--state-error);border:1px solid color-mix(in srgb,var(--state-error) 45%,var(--line));}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .danger-zone{border-color:color-mix(in srgb,var(--state-error) 35%,var(--line));}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .danger-zone summary{color:var(--state-error);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.portal-role-mark,.gateway-icon){background:color-mix(in srgb,var(--secondary) 14%,var(--panel));border:1px solid var(--edition-frame);color:var(--gold);box-shadow:inset 0 1px var(--edition-veil);border-radius:12px;}
.portal-edition :is(.profile-tabs,.public-work-tabs,.public-status-pills,.control-nav-primary,.control-nav-secondary){gap:6px;scrollbar-color:var(--muted) var(--field);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.profile-tabs,.public-work-tabs,.public-status-pills,.control-nav-primary,.control-nav-secondary) a{border:1px solid transparent;border-radius:7px;color:var(--muted);font-weight:550;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.profile-tabs,.public-work-tabs,.public-status-pills,.control-nav-primary,.control-nav-secondary) a.active{color:var(--text);background:color-mix(in srgb,var(--secondary) 18%,var(--field));border-color:var(--edition-frame);box-shadow:inset 0 -2px var(--gold);}
.portal-edition .account-summary{display:grid;gap:16px;min-width:0;}
.portal-edition .account-summary>div{display:grid;gap:5px;min-width:0;}
.portal-edition .account-summary span{font-size:.82rem;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .account-summary span{color:var(--muted);}
.portal-edition .account-summary strong{overflow-wrap:anywhere;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .notification-category-grid span{background:var(--field);color:var(--muted);border:1px solid var(--line);border-radius:7px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .notification-category-grid input:checked+span{background:color-mix(in srgb,var(--campaign-color,var(--secondary)) 24%,var(--panel));color:var(--text);border-color:color-mix(in srgb,var(--campaign-color,var(--violet)) 70%,var(--line));box-shadow:inset 0 -2px var(--campaign-color,var(--violet));}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .notification-category-grid input:focus-visible+span{outline:2px solid var(--violet);outline-offset:3px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .pretty-switch input:checked+span{background:color-mix(in srgb,var(--secondary) 50%,var(--panel));border-color:var(--violet);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.status-badge,.work-meta-chip){--badge-color:var(--state-info);color:var(--badge-color);background:color-mix(in srgb,var(--badge-color) 9%,var(--panel));border:1px solid color-mix(in srgb,var(--badge-color) 35%,var(--line));border-radius:5px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.status-done,.status-in_progress) .status-badge,:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .status-badge.verified{--badge-color:var(--state-success);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .status-proposed .status-badge,:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .status-badge.pending{--badge-color:var(--state-warning);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.status-badge.high,.status-badge.deleted){--badge-color:var(--state-error);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .public-work-author{background:var(--field);border-color:var(--line);box-shadow:none;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .public-work-author strong{color:var(--text);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .public-work-author>span,:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .campaign-todo-open span{color:var(--violet);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .work-status-form{border-color:var(--line);background:var(--field);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .work-status-form :is(select,input){color:var(--text);border-color:var(--line);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .contribution-reward{color:var(--state-warning);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .gateway-home-layout .gateway-contribution-content>.contribution-points-own strong,:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.gateway-contribution-card li,.contribution-points-widget li) strong{color:var(--gold);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .gateway-card{border:1px solid var(--line);border-top-color:var(--edition-frame);border-radius:12px;background:linear-gradient(135deg,var(--edition-veil),transparent 65%),var(--panel);box-shadow:inset 0 1px var(--edition-veil),0 10px 25px var(--shadow);color:var(--text);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .gateway-card strong{font-family:var(--edition-serif);font-weight:400;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .gateway-card :is(small,em){color:var(--muted);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .site-header{background-image:var(--edition-grain),linear-gradient(115deg,color-mix(in srgb,var(--secondary) 20%,transparent),transparent 60%,color-mix(in srgb,var(--primary) 10%,transparent));}
:root:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"]))[data-theme=light] .portal-edition .brand>span:last-child{color:var(--violet);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.calendar-week-day.today .calendar-week-day-head,.calendar-date-column.today .calendar-date-column-head,.campaign-calendar-day.selected){background:color-mix(in srgb,var(--entity-color,var(--secondary)) 18%,var(--panel));border-color:var(--entity-color,var(--violet));color:var(--text);box-shadow:inset 0 -2px var(--entity-color,var(--violet));}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.data-table,table){color:var(--text);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition th{color:var(--muted);font-weight:600;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition td{border-color:var(--line);}
/* A shared scene supports both personal styles. Entity colors and image ownership are unchanged. */
.portal-scene{position:absolute!important;display:block!important;inset:0;overflow:hidden;pointer-events:none;isolation:isolate;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-scene{background:var(--edition-grain),radial-gradient(ellipse at 80% 20%,color-mix(in srgb,var(--entity-color,var(--secondary)) 55%,transparent),transparent 75%),var(--panel);}
.portal-scene-image,.portal-scene-symbol,.portal-scene-stars{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform var(--motion-scene) cubic-bezier(.2,.65,.3,1);transform:translate(var(--scene-x,0px),var(--scene-y,0px)) scale(1.08);}
.portal-scene-symbol{display:grid;place-items:center;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-scene-symbol{font:100px var(--edition-serif);color:color-mix(in srgb,var(--entity-color,var(--secondary)) 45%,var(--text));}
.portal-scene:has(img) .portal-scene-symbol{display:none;}
.portal-scene-stars{display:none;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-scene-stars{background:radial-gradient(ellipse at 40% 50%,color-mix(in srgb,var(--entity-color,var(--secondary)) 35%,transparent),transparent 65%);}
.portal-scene-stars svg{width:100%;height:100%;fill:var(--sky-star-ink);overflow:visible;}
.portal-scene-stars .sky-layer{transition:transform 480ms ease-out;transform:translate(calc(var(--sky-x,0px) * var(--sky-depth-factor)),calc(var(--sky-y,0px) * var(--sky-depth-factor)));}
.sky-layer-0{--sky-depth-factor:.3;}
.sky-layer-1{--sky-depth-factor:.65;}
.sky-layer-2{--sky-depth-factor:1;}
.is-tracking .portal-scene-stars .sky-layer{transition-duration:90ms;transition-timing-function:linear;}
.portal-scene-stars .sky-thread{fill:none;stroke:var(--sky-star-ink);stroke-width:.7;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-scene-stars .sky-thread{opacity:.23;}
.portal-scene-stars .sky-spark{fill:none;stroke:var(--sky-star-ink);stroke-width:.7;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-scene-stars .sky-spark{opacity:.65;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) [data-card-style=constellation] .portal-scene{background:var(--edition-grain),radial-gradient(ellipse at 75% 15%,color-mix(in srgb,var(--entity-color,var(--secondary)) 25%,transparent),transparent 70%),var(--sky-card-ground);}
[data-card-style=constellation] .portal-scene-stars{inset:-8%;width:116%;height:116%;transform:none;}
@media(prefers-reduced-motion:reduce){.portal-scene-stars .sky-layer{transform:none;transition:none;}}

[data-card-style=constellation] .portal-scene :is(img,.portal-scene-symbol){display:none;}
[data-card-style=constellation] .portal-scene-stars{display:block;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition[data-card-style=constellation] .world-hero{--edition-paper:var(--sky-card-ground);--edition-ink:var(--text);--edition-paper-muted:var(--muted);}
.portal-edition :is(.world-card,.campaign-card):has(>.portal-scene){padding:185px 24px 24px;min-height:330px;display:flex;flex-direction:column;gap:12px;transform:none;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.world-card,.campaign-card):has(>.portal-scene){border-top-color:var(--entity-color);}
.portal-edition :is(.world-card,.campaign-card)>.portal-scene{height:165px;bottom:auto;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.world-card,.campaign-card)>.portal-scene{border-bottom:1px solid var(--line);}
.portal-edition :is(.world-card,.campaign-card)>:not(.portal-scene){position:relative;z-index:1;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.world-card,.campaign-card)>strong{font:28px/1.2 var(--edition-serif);}
.portal-edition[data-card-style=constellation] :is(.world-card,.campaign-card)>.portal-scene{height:100%;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition[data-card-style=constellation] :is(.world-card,.campaign-card)>.portal-scene{border:0;opacity:.9;}
.portal-edition[data-card-style=constellation] .edition-card-art{position:absolute;inset:0;height:100%;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition[data-card-style=constellation] .edition-card-art{opacity:.85;border:0;}
.portal-edition[data-card-style=constellation] .edition-card-content{position:relative;padding-top:130px;z-index:1;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .world-hero .portal-scene{background-color:var(--edition-paper);}
.portal-edition .world-hero .portal-scene-symbol{font-size:240px;padding-left:45%;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .world-hero .portal-scene-symbol{color:color-mix(in srgb,var(--entity-color) 45%,transparent);}
.portal-edition .edition-cover-art.is-unillustrated:before{content:none;}
.portal-edition .edition-campaign-cover .portal-scene{z-index:-1;}
.portal-edition .appearance-preview{position:relative;isolation:isolate;overflow:hidden;padding-top:155px;}.portal-edition .appearance-preview .portal-scene{height:130px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .appearance-preview>strong{color:var(--text);}
.portal-preset-picker{margin:0 0 16px;padding:12px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-preset-picker{border:1px solid var(--line);border-radius:8px;}.portal-preset-picker summary{cursor:pointer;font-size:13px;}.portal-preset{display:grid;grid-template-columns:auto 90px 1fr;align-items:center;gap:12px;margin-top:14px;font-size:13px;}.portal-preset img{width:90px;height:55px;object-fit:cover;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-preset img{border-radius:5px;}
@media(hover:hover) and (pointer:fine){
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition :is(.world-card,.campaign-card,.gateway-card):hover{border-color:var(--entity-color,var(--gold));box-shadow:0 16px 35px var(--shadow),inset 0 1px var(--edition-veil);}}
@media(prefers-reduced-motion:reduce){.portal-edition :is(.button,button,.world-card,.campaign-card,.gateway-card),.portal-scene>*{transition:none!important;transform:none!important;animation:none!important;}}
@media(max-width:700px){.portal-edition :is(.world-grid,.campaign-grid,.gateway-grid){grid-template-columns:1fr;}.portal-edition .public-work-tabs{overflow-x:auto;flex-direction:row;}.portal-edition .public-work-tabs a{white-space:nowrap;}.portal-edition .page-heading{gap:18px;}.portal-edition .push-device-actions{flex-wrap:wrap;}.portal-edition .control-nav a{min-height:40px;}}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .gateway-card .gateway-icon{background:color-mix(in srgb,var(--secondary) 14%,var(--panel));color:var(--gold);border-color:var(--edition-frame);}
.portal-edition .world-card>span:not(.portal-scene){align-items:flex-start;width:100%;text-align:left;}.portal-edition .world-card strong{font-size:28px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .world-card strong{font-style:normal;font-weight:400;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .notification-card-action button,:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition .notification-card-action button:hover{border:0;box-shadow:none;background:transparent;}
/* Quiet entry feedback; navigation remains native and works without JavaScript. */
@keyframes portal-enter{from{opacity:.55;translate:0 4px;}to{opacity:1;translate:0 0;}}
@media(prefers-reduced-motion:no-preference){.portal-edition :is(.edition-world,.campaign-detail-layout){animation:portal-enter 240ms ease-out both;}}
.portal-edition progress[value]{appearance:none;overflow:hidden;height:8px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition progress[value]{border:1px solid var(--line);border-radius:8px;background:var(--field);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition progress[value]::-webkit-progress-bar{background:var(--field);}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition progress[value]::-webkit-progress-value{background:var(--entity-color,var(--gold));border-radius:8px;}
:where(:is([data-portal-style="encre"],[data-portal-style="herbier"],[data-portal-style="velin"])) .portal-edition progress[value]::-moz-progress-bar{background:var(--entity-color,var(--gold));border-radius:8px;}

@media(max-width:700px){.portal-edition .site-legal-footer{padding:24px 20px 30px;}}
@media(max-width:480px){
 .portal-edition .gateway-home-layout .gateway-contribution-content{grid-template-columns:minmax(0,1fr);}
 .portal-edition .gateway-home-layout .gateway-contribution-content>.contribution-points-own{grid-column:1;grid-row:auto;justify-self:start;margin-top:6px;}
 .portal-edition .site-header{gap:8px;}
 .portal-edition .site-header .account{gap:6px;}
 .portal-edition .site-header .header-updates{gap:6px;}
 .portal-edition .site-header :is(.patch-trigger,.announcement-trigger,.notification-link){width:32px;min-width:32px;height:32px;min-height:32px;}
 .portal-edition .site-header .account-identity{padding:3px;}
 .portal-edition .site-header .account-identity .user-avatar{--avatar-size:24px;}}
/* New components also inherit the classic foundation, without changing their layout. */

:root[data-portal-style="classic"] .edition-atmosphere{display:none;}
:root[data-portal-style="classic"] .edition-campaign-link{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:inset 0 1px #ffffff12,0 12px 28px var(--shadow);color:var(--text);}
:root[data-portal-style="classic"] .edition-campaign{--campaign-surface:var(--panel);--campaign-line:var(--line);--campaign-readable:var(--text);}
:root[data-portal-style="classic"] .edition-primary{background:linear-gradient(135deg,var(--primary),var(--secondary));color:#fff;border:1px solid var(--line);border-radius:12px;}
.brand-mark .brand-classic{display:none;}:root[data-portal-style="classic"] .brand-mark .brand-encre{display:none;}:root[data-portal-style="classic"] .brand-mark .brand-classic{display:block;}

:root[data-portal-style="classic"] .portal-scene{background:radial-gradient(ellipse at 75% 12%,color-mix(in srgb,var(--entity-color,var(--secondary)) 30%,transparent),transparent 70%),var(--panel);}
:root[data-portal-style="classic"] .portal-scene-symbol{font:100px/1 Georgia,serif;color:color-mix(in srgb,var(--entity-color,var(--secondary)) 45%,var(--text));}
:root[data-portal-style="classic"] .portal-scene-stars svg{fill:var(--sky-star-ink);}
.guest-style-label{display:flex;align-items:center;gap:8px;font:12px system-ui;color:var(--muted);}.guest-style-label select{min-height:36px;}

/* The classic inset rail needs room for rounded links and keyboard focus. */
:root[data-portal-style="classic"] .portal-edition .site-header .main-nav{padding:8px;gap:7px;box-sizing:border-box;scroll-padding-inline:8px;}

/* Account validation stays visible even if a browser cannot resolve color-mix tokens. */
html .portal-edition .auth-card button.primary{background:#f4d47c;color:#292016;border:1px solid #a7863d;min-height:44px;box-shadow:inset 0 1px #fff8,0 2px 5px #0003;}
html .portal-edition .auth-card button.primary:not(:disabled):hover{background:#ffe3a0;color:#292016;}
html .portal-edition .auth-card button.primary:disabled{opacity:1;background:#b9b4a7;color:#39362f;border-style:dashed;}
@media(forced-colors:active){html .portal-edition .auth-card button.primary{background:ButtonFace;color:ButtonText;border-color:ButtonText;box-shadow:none;}html .portal-edition .auth-card button.primary:disabled{color:GrayText;border-color:GrayText;}}
