.offer-share-gallery{position:relative}.offer-share-trigger{position:absolute!important;top:12px;right:12px;z-index:4;display:flex;align-items:center;gap:7px;min-height:40px;padding:8px 12px;border:1px solid #707782;border-radius:12px;background:#25292fe8;color:#fff;font:600 14px/1.2 system-ui;box-shadow:0 2px 12px #0004;cursor:pointer}.offer-share-trigger svg,.offer-share-actions svg{width:23px;height:23px;flex-shrink:0}.offer-share-trigger:hover{border-color:#ed7b2b;background:#30353deF}.offer-share-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(560px,100%);max-height:90dvh;box-sizing:border-box;overflow:auto;padding:12px 22px max(20px,env(safe-area-inset-bottom));border:1px solid #555c67;border-bottom:0;border-radius:24px 24px 0 0;background:#24282f;color:#f5f6f7;box-shadow:0 -12px 60px #0006}.offer-share-sheet::backdrop{background:#0009}.offer-share-handle{width:40px;height:4px;margin:0 auto 14px;border-radius:8px;background:#9299a2}.offer-share-sheet header{position:sticky;top:-12px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 -4px 14px;background:#24282f}.offer-share-sheet h2{margin:8px 0;font:750 23px/1.25 system-ui;letter-spacing:normal;text-transform:none;color:#fff}.offer-share-sheet header button{min-width:44px;min-height:44px;background:transparent;color:#e4e7eb;border:0;font-size:26px}.offer-share-preview{display:flex;align-items:center;gap:12px;margin:0 0 18px}.offer-share-preview [data-share-photo]{display:block;width:72px;height:62px;flex-shrink:0;overflow:hidden;border-radius:10px;background-color:#343a43;background-position:center;background-size:cover}.offer-share-preview img{width:100%;height:100%;object-fit:cover}.offer-share-preview strong{display:block;font:700 16px/1.35 system-ui;overflow-wrap:anywhere}.offer-share-preview small{display:block;margin-top:4px;color:#c4cad3;font:14px/1.4 system-ui}.offer-share-actions{display:grid;gap:8px}.offer-share-actions button{display:flex;align-items:center;gap:13px;width:100%;min-height:58px;padding:12px 15px;border:1px solid #505864;border-radius:12px;background:#363c45;color:#fff;text-align:left;font:650 15px/1.4 system-ui;cursor:pointer}.offer-share-actions button:hover{border-color:#ed7b2b}.offer-share-actions b{margin-left:auto;font-size:24px}.offer-share-sheet .offer-share-cancel{display:block;width:100%;min-height:48px;margin-top:8px;border:0;background:transparent;color:#d4d9e1;font:500 16px/1.4 system-ui}.offer-share-sheet [role=status]{min-height:20px;color:#ffb17c;font:14px/1.4 system-ui}.offer-share-sheet input{box-sizing:border-box;width:100%;padding:12px;background:#1b1f25;border:1px solid #5d6673;border-radius:10px;color:#fff}.offer-share-sheet p{font:15px/1.5 system-ui}.offer-share-friend{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #454c56}.offer-share-friend strong{flex:1;overflow-wrap:anywhere;font:600 16px/1.4 system-ui}.offer-share-friend button{min-height:44px;padding:8px 14px;border-radius:10px;flex-shrink:0}.offer-share-sheet button:disabled{opacity:.6;cursor:default}.offer-shared-link{display:block;color:#ffb17c;overflow-wrap:anywhere;text-decoration:underline}.offer-share-friends .msg-avatar{width:40px;height:40px;flex-shrink:0}
/* Keep sharing anchored to the viewport bottom instead of the standard dialog top inset. */
html body dialog.offer-share-sheet{inset:auto 0 0!important;margin:0 auto!important;width:min(560px,100%);max-width:100%;max-height:90dvh;border-radius:24px 24px 0 0;padding:12px 22px max(20px,env(safe-area-inset-bottom));background:#24282f;color:#f5f6f7}

.offer-share-preview [data-share-photo][hidden] { display: none; }

.offer-share-gallery-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: flex;
  gap: 8px;
}
.offer-share-gallery-actions > .offer-share-trigger {
  position: static !important;
  min-height: 44px;
}
.offer-share-gallery-actions > .offer-gallery-save.saved {
  border-color: #ffb776;
  background: #633b24;
  color: #ffd3aa;
}
@media (max-width: 400px) {
  .offer-share-gallery-actions {top: 8px; right: 8px; gap: 6px}
  .offer-share-gallery-actions > .offer-share-trigger {padding-inline: 8px}
}

.offer-share-gallery-actions > .offer-gallery-save .merkliste-nut {width: 28px; height: 28px}
