/* Keep original artwork intact; crop only the surrounding scene in CSS. */
.commons .guest-orb-button {
  display:inline-flex;align-items:center;justify-content:center;
  width:62px;height:62px;min-width:62px;flex:0 0 62px;
  padding:0;border:0;border-radius:50%;background:transparent!important;
  box-shadow:none;cursor:pointer;vertical-align:middle;touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.guest-orb-art{display:block;position:relative;width:62px;height:62px;flex:none;transform-origin:center;pointer-events:none}
.guest-orb-cutout{position:absolute;inset:0;overflow:hidden;clip-path:ellipse(49.1% 47.3% at 50% 50%)}
.guest-orb-cutout img{position:absolute;width:206.4516%;height:auto;max-width:none;left:-50.8065%;top:-14.3548%;display:block;border:0;border-radius:0;object-fit:fill}
.commons .guest-orb-button:focus-visible,.commons .post-disclosure>summary:focus-visible,.commons .orb-compose-summary:focus-visible{outline:2px solid #fff;outline-offset:4px}
.commons .guest-post-actions,.commons .post-feedback-panel>.guest-post-actions{gap:14px;align-items:center;padding:4px 0}
.commons .post-disclosure[open]>summary .guest-collapse-orb{display:inline-block;padding:0;margin:0;border:0;border-radius:50%;background:transparent!important;color:inherit}
.commons .post-disclosure:not([open])>summary .post-expand-label.guest-collapse-orb{display:inline-block;padding:0;margin:10px 0 0;border:0;background:transparent!important}
.commons .post-disclosure[open]>summary .post-expand-label.guest-collapse-orb{display:none}
.commons .guest-collapse-orb .guest-orb-art{width:56px;height:56px}
.guest-mode .guest-unavailable.guest-orb-button{margin:4px 0 12px}
.guest-collapse-orb .visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.commons .forum-compose>summary.orb-compose-summary{display:inline-flex;list-style:none;padding:0;cursor:pointer}
.orb-compose-summary::-webkit-details-marker{display:none}
.commons .guest-orb-button[aria-pressed="true"] .guest-orb-art{filter:brightness(1.5)}
.commons .guest-orb-button:disabled{opacity:.5;cursor:default}
.orb-action-status{font-size:12px;flex:1;min-width:100px;color:var(--hub-status-gold,#e5c77e)}
.commons .work-side-actions .guest-orb-button{width:27px;height:27px;min-width:27px;flex-basis:27px;padding:0;border:0}
.commons .work-side-actions .guest-orb-art{width:27px;height:27px}
/* Match the reaction row and place secondary actions at its lower right. */
.commons .guest-post-actions,.commons .post-feedback-panel>.guest-post-actions{justify-content:flex-end;gap:5px;padding:4px 8px;box-sizing:border-box}
.commons .guest-post-actions>.guest-orb-button{width:38px;height:38px;min-width:0;flex-basis:38px}
.commons .guest-post-actions .guest-orb-art{width:100%;height:auto;aspect-ratio:1}
.commons .guest-post-actions>.orb-action-status{order:-1;min-width:0}
.orb-action-status:empty{display:none}
/* A compact navy tile behind the two post actions, without moving the orbs. */
.commons #content .guest-post-actions{position:relative;isolation:isolate}
.commons #content .guest-post-actions::before{content:'';position:absolute;right:0;top:0;width:97px;height:46px;border-radius:12px;background:var(--hub-navy,#080f1b);z-index:-1;pointer-events:none}
.commons .post-disclosure>summary .guest-collapse-orb .guest-orb-art{width:100%;height:auto;aspect-ratio:1}
.commons .post-disclosure>summary .guest-collapse-orb{width:38px;margin-left:8px!important}
@media(max-width:650px){
 .commons .post-feedback-panel>.guest-post-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:4px 0}
 .commons .post-feedback-panel:has(>.post-action-row .contribution-controls>button)>.guest-post-actions{grid-template-columns:repeat(7,minmax(0,1fr))}
 .commons .post-feedback-panel>.guest-post-actions>.guest-orb-button{width:100%;height:auto;aspect-ratio:1;grid-row:1}
 .commons .post-feedback-panel>.guest-post-actions>.guest-orb-button:first-child{grid-column:-3/-2}
 .commons .post-feedback-panel>.guest-post-actions>.guest-orb-button:nth-child(2){grid-column:-2/-1}
 .commons .post-feedback-panel>.guest-post-actions>.orb-action-status{grid-column:1/-1;grid-row:2;text-align:right}
 .commons #content .post-feedback-panel>.guest-post-actions::before{position:relative;right:auto;top:auto;grid-column:-3/-1;grid-row:1;align-self:stretch;justify-self:stretch;width:auto;height:auto;margin:-4px}
 .commons .post-disclosure>summary .guest-collapse-orb{width:calc((100% - 34px)/5);margin-left:9px!important}
 .commons article:has(>.post-feedback-panel>.post-action-row .contribution-controls>button)>.post-disclosure>summary .guest-collapse-orb{width:calc((100% - 42px)/7)}
}

/* Personal notes and saved references use the same lower-right action pair. */
.commons .local-post-tools{align-items:center;justify-content:space-between}
.commons .local-post-tools>.icon-action{order:-1}
.commons .local-post-tools>.guest-post-actions{margin:0 0 0 auto}
.commons .local-post-orbs>.guest-orb-button{width:40px;height:40px;flex-basis:40px}
.commons #content .local-post-orbs::before{width:101px;height:48px}
.commons #content .saved-reference-actions::before{width:54px}
.commons .work-side-post-actions .work-side-comments{margin-top:0}
.commons #posts>article.card>.reactions>.reaction{width:40px;height:40px;min-width:40px;padding:0;border:0;background:transparent;box-shadow:none}
.commons #posts>article.card>.reactions .reaction-icon{display:block;width:100%;height:100%}
