/* HogTok — share sheet (r29). Additive: no existing rule is overridden. */
.share-sheet{
  position:fixed;inset:0;z-index:1200;
  display:flex;align-items:center;justify-content:center;
  padding:20px;
}
.share-sheet[hidden]{display:none}
.share-backdrop{
  position:absolute;inset:0;background:rgba(2,6,12,.72);
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
}
.share-card{
  position:relative;z-index:1;width:100%;max-width:480px;
  background:var(--card,#0d1522);border:1px solid var(--border,rgba(255,255,255,.12));
  border-radius:18px;padding:20px 20px 16px;
  box-shadow:0 24px 70px rgba(0,0,0,.6);
  color:var(--text,#fff);
  max-height:calc(100vh - 40px);overflow-y:auto;
}
.share-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}
.share-title{
  margin:0;font-size:16px;line-height:1.35;font-weight:700;flex:1;
  overflow:hidden;text-overflow:ellipsis;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;
}
.share-x{
  flex:0 0 auto;width:30px;height:30px;border-radius:9px;cursor:pointer;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);
  color:inherit;font-size:19px;line-height:1;
}
.share-x:hover{border-color:var(--accent2,#4bb8ff)}
.share-native{
  width:100%;display:flex;align-items:center;justify-content:center;gap:8px;
  padding:11px 14px;margin-bottom:14px;border-radius:11px;cursor:pointer;
  background:var(--accent2,#2f8fff);border:1px solid var(--accent2,#2f8fff);
  color:#04121f;font-weight:700;font-size:14px;
}
.share-native-ico{font-size:16px;line-height:1}
.share-field{margin-bottom:13px}
.share-field label{
  display:block;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--muted,#8ea3b8);margin-bottom:6px;font-weight:700;
}
.share-row{display:flex;gap:8px;align-items:stretch}
.share-row-stack{flex-direction:column}
.share-input{
  flex:1;min-width:0;padding:10px 12px;border-radius:10px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.14);
  color:inherit;font-size:13px;font-family:inherit;
}
.share-code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:11.5px;line-height:1.5;resize:vertical;word-break:break-all;
}
.share-btn{
  flex:0 0 auto;padding:10px 14px;border-radius:10px;cursor:pointer;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);
  color:inherit;font-size:13px;font-weight:700;white-space:nowrap;
}
.share-btn:hover{border-color:var(--accent2,#4bb8ff);color:var(--accent2,#4bb8ff)}
.share-note{
  margin:2px 0 0;min-height:16px;font-size:12.5px;color:var(--accent2,#4bb8ff);
}
@media(max-width:520px){
  .share-sheet{padding:0;align-items:flex-end}
  .share-card{
    max-width:none;border-radius:18px 18px 0 0;
    padding:18px 16px calc(16px + env(safe-area-inset-bottom));
  }
  .share-row{flex-direction:column}
  .share-btn{width:100%}
}
