/* v37: one read-only illustrated catalogue, one game-start action. */
.companion-view .topbar{margin-bottom:16px}.companion-view .companion-eyebrow{margin:0 0 7px}.companion-view .view-heading{font-size:32px;margin-bottom:7px}.companion-view>.sub{margin-bottom:14px}
.companion-catalog{margin:0 0 16px}.companion-catalog-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 10px;flex-wrap:wrap}.companion-catalog-heading h3{margin:0;font-size:14px}.companion-catalog-heading small{font-size:10px;color:#877968}
.companion-catalog .companion-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-radius:18px;overflow:hidden;background:#f5e8c7}
.companion-catalog .companion-game{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;min-width:0;min-height:0;padding:11px 5px 13px;border:0;border-radius:0;gap:4px;cursor:pointer;box-shadow:none;transform:none;transition:none;outline:none}
.companion-catalog .companion-game:hover,.companion-catalog .companion-game:active{transform:none;filter:none;box-shadow:none}
.companion-catalog .companion-art{width:86px;height:86px;max-width:100%;pointer-events:none}.companion-catalog .companion-art .companion-roll{width:30px;height:35px;bottom:10px;right:0}.companion-catalog .companion-swirl{font-size:74px;bottom:-5px;left:4px}
.companion-catalog .companion-game-copy{display:block;text-align:center;padding:0;overflow-wrap:anywhere}.companion-game-copy h4{margin:0 0 5px;font-size:17px;line-height:1.35}.companion-game-copy p{margin:0;font-size:10px;line-height:1.6;color:#786853}
.companion-view .companion-random{margin:0;min-height:56px}.companion-view .companion-note{margin:13px 0 6px}.companion-view .companion-privacy{margin-bottom:18px}
@media(max-width:360px){.companion-catalog .companion-art{width:72px;height:76px}.companion-game-copy h4{font-size:16px}.companion-catalog .companion-game{padding-inline:4px}}

.companion-catalog button.companion-game{min-height:44px;min-width:44px;font:inherit;color:inherit}
.companion-catalog button.companion-game:focus-visible{outline:3px solid #72518c;outline-offset:-3px}

/* v42 hub: continue hero, random secondary, one-column list with progress chips. */
.companion-view[data-layout="hub"] .view-heading{margin-bottom:6px}.companion-view[data-layout="hub"]>.sub{margin-bottom:12px}
.hub-hero-wrap{display:flex;flex-direction:column;gap:9px;margin:0 0 14px}
.hub-hero-wrap .hub-hero{margin:0;display:flex;align-items:center;justify-content:flex-start;gap:12px;text-align:left;padding:12px 16px;min-height:72px}
.hub-hero .companion-art{width:54px;height:54px;flex:none;background:#fff5;border-radius:14px;position:relative;pointer-events:none}
.hub-hero .companion-art .companion-roll{width:22px;height:26px;bottom:4px;right:0}.hub-hero .companion-swirl{font-size:48px;bottom:-4px;left:2px}
.hub-hero-copy{flex:1;min-width:0}.hub-hero-copy small{display:block;font-size:13px;font-weight:600;opacity:.9}.hub-hero-copy b{display:block;font-size:19px;line-height:1.3}
.hub-play{margin-left:auto;font-size:22px;flex:none}
.hub-second{width:100%;min-height:48px;border:2px solid var(--ink,#493b36);background:transparent;color:var(--ink,#493b36);border-radius:18px;padding:11px;font:inherit;font-weight:750;font-size:16px;cursor:pointer}
.hub-catalog{margin:0 0 12px}.hub-catalog .companion-catalog-heading{margin:0 0 8px}
.hub-list{display:flex;flex-direction:column;gap:7px}
.hub-row{display:flex;align-items:center;gap:6px;border-radius:18px;padding:4px 12px 4px 4px;background:#f5e8c7}
.hub-row.companion-game-flush{background:#dfece6}.hub-row.companion-game-paper{background:#e8e0ef}
.hub-main{flex:1;min-width:0;display:flex;align-items:center;gap:8px;border:0;background:transparent;padding:0;margin:0;font:inherit;color:inherit;text-align:left;cursor:pointer;min-height:56px;box-shadow:none;transform:none}
.hub-main:focus-visible,.hub-pick:focus-visible{outline:3px solid #72518c;outline-offset:2px}
.hub-main .companion-art{width:50px;height:50px;flex:none;position:relative;pointer-events:none}
.hub-main .companion-art .companion-roll{width:20px;height:24px;bottom:4px;right:0}.hub-main .companion-swirl{font-size:44px;bottom:-4px;left:2px}
.hub-copy{flex:1;min-width:0}.hub-copy h4{margin:0;font-size:16px;line-height:1.3}.hub-copy p{margin:1px 0 0;font-size:12.5px;line-height:1.4;color:#6f6157;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hub-side{display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex:none}
.hub-chip{font-size:12px;font-weight:750;padding:3px 9px;border-radius:999px;background:#fffaf0;border:1.5px solid var(--ink,#493b36);white-space:nowrap}
.hub-chip.new{background:var(--orange,#ee6a3c);color:#fff;border-color:var(--orange,#ee6a3c)}.hub-chip.done{background:#e3f1e6}
.hub-pick{border:0;background:transparent;padding:2px 0;min-height:24px;font:inherit;font-size:12px;color:var(--ink,#493b36);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.companion-view[data-layout="hub"] .companion-note{margin:10px 0 4px}
