/* House Duck share keys + share sheet (owner 2026-11-06). Same dark / gold look as the 10key page: #141414 / #1d1d1d, text #ece6d6, gold #ffd23f. */
.hd-share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 18px 0 0; }
.hd-share-row[hidden] { display: none; }
.hd-share-key {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; padding: 0 18px;
  border: 2px solid rgba(236, 230, 214, .3); border-radius: 12px; background: rgba(236, 230, 214, .06); color: #ece6d6;
  font-family: inherit; font-size: .95rem; font-weight: 800; line-height: 1.2; cursor: pointer; word-break: keep-all;
}
.hd-share-key:hover, .hd-share-key:focus-visible { border-color: #ece6d6; background: rgba(236, 230, 214, .12); }
.hd-share-key:active { transform: translateY(1px); }
.hd-share-key[data-state="copied"] { border-color: #ece6d6; background: #ece6d6; color: #141414; }
.hd-share-key:focus-visible, .hd-share-item:focus-visible, .hd-share-x:focus-visible { outline: 3px solid #ece6d6; outline-offset: 3px; }
.hd-share-ico { flex: none; width: 14px; height: 14px; image-rendering: pixelated; }
.hd-share-row .hd-share-note { margin: 0; color: rgba(236, 230, 214, .74); font-size: .85rem; min-height: 1.2em; }

.hd-share {
  width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; box-sizing: border-box; padding: 18px 18px 20px;
  border: 2px solid rgba(236, 230, 214, .28); border-radius: 16px; background: #1d1d1d; color: #ece6d6; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); font-family: inherit;
}
.hd-share::backdrop { background: rgba(10, 10, 12, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hd-share[open] { animation: hd-share-in 160ms ease-out; }
@keyframes hd-share-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hd-share-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hd-share-head h2 { margin: 0; color: #ece6d6; font-size: 1.15rem; line-height: 1.2; }
.hd-share-x { position: relative; flex: none; width: 40px; height: 40px; border: 2px solid rgba(236, 230, 214, .35); border-radius: 10px; background: transparent; color: #ece6d6; cursor: pointer; }
.hd-share-x span::before, .hd-share-x span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.hd-share-x span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.hd-share-x:hover { border-color: #ece6d6; }
.hd-share-intro { margin: 8px 0 12px; color: rgba(236, 230, 214, .8); font-size: .92rem; line-height: 1.5; }
.hd-share-pic { margin: 0 0 12px; }
.hd-share-pic img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; border: 2px solid rgba(236, 230, 214, .25); border-radius: 8px; background: #141414; -webkit-touch-callout: default; -webkit-user-select: auto; user-select: auto; }
.hd-share-pic figcaption { margin-top: 6px; color: #ece6d6; font-size: .85rem; font-weight: 700; line-height: 1.4; }
.hd-share-inapp { margin: 0 0 12px; padding: 10px 12px; border-left: 4px solid rgba(236, 230, 214, .4); background: rgba(236, 230, 214, .06); font-size: .88rem; line-height: 1.5; }
.hd-share-addr { display: block; width: 100%; box-sizing: border-box; margin: 0 0 12px; padding: 10px 12px; border: 2px solid rgba(236, 230, 214, .25); border-radius: 10px; background: #141414; color: #ece6d6; font: .85rem/1.3 ui-monospace, "SF Mono", Menlo, monospace; }
.hd-share-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hd-share-item {
  display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; box-sizing: border-box; padding: 8px 10px; text-align: center; text-decoration: none;
  border: 2px solid rgba(236, 230, 214, .3); border-radius: 12px; background: rgba(236, 230, 214, .06); color: #ece6d6; font-family: inherit; font-size: .92rem; font-weight: 800; line-height: 1.25; cursor: pointer; word-break: keep-all;
}
.hd-share-item:hover, .hd-share-item:focus-visible { border-color: #ece6d6; background: rgba(236, 230, 214, .12); }
.hd-share-item.is-primary { grid-column: 1 / -1; background: #ffd23f; border-color: #ffd23f; color: #141414; box-shadow: 0 4px 0 #a9820f; }
.hd-share-item[data-state="copied"] { background: #ece6d6; color: #141414; border-color: #ece6d6; }
.hd-share-status { min-height: 1.3em; margin: 10px 0 0; color: #ece6d6; font-size: .85rem; font-weight: 700; }
@media (max-width: 600px) {
  .hd-share { width: 100%; max-width: none; margin: auto 0 0; border-width: 2px 0 0; border-radius: 16px 16px 0 0; box-shadow: none; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .hd-share-row { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { .hd-share[open] { animation: none; } .hd-share-key:active { transform: none; } }

/* Keycap share keys (owner 2026-11-21): the same three keys on the 10key pages, the home's 10key section and /10key/get/.
   Share = a gold keycap that nudges and shines now and then to invite a tap; copy = the cream keycap of /10key/get/;
   KakaoTalk = Kakao's own yellow with its share symbol (assets/media/share/kakaotalk-share.png, unmodified). */
.hd-share-row .hd-share-key {
  --k: #ece6d6; --k-side: #a39d8d; --k-ink: #141414;
  position: relative; min-height: 48px; margin: 0 0 5px; padding: 0 20px; overflow: hidden;
  border: 0; border-radius: 12px; color: var(--k-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .06) 40%, rgba(0, 0, 0, .04)), var(--k);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 5px 0 var(--k-side), 0 7px 8px rgba(0, 0, 0, .28);
  transition: transform 110ms ease-out, box-shadow 110ms ease-out, filter 160ms ease-out;
}
.hd-share-row .hd-share-key:hover, .hd-share-row .hd-share-key:focus-visible {
  border: 0; filter: brightness(1.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .06) 40%, rgba(0, 0, 0, .04)), var(--k);
}
.hd-share-row .hd-share-key:active { transform: translateY(4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 0 var(--k-side), 0 2px 4px rgba(0, 0, 0, .25); }
.hd-share-row .hd-share-key[data-state="copied"] { --k: #7ee2a8; --k-side: #3f9a69; border: 0; }
.hd-share-row [data-share-open] { --k: #ffd23f; --k-side: #a9820f; animation: hd-share-nudge 4s ease-in-out 1.2s infinite; }
.hd-share-row [data-share-open]:hover, .hd-share-row [data-share-open]:active, .hd-share-row [data-share-open]:focus-visible { animation: none; }
.hd-share-row [data-share-open]::after {
  position: absolute; inset: 0; content: ""; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  transform: translateX(-130%); animation: hd-share-shine 4s ease-in-out 1.2s infinite;
}
.hd-share-ico-svg { flex: none; width: 18px; height: 18px; fill: currentColor; animation: hd-share-pop 4s ease-in-out 1.2s infinite; }
.hd-share-row .is-kakao { --k: #fee500; --k-side: #b8a300; --k-ink: rgba(0, 0, 0, .85); }
.hd-share-kakao-ico { flex: none; width: 24px; height: 24px; border-radius: 6px; }
.hd-share-item .hd-share-kakao-ico { margin-right: 8px; }
@keyframes hd-share-nudge { 0%, 72%, 100% { transform: none; } 77% { transform: translateY(-4px) rotate(-2deg); } 83% { transform: translateY(0) rotate(1.5deg); } 89% { transform: translateY(-2px); } 94% { transform: none; } }
@keyframes hd-share-shine { 0%, 66% { transform: translateX(-130%); } 90%, 100% { transform: translateX(130%); } }
@keyframes hd-share-pop { 0%, 72%, 100% { transform: none; } 79% { transform: scale(1.3) rotate(-14deg); } 86% { transform: scale(.95); } }
@media (prefers-reduced-motion: reduce) {
  .hd-share-row [data-share-open], .hd-share-ico-svg { animation: none; }
  .hd-share-row [data-share-open]::after { display: none; }
  .hd-share-row .hd-share-key:active { transform: none; }
}
