/* Hallmark V2 · brand · additive game result actions; no game engine styling */
:root{--hm-result-red:#971b2d;--hm-result-paper:#fcf6e9;--hm-result-ink:#191915;--hm-result-font:'DM Sans',sans-serif}
.hm-result-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.hm-result-actions .hm-share-result,.hm-result-actions .hm-download-result{min-height:48px;max-width:100%;padding:12px 16px;font:700 16px/1.4 var(--hm-result-font);cursor:pointer;white-space:normal}
.hm-result-actions .hm-share-result{margin:0}
.hm-result-actions .hm-download-result{border:2px solid var(--hm-result-red);border-radius:0;color:var(--hm-result-red);background:transparent}
.hm-result-actions .hm-download-result:hover{color:var(--hm-result-paper);background:var(--hm-result-ink);border-color:var(--hm-result-ink)}
.hm-result-actions button:active,.hm-card-save:active{transform:translateY(1px)}
.hm-result-actions button:focus-visible,.hm-card-save:focus-visible,.hm-share-text:focus-visible{outline:3px solid var(--hm-result-ink);outline-offset:4px}
.hm-card-preview{margin-block:20px}.hm-card-preview[hidden]{display:none}
.hm-card-preview img{display:block;width:100%;height:auto;aspect-ratio:1200/630;border:1px solid var(--hm-result-ink)}
.hm-result-bridge .hm-card-save{display:inline-flex;align-items:center;min-height:44px;margin-top:12px;padding:8px 16px;color:var(--hm-result-paper);background:var(--hm-result-red);font-weight:700;text-decoration:none}
.hm-share-text{display:block;width:100%;min-height:160px;padding:12px;background:var(--hm-result-paper);border:1px solid var(--hm-result-ink);color:var(--hm-result-ink);font:400 16px/1.5 var(--hm-result-font);resize:vertical}
@media(max-width:520px){.hm-result-actions{flex-direction:column}.hm-result-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){.hm-result-actions *,.hm-card-preview *{animation:none!important;transition:none!important}}
