/* SNS share buttons + result share panel (landing and game pages). */
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); text-decoration: none; font: inherit; font-weight: 800; font-size: .85rem; cursor: pointer; white-space: nowrap; touch-action: manipulation; }
.share-btn:hover { background: var(--surface-3); }
.share-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.share-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.share-copy { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.share-native { background: var(--accent); color: var(--accent-ink, #1b0f00); border-color: transparent; }
.share-panel { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(5, 8, 20, .72); backdrop-filter: blur(6px); animation: share-fade .18s ease both; }
.share-panel-card { width: min(440px, 100%); display: grid; gap: 12px; padding: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.share-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.share-panel-head strong { font-size: 1.05rem; }
.share-panel-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); cursor: pointer; font: inherit; }
.share-panel-text { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--bg-2, rgba(0,0,0,.2)); color: var(--text-2); font-size: .9rem; white-space: pre-line; text-wrap: pretty; }
@keyframes share-fade { from { opacity: 0; } }
