.howbook-share:focus-visible{outline:2px solid var(--world-accent,#d53732);outline-offset:3px}[data-share-fallback]{width:calc(100% - 24px);margin:0 12px 12px;padding:9px}.world-journal-reading{max-width:760px;margin:auto;line-height:1.8}.world-journal-reading img,.world-journal-reading video{width:100%;height:auto;border-radius:14px}.world-journal-reading figure{margin:25px 0}.world-journal-reading figcaption{font-size:14px}.world-comments{margin-top:36px;padding:22px;border:1px solid var(--world-border);border-radius:14px}.world-journal-reading p{white-space:pre-line}
.howbook-share-dialog{box-sizing:border-box;width:min(92vw,520px);max-height:85vh;overflow:auto;padding:24px;border:1px solid var(--world-border,#ccc);border-radius:18px;background:var(--world-surface,#faf8f5);color:var(--world-text,#242c32)}.howbook-share-dialog::backdrop{background:#0009}.howbook-share-dialog h2{font:600 26px/1.2 Georgia,serif}.howbook-share-dialog p{line-height:1.6}.howbook-share-dialog input{box-sizing:border-box;display:block;width:100%;padding:12px;margin:10px 0;background:var(--world-panel,#fff);color:inherit;border:1px solid var(--world-border,#aaa);border-radius:8px;font:14px system-ui}.share-dialog-actions{display:flex;flex-wrap:wrap;gap:10px}.share-dialog-actions button{padding:10px 14px;min-height:44px;border:1px solid var(--world-border,#aaa);border-radius:9px;background:var(--world-panel,#fff);color:inherit;font:600 14px system-ui;cursor:pointer}

.world-journal-card{box-sizing:border-box;min-width:0;width:100%;border:1px solid var(--world-border,#ccc);border-radius:16px;overflow:hidden;background:var(--world-panel,#fff)}.world-journal-feature{display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr)}.world-journal-media{min-width:0;overflow:hidden;background:var(--world-background,#eee);aspect-ratio:16/10}.world-journal-media img,.world-journal-media video{display:block;width:100%;height:100%;object-fit:cover}.world-journal-feature .world-journal-media{height:100%;min-height:280px;aspect-ratio:auto}.world-journal-copy{padding:24px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.world-journal-copy h3{font:600 28px/1.25 Georgia,serif;margin:0;overflow-wrap:anywhere}.world-journal-copy h3 a{color:var(--world-text,#242c32);text-decoration:none}.world-journal-copy time{font-size:13px;color:var(--world-muted,#666)}.world-journal-copy p{margin:0;line-height:1.65}.world-journal-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.world-journal-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:auto;padding-top:6px}.world-journal-actions .action{min-height:44px}.world-journal-archive{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0}.how-discovery-module[data-home-module-type=journal]{width:100%;min-width:0;overflow-wrap:break-word}@media(max-width:700px){.world-journal-feature,.world-journal-archive{grid-template-columns:1fr}.world-journal-feature .world-journal-media{height:auto;min-height:0;aspect-ratio:16/10}.world-journal-copy{padding:20px}.world-journal-copy h3{font-size:25px}.world-journal-actions{width:100%;flex-direction:column}.world-journal-actions .action{width:100%;box-sizing:border-box;justify-content:center}}

/* One public share control for the portal, all world cards and reading pages. */
.howbook-share.action.secondary{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:148px;max-width:100%;margin:0;padding:11px 20px;border:1px solid var(--world-border,#b8b0a9);border-radius:11px;background:transparent;color:var(--world-text,#242c32);font-family:inherit;font-size:15px;font-weight:650;line-height:1.3;text-align:center;cursor:pointer}
.howbook-page-social{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin:24px 0 0;padding:0}
.demo-social-actions>.howbook-share.action.secondary{width:100%;min-width:0;padding:10px 6px;font-size:13px}
.demo-social-actions>.demo-favorite{font-family:inherit;font-size:13px;line-height:1.3;font-weight:650}
.howbook-share-dialog{position:relative}.howbook-share-dialog h2{padding-right:32px}.howbook-share-dismiss{position:absolute;right:12px;top:10px;width:44px;height:44px;padding:0;display:flex;align-items:center;justify-content:center;background:transparent;color:inherit;border:1px solid var(--world-border,#bbb);border-radius:50%;font:26px/1 system-ui;cursor:pointer}
@media(max-width:700px){.demo-social-actions>.howbook-share.action.secondary,.demo-social-actions>.demo-favorite{font-size:12px;padding:10px 4px}}

.demo-social-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:stretch;width:100%}
.demo-social-actions>.action{box-sizing:border-box;width:100%;max-width:none;min-width:0;margin:0;min-height:44px;padding:10px 6px;display:flex;align-items:center;justify-content:center;font-family:inherit;font-size:13px;line-height:1.3;font-weight:650;text-align:center}
.world-journal-copy>.world-journal-credit{font-size:11px;line-height:1.4;color:var(--world-muted,#666)}
@media(max-width:700px){.demo-social-actions>.action{font-size:12px;padding:10px 4px}}

/* Common action slot: outside whole-card links, aligned with the copy gutter. */
[data-share-layout=stack]{display:flex;flex-direction:column;min-width:0}
[data-share-layout=stack]>a{height:auto;min-height:0;flex:1 1 auto}
.howbook-card-social{display:flex;flex:none;grid-column:1/-1;align-items:center;justify-content:flex-start;gap:10px;width:100%;box-sizing:border-box;margin:12px 0 0;padding:0;min-width:0}
[data-share-layout=stack]>.howbook-card-social{padding:0 var(--share-inset-end,18px) 18px var(--share-inset-start,18px)}
.howbook-card-social>.howbook-share.action.secondary{width:auto;min-width:min(148px,100%);max-width:100%;flex:0 1 auto;align-self:flex-start;min-height:44px;margin:0}
.howbook-card-social>.howbook-share.action.secondary{padding:11px 20px;font-size:15px;line-height:1.3;border-radius:11px}
.comparison-card-actions>.howbook-card-social{margin-top:0}
@media(max-width:600px){.howbook-card-social>.howbook-share.action.secondary{font-size:13px;padding:10px 12px;min-width:0;white-space:nowrap}}

/* Shared identity marks: fixed geometry, independent of each world palette. */
.world-identity-badges{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-shrink:0;margin:12px 0}
.world-identity-badges a{display:block!important;width:64px!important;height:64px!important;padding:0!important;border:0!important;background:transparent!important;flex:none!important}
.world-identity-badges img{display:block!important;width:64px!important;height:64px!important;object-fit:contain!important;border-radius:0!important}
.howbook-family-mark>.world-identity-badges{margin:0 0 0 auto}
.discovery-card>.world-identity-badges{margin:0 12px 16px;justify-content:center;min-width:0;flex-shrink:1}
.discovery-card>.world-identity-badges a{width:64px!important;max-width:calc((100% - 8px)/2);height:auto!important;aspect-ratio:1;flex:0 1 64px!important}
.discovery-card>.world-identity-badges img{width:100%!important;height:100%!important;aspect-ratio:1}

/* Preserve the original COHUMAI artwork inside its circular silhouette. */
.world-identity-badges a:last-child img{border-radius:50%!important}
.howbook-family-mark>.world-identity-badges a{width:72px!important;height:72px!important;display:block!important;text-decoration:none}
.howbook-family-mark>.world-identity-badges img{width:72px!important;height:72px!important}
@media(max-width:480px){body.how-world .howbook-family-mark{gap:12px}body.how-world .howbook-home-link{width:min(100px,25vw)}}

/* Profile links use the same commands and gutters as every world. */
.world-social-links{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:18px clamp(18px,4vw,48px);max-width:1280px;margin-inline:auto}.world-social-links .action{margin:0;min-height:44px}

.world-social-links{gap:6px;padding:18px 12px}.world-social-links :is(a,.world-social-inactive){display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px;margin:0;border:1px solid var(--world-border);border-radius:10px;color:var(--world-identity-accent,var(--world-accent))}.world-social-links svg{display:block;width:24px;height:24px;flex:none}.world-social-inactive{opacity:.28;filter:grayscale(1)}@media(min-width:700px){.world-social-links{gap:10px;padding-inline:clamp(18px,4vw,48px)}}
/* Related actions in a featured card have the same compact geometry. */
.discovery-feature .discovery-actions>a,.discovery-feature .howbook-card-social>.howbook-share.action.secondary{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:148px;min-width:0;max-width:100%;min-height:44px;padding:11px 20px;border-radius:11px;font-family:inherit;font-size:15px;font-weight:650;line-height:1.3;text-align:center}
