:root{
  --bg:#f5f6f8;--card:#fff;--text:#15171b;--muted:#727781;
  --line:#e2e5ea;--dark:#111318;--blue:#168bf2;--radius:18px
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{padding-bottom:88px}
button,input{font:inherit}
.top{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.topin,.wrap,.navin{max-width:900px;margin:auto}
.topin{padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:900}
.brand img{width:42px;height:42px;border-radius:10px}
.install{border:0;background:var(--dark);color:#fff;border-radius:13px;padding:10px 14px;font-weight:800}
.install[hidden]{display:none}
.wrap{padding:18px 16px}
.hero{background:linear-gradient(135deg,#111318,#303641);color:#fff;border-radius:24px;padding:23px}
.hero h1{font-size:28px;line-height:1.08;margin:0 0 8px}
.hero p{margin:0 0 17px;color:#d9dde4}
.search{display:flex;background:#fff;border-radius:14px;padding:5px;gap:5px}
.search input{flex:1;border:0;outline:0;padding:12px;min-width:0}
.search button{border:0;background:#111318;color:#fff;border-radius:10px;padding:10px 15px;font-weight:800}
.section-head{display:flex;align-items:center;justify-content:space-between;margin:24px 2px 12px}
.section-head h2{margin:0;font-size:20px}
.section-head small{color:var(--muted)}
.categories{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.cat{border:1px solid var(--line);background:#fff;border-radius:17px;padding:15px 12px;text-align:left;font-weight:800;color:#168bf2}
.cat small{display:block;color:var(--muted);font-weight:500;margin-top:4px}
.subcats{display:none;margin-top:12px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px}
.subcats.open{display:block}
.subcat{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;background:#fff;padding:11px 6px;border-bottom:1px solid #eef0f3;text-align:left}
.subcat:last-child{border-bottom:0}
.subcat span:last-child{color:var(--muted)}
.items{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.item{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 2px 8px rgba(17,19,24,.03)}
.pic{height:170px;background:#e9ebef;display:grid;place-items:center;overflow:hidden;position:relative}
.pic img{width:100%;height:100%;object-fit:cover;display:block}
.placeholder{font-size:45px}
.ib{padding:12px}
.title{font-weight:850;margin:0 0 5px;line-height:1.25}
.meta{font-size:12px;color:var(--muted)}
.desc{font-size:13px;color:#555b64;margin-top:7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.notice{grid-column:1/-1;padding:15px;background:#fff;border:1px dashed #cdd2d9;border-radius:14px;color:var(--muted)}
.page{display:none}.page.active{display:block}
.panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px}
.nav{position:fixed;left:0;right:0;bottom:0;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-top:1px solid var(--line);z-index:40}
.navin{display:grid;grid-template-columns:repeat(5,1fr);padding:6px 6px max(6px,env(safe-area-inset-bottom))}
.nav button{border:0;background:transparent;color:#727781;padding:5px 2px;font-size:11px}
.nav span{display:block;font-size:20px}
.nav button.active{font-weight:900;color:#111318}
.age{position:fixed;inset:0;background:rgba(17,19,24,.8);backdrop-filter:blur(8px);z-index:999;display:grid;place-items:center;padding:20px}
.age.hide{display:none}
.agebox{max-width:520px;width:100%;background:#fff;border-radius:26px;padding:26px;text-align:center}
.agebox img{width:84px;height:84px;border-radius:18px}
.agebox h1{font-size:34px;line-height:1.08;margin:14px 0 8px}
.agebox p{color:var(--muted);font-size:16px;line-height:1.45}
.agebox .yes{width:100%;border:0;background:#111318;color:white;border-radius:13px;padding:12px;font-weight:800;margin:5px 0}
.agebox .no{width:100%;border:1px solid var(--line);background:#fff;color:var(--blue);border-radius:13px;padding:12px;font-weight:800}
@media(min-width:620px){.categories{grid-template-columns:repeat(4,1fr)}}
@media(max-width:390px){.items{grid-template-columns:1fr}}
.detail-back{border:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:9px 12px;font-weight:800;margin-bottom:12px}
.detail-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden}
.detail-media{background:#e9ebef;min-height:240px;display:grid;place-items:center;overflow:hidden}
.detail-media img{width:100%;max-height:520px;object-fit:contain;background:#111}
.detail-body{padding:18px}
.detail-body h1{font-size:26px;line-height:1.15;margin:0 0 8px}
.detail-meta{color:var(--muted);font-size:14px;margin-bottom:16px}
.detail-desc{white-space:pre-wrap;line-height:1.55;color:#3f444b}
.detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.action-btn{border:0;border-radius:13px;padding:11px 14px;font-weight:800}
.action-primary{background:#111318;color:#fff}
.action-secondary{background:#eef1f5;color:#111318}
.fav-btn.active{background:#ffe9ee;color:#b8002a}
.gallery{display:flex;gap:8px;overflow:auto;padding:10px;background:#fff;border-top:1px solid var(--line)}
.gallery img{width:76px;height:62px;object-fit:cover;border-radius:9px;border:2px solid transparent}
.gallery img.active{border-color:#111318}
.empty-state{background:#fff;border:1px dashed #cfd3d8;border-radius:16px;padding:20px;color:var(--muted)}

.loadmore-wrap{display:flex;justify-content:center;margin:18px 0 6px}
.loadmore{border:1px solid var(--line);background:#fff;color:#111318;border-radius:14px;padding:11px 18px;font-weight:850}
.loadmore[hidden]{display:none}
.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}
.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 12px;font-weight:700;font-size:13px}
.chip.active{background:#111318;color:#fff;border-color:#111318}
.detail-actions .action-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.external-note{font-size:12px;color:var(--muted);margin-top:10px}
.nav button.external{color:#444}
.search-clear{border:0;background:#eef1f5;color:#444;border-radius:10px;padding:0 11px;font-weight:800}
.toast{position:fixed;left:50%;bottom:100px;transform:translateX(-50%);background:#111318;color:#fff;padding:10px 14px;border-radius:12px;z-index:1000;opacity:0;pointer-events:none;transition:.2s}
.toast.show{opacity:1}

.portal-hero{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;margin-bottom:14px}
.portal-hero h2{font-size:24px;margin:0 0 8px}
.portal-hero p{color:var(--muted);line-height:1.5;margin:0}
.portal-grid{display:grid;grid-template-columns:1fr;gap:12px}
.portal-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}
.portal-card h3{margin:0 0 6px;font-size:18px}
.portal-card p{margin:0 0 14px;color:var(--muted);line-height:1.45}
.portal-card .portal-actions{display:flex;gap:8px;flex-wrap:wrap}
.portal-btn{border:0;border-radius:12px;padding:10px 13px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.portal-primary{background:#111318;color:#fff}
.portal-secondary{background:#eef1f5;color:#111318}
.portal-note{margin-top:12px;font-size:12px;color:var(--muted)}
.nav button.active-external{font-weight:900;color:#111318}
@media(min-width:650px){.portal-grid{grid-template-columns:repeat(2,1fr)}}

.auth-card,.publish-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px}
.form-grid{display:grid;grid-template-columns:1fr;gap:14px}
.form-row label{display:block;font-weight:800;margin:0 0 6px}
.form-row input,.form-row select,.form-row textarea{width:100%;border:1px solid #d9dde3;background:#fff;border-radius:12px;padding:12px;outline:none}
.form-row textarea{min-height:150px;resize:vertical}
.form-row input:focus,.form-row select:focus,.form-row textarea:focus{border-color:#111318;box-shadow:0 0 0 2px rgba(17,19,24,.08)}
.form-help{font-size:12px;color:var(--muted);margin-top:5px}
.form-error{background:#fff1f2;color:#9b1c31;border:1px solid #fecdd3;border-radius:12px;padding:11px;margin-bottom:12px;display:none}
.form-ok{background:#ecfdf3;color:#126b39;border:1px solid #bbf7d0;border-radius:12px;padding:11px;margin-bottom:12px;display:none}
.auth-actions,.publish-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}
.app-primary{border:0;background:#111318;color:#fff;border-radius:12px;padding:11px 15px;font-weight:850}
.app-secondary{border:0;background:#eef1f5;color:#111318;border-radius:12px;padding:11px 15px;font-weight:800}
.app-danger{border:0;background:#fff0f1;color:#a8162c;border-radius:12px;padding:11px 15px;font-weight:800}
.contact-options{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.contact-option{display:flex;gap:7px;align-items:center;border:1px solid var(--line);padding:10px;border-radius:11px;background:#fff}
.contact-option input{width:auto}
.location-results{display:none;background:#fff;border:1px solid var(--line);border-radius:12px;margin-top:5px;overflow:hidden;max-height:240px;overflow-y:auto}
.location-results.open{display:block}
.location-result{width:100%;border:0;border-bottom:1px solid #eef0f3;background:#fff;text-align:left;padding:10px}
.location-result:last-child{border-bottom:0}
.location-result strong{display:block}
.location-result small{color:var(--muted)}
.user-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;margin-bottom:14px}
.upload-box{border:2px dashed #cfd5dc;border-radius:14px;padding:16px;text-align:center;background:#fafbfc}
.upload-box input{width:100%}
.consent{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.4}
.consent input{margin-top:3px}
.publish-loading{opacity:.6;pointer-events:none}
@media(min-width:650px){.form-grid.two{grid-template-columns:1fr 1fr}.contact-options{grid-template-columns:repeat(5,1fr)}}

.publish-summary{margin-top:16px;background:#f7f8fa;border:1px solid var(--line);border-radius:14px;padding:12px;font-size:13px;color:#4b5159}
.publish-summary strong{display:block;color:#111318;margin-bottom:4px}
.photo-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.photo-preview img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;border:1px solid var(--line)}
.form-step-title{font-size:15px;font-weight:900;margin:4px 0 2px;color:#111318}
.publish-card .form-row{scroll-margin-top:90px}

.publish-result-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:22px;text-align:center}
.publish-status-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;font-size:30px;font-weight:900;background:#ecfdf3;color:#147a43}
.publish-result-card.review .publish-status-icon{background:#fff7e6;color:#a35b00}
.publish-status-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:850;background:#ecfdf3;color:#147a43;margin-bottom:10px}
.publish-result-card.review .publish-status-badge{background:#fff7e6;color:#a35b00}
.publish-result-card h2{font-size:25px;line-height:1.15;margin:4px 0 8px}
.publish-result-card>p{color:var(--muted);margin:0 auto 18px;max-width:620px;line-height:1.5}
.publish-created-preview{display:grid;grid-template-columns:150px 1fr;text-align:left;border:1px solid var(--line);border-radius:18px;overflow:hidden;margin:18px auto;max-width:720px;background:#fff}
.publish-created-media{min-height:150px;background:#e9ebef;display:grid;place-items:center;overflow:hidden}
.publish-created-media img{width:100%;height:100%;min-height:150px;object-fit:cover}
.publish-created-body{padding:16px}
.publish-created-id{font-size:12px;color:var(--muted);margin-bottom:5px}
.publish-created-body h3{margin:0 0 6px;font-size:20px}
.publish-created-location{font-size:13px;color:var(--muted);margin-bottom:8px}
.publish-created-desc{font-size:14px;color:#434850;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.publish-result-actions{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin-top:14px}
.publish-link-btn{text-decoration:none}
.publish-result-note{font-size:12px;color:var(--muted);margin-top:13px}
@media(max-width:560px){
  .publish-created-preview{grid-template-columns:1fr}
  .publish-created-media{min-height:220px}
}

.publish-result-card.spam .publish-status-icon{background:#fff0f1;color:#a8162c}
.publish-result-card.spam .publish-status-badge{background:#fff0f1;color:#a8162c}
.publish-result-card.disabled .publish-status-icon{background:#f1f3f5;color:#555}
.publish-result-card.disabled .publish-status-badge{background:#f1f3f5;color:#555}
.publish-status-refresh{margin-top:8px;font-size:12px;color:var(--muted)}

/* TGMarkt V7.5 native listing detail */
.detail-card-v75{max-width:820px;margin:0 auto}
.detail-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.detail-back-btn{border:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:9px 12px;font-weight:800}
.detail-id{font-size:12px;color:var(--muted)}
.detail-main-media{background:#e8ebef;border-radius:20px;overflow:hidden;min-height:300px;display:grid;place-items:center}
.detail-main-media img{width:100%;height:auto;max-height:620px;object-fit:contain;display:block}
.detail-main-media .placeholder{font-size:54px}
.detail-thumbs{display:flex;gap:8px;overflow-x:auto;padding:9px 1px 2px}
.detail-thumb{width:72px;height:72px;flex:0 0 72px;border-radius:11px;overflow:hidden;border:2px solid transparent;background:#eef0f3;padding:0}
.detail-thumb.active{border-color:#111318}
.detail-thumb img{width:100%;height:100%;object-fit:cover}
.detail-info{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;margin-top:12px}
.detail-kicker{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:8px}
.detail-pill{display:inline-flex;padding:6px 9px;border-radius:999px;background:#f0f2f5;font-size:12px;font-weight:800;color:#444b55}
.detail-info h1{font-size:28px;line-height:1.12;margin:3px 0 8px}
.detail-location{font-size:14px;color:var(--muted);margin-bottom:4px}
.detail-published{font-size:12px;color:var(--muted)}
.detail-section{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.detail-section h3{font-size:17px;margin:0 0 8px}
.detail-description{white-space:pre-wrap;line-height:1.6;color:#363b43}
.seller-card{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;background:#f8f9fb;border:1px solid var(--line);border-radius:15px;padding:14px}
.seller-name{font-weight:900;font-size:16px}
.seller-sub{font-size:12px;color:var(--muted);margin-top:3px}
.contact-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.contact-btn{border:0;border-radius:12px;padding:10px 13px;font-weight:850;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.contact-primary{background:#111318;color:#fff}
.contact-secondary{background:#eef1f5;color:#111318}
.detail-bottom-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.detail-bottom-actions button,.detail-bottom-actions a{flex:1 1 150px}
@media(max-width:560px){
  .detail-main-media{min-height:230px;border-radius:16px}
  .detail-info{padding:16px}
  .detail-info h1{font-size:23px}
  .seller-card{display:block}
}

/* TGMarkt V7.5.1 detail cleanup */
.detail-main-media.no-image{
  min-height:140px;
  max-height:180px;
  border:1px solid var(--line);
}
.detail-main-media.no-image .placeholder{
  font-size:40px;
}
.detail-topbar{
  margin-top:0;
}

/* TGMarkt V7.6 - mobile-style detail header */
.detail-card-v76{max-width:820px;margin:0 auto}
.detail-actions-top{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin:0 0 10px}
.detail-mini-action{border:1px solid var(--line);background:#fff;color:#111318;border-radius:11px;padding:8px 11px;font-weight:800;display:inline-flex;align-items:center;gap:6px}
.detail-mini-action.active{background:#fff0f1;color:#b0182c;border-color:#ffd6dc}
.detail-media-wrap{position:relative}
.detail-image-count{position:absolute;right:12px;bottom:12px;background:rgba(255,255,255,.95);border:1px solid rgba(0,0,0,.08);border-radius:10px;padding:7px 9px;font-size:12px;font-weight:850;box-shadow:0 3px 14px rgba(0,0,0,.08)}
.detail-summary-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;margin-top:12px}
.detail-summary-card h1{font-size:28px;line-height:1.12;margin:6px 0 10px}
.detail-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:15px}
.detail-meta-box{background:#f7f8fa;border:1px solid var(--line);border-radius:13px;padding:11px}
.detail-meta-label{font-size:11px;color:var(--muted);margin-bottom:4px}
.detail-meta-value{font-size:14px;font-weight:850;color:#20242a;line-height:1.3}
.detail-meta-value small{font-weight:600;color:var(--muted)}
.detail-route-note{font-size:11px;margin-top:4px;color:#ef3340}
.detail-v76-description{margin-top:14px;padding-top:15px;border-top:1px solid var(--line)}
.detail-report-sheet{display:none;margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:13px;background:#fafbfc}
.detail-report-sheet.open{display:block}
.detail-report-sheet strong{display:block;margin-bottom:5px}
.detail-report-sheet p{font-size:12px;color:var(--muted);margin:0 0 10px;line-height:1.45}
@media(max-width:560px){
  .detail-meta-grid{grid-template-columns:1fr 1fr}
  .detail-summary-card h1{font-size:24px}
  .detail-actions-top{justify-content:flex-start}
}

/* =========================================================
   TGMarkt V7.7 - modernisierte Startseite / mobile Karten
   ========================================================= */

:root{
  --app-card-radius:18px;
  --app-shadow:0 8px 28px rgba(17,19,24,.055);
}

.home-quick-nav{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:2px 0 12px;
  scrollbar-width:none;
}
.home-quick-nav::-webkit-scrollbar{display:none}
.quick-chip{
  flex:0 0 auto;
  border:1px solid var(--line);
  background:#fff;
  color:#252a31;
  border-radius:999px;
  padding:9px 14px;
  font-size:13px;
  font-weight:850;
  white-space:nowrap;
}
.quick-chip.active{
  background:#111318;
  color:#fff;
  border-color:#111318;
}

/* category rail */
#categoryGrid{
  display:flex!important;
  gap:10px!important;
  overflow-x:auto!important;
  scroll-snap-type:x proximity;
  padding:2px 1px 8px!important;
  scrollbar-width:none;
}
#categoryGrid::-webkit-scrollbar{display:none}
#categoryGrid .category-card{
  flex:0 0 155px!important;
  min-height:82px!important;
  scroll-snap-align:start;
  border-radius:16px!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding:13px!important;
}
#categoryGrid .category-card strong,
#categoryGrid .category-card .category-title{
  font-size:14px!important;
  line-height:1.15!important;
}
#categoryGrid .category-card small{
  margin-top:4px;
  font-size:11px!important;
}

/* listing grid */
#itemsGrid{
  gap:12px!important;
}
.item-card{
  border-radius:var(--app-card-radius)!important;
  box-shadow:var(--app-shadow)!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid var(--line)!important;
}
.item-card .item-image,
.item-card .card-image{
  position:relative;
  aspect-ratio:4/3;
  min-height:0!important;
  background:#e9ebef!important;
  overflow:hidden;
}
.item-card .item-image img,
.item-card .card-image img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block;
}
.card-image-count{
  position:absolute;
  right:8px;
  bottom:8px;
  background:rgba(255,255,255,.94);
  color:#20242a;
  border-radius:9px;
  padding:5px 7px;
  font-size:10px;
  font-weight:850;
  border:1px solid rgba(0,0,0,.06);
}
.card-status-pill{
  position:absolute;
  left:8px;
  top:8px;
  border-radius:999px;
  padding:5px 7px;
  background:rgba(17,19,24,.88);
  color:#fff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.03em;
}
.item-card .item-body,
.item-card .card-body{
  padding:12px!important;
}
.item-card h3,
.item-card .item-title,
.item-card .card-title{
  font-size:16px!important;
  line-height:1.18!important;
  margin:0 0 7px!important;
}
.card-location{
  display:flex;
  align-items:center;
  gap:5px;
  font-size:12px;
  color:var(--muted);
  margin-bottom:5px;
}
.card-date{
  font-size:11px;
  color:#8a9099;
}
.card-desc{
  margin-top:7px;
  font-size:12px;
  color:#505660;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  line-height:1.4;
}
.card-footer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:10px;
}
.card-category{
  font-size:10px;
  font-weight:800;
  background:#f1f3f6;
  color:#464d56;
  border-radius:999px;
  padding:5px 8px;
  max-width:75%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.item-card .fav-btn,
.item-card .favorite-btn{
  width:38px!important;
  height:38px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  flex:0 0 38px!important;
}

/* skeletons */
.tg-skeleton-card{
  border-radius:var(--app-card-radius);
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
}
.tg-skeleton-media,
.tg-skeleton-line{
  position:relative;
  overflow:hidden;
  background:#eceef2;
}
.tg-skeleton-media{aspect-ratio:4/3}
.tg-skeleton-body{padding:12px}
.tg-skeleton-line{
  height:12px;
  border-radius:7px;
  margin-bottom:9px;
}
.tg-skeleton-line.w70{width:70%}
.tg-skeleton-line.w45{width:45%}
.tg-skeleton-line.w90{width:90%}
.tg-skeleton-media::after,
.tg-skeleton-line::after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.8),transparent);
  animation:tgSkeleton 1.25s infinite;
}
@keyframes tgSkeleton{
  to{transform:translateX(100%)}
}

/* better section header */
.home-section-head,
.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.home-section-head h2,
.section-head h2{
  margin:0;
}
.section-count{
  font-size:12px;
  color:var(--muted);
}

/* desktop polish */
@media(min-width:900px){
  #itemsGrid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

/* phones */
@media(max-width:560px){
  #categoryGrid .category-card{
    flex-basis:135px!important;
  }
  #itemsGrid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .item-card .item-body,
  .item-card .card-body{
    padding:10px!important;
  }
  .item-card h3,
  .item-card .item-title,
  .item-card .card-title{
    font-size:14px!important;
  }
  .card-desc{
    display:none;
  }
  .card-category{
    font-size:9px;
  }
}

/* =========================================================
   TGMarkt V7.8 - tatsächliche Startseiten-Selektoren
   ========================================================= */
.home-quick-nav{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:2px 0 16px;
  scrollbar-width:none;
}
.home-quick-nav::-webkit-scrollbar{display:none}
.quick-chip{
  flex:0 0 auto;
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:9px 14px;
  font-weight:850;
  font-size:13px;
  color:#20242a;
}
.quick-chip.active{background:#111318;color:#fff;border-color:#111318}

/* ACTUAL category element is #cats .cat */
#cats{
  display:flex!important;
  gap:10px!important;
  overflow-x:auto!important;
  padding:2px 1px 10px!important;
  scrollbar-width:none;
  scroll-snap-type:x proximity;
}
#cats::-webkit-scrollbar{display:none}
#cats .cat{
  flex:0 0 155px!important;
  min-height:86px!important;
  text-align:left!important;
  padding:14px!important;
  border-radius:16px!important;
  scroll-snap-align:start;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
}
#cats .cat small{margin-top:5px;font-size:10px!important}

/* ACTUAL listing element is #items .item */
#items{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
#items .item,
#favItems .item,
.v78-mini-item{
  overflow:hidden;
  border-radius:18px!important;
  background:#fff!important;
  border:1px solid var(--line)!important;
  box-shadow:0 8px 26px rgba(17,19,24,.055);
}
#items .item .pic,
#favItems .item .pic{
  aspect-ratio:4/3!important;
  min-height:0!important;
  position:relative!important;
  background:#e9ebef!important;
}
#items .item .pic img,
#favItems .item .pic img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
#items .item .ib,
#favItems .item .ib{
  padding:11px!important;
}
#items .item .title,
#favItems .item .title{
  font-size:15px!important;
  line-height:1.2!important;
  margin-bottom:5px!important;
}
#items .item .meta,
#favItems .item .meta{
  font-size:11px!important;
  color:var(--muted)!important;
}
#items .item .desc,
#favItems .item .desc{
  font-size:11px!important;
  line-height:1.35!important;
  margin-top:6px!important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.v78-card-badges{
  position:absolute;
  inset:8px 8px auto 8px;
  z-index:2;
  display:flex;
  justify-content:flex-end;
  gap:5px;
  pointer-events:none;
}
.v78-image-count{
  background:rgba(255,255,255,.94);
  border-radius:8px;
  padding:4px 6px;
  font-size:9px;
  font-weight:850;
}
.v78-card-extra{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  margin-top:8px;
}
.v78-category{
  min-width:0;
  max-width:70%;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  padding:4px 7px;
  border-radius:999px;
  background:#f1f3f5;
  font-size:9px;
  font-weight:800;
  color:#59606a;
}
.v78-date{font-size:9px;color:#9298a1}

/* favorites grid also app-like */
#favItems{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

/* Detail enhancements */
.detail-gallery-dots{
  display:flex;
  justify-content:center;
  gap:5px;
  margin-top:8px;
}
.detail-gallery-dot{
  width:7px;height:7px;border-radius:50%;
  background:#ccd1d8;
}
.detail-gallery-dot.active{background:#111318}
.v78-more-section{margin-top:18px;padding-top:17px;border-top:1px solid var(--line)}
.v78-more-section h3{margin:0 0 10px;font-size:17px}
.v78-mini-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.v78-mini-item{cursor:pointer}
.v78-mini-pic{
  aspect-ratio:4/3;background:#e9ebef;display:grid;place-items:center;overflow:hidden
}
.v78-mini-pic img{width:100%;height:100%;object-fit:cover}
.v78-mini-body{padding:9px}
.v78-mini-title{font-weight:850;font-size:12px;line-height:1.25}
.v78-mini-meta{font-size:9px;color:var(--muted);margin-top:4px}

/* Modal */
.app-modal{
  position:fixed;inset:0;z-index:9999;
  display:none;align-items:flex-end;justify-content:center
}
.app-modal.open{display:flex}
.app-modal-backdrop{position:absolute;inset:0;background:rgba(12,15,20,.55)}
.app-modal-sheet{
  position:relative;width:min(620px,100%);
  background:#fff;border-radius:22px 22px 0 0;
  padding:13px 18px calc(20px + env(safe-area-inset-bottom));
  box-shadow:0 -12px 45px rgba(0,0,0,.18)
}
.app-modal-handle{width:44px;height:4px;border-radius:999px;background:#d6d9de;margin:0 auto 10px}
.app-modal-head{display:flex;align-items:center;justify-content:space-between}
.app-modal-head h3{margin:0;font-size:20px}
.modal-close{border:0;background:#eef0f3;border-radius:50%;width:36px;height:36px;font-size:22px}
.modal-help{font-size:12px;color:var(--muted);line-height:1.45}
.report-options{display:grid;gap:8px;margin:14px 0}
.report-options label{
  display:flex;gap:9px;align-items:center;
  padding:12px;border:1px solid var(--line);border-radius:12px;font-weight:700
}
.modal-primary{width:100%}

/* Skeletons on actual grid */
#items .tg-skeleton-card{min-width:0}

/* desktop */
@media(min-width:900px){
  #items{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  #favItems{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:560px){
  #cats .cat{flex-basis:138px!important}
  #items,#favItems{gap:9px!important}
  #items .item .desc,#favItems .item .desc{display:none}
}

/* TGMarkt V7.9 */
.detail-media-wrap{position:relative}
.detail-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#111318;box-shadow:0 5px 18px rgba(0,0,0,.16);display:grid;place-items:center;font-size:28px;font-weight:700}
.detail-gallery-arrow.prev{left:12px}.detail-gallery-arrow.next{right:12px}

.gallery-modal{position:fixed;inset:0;z-index:12000;display:none;align-items:center;justify-content:center}
.gallery-modal.open{display:flex}
.gallery-modal-bg{position:absolute;inset:0;background:rgba(5,7,11,.94)}
.gallery-modal-stage{position:relative;z-index:2;width:min(1000px,calc(100% - 110px));height:min(82vh,850px);display:flex;align-items:center;justify-content:center}
.gallery-modal-stage img{max-width:100%;max-height:100%;object-fit:contain;border-radius:10px}
.gallery-modal-count{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);background:rgba(0,0,0,.68);color:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}
.gallery-modal-close{position:absolute;z-index:4;right:18px;top:18px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.94);font-size:28px}
.gallery-modal-nav{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:50px;height:50px;border:0;border-radius:50%;background:rgba(255,255,255,.94);font-size:34px}
.gallery-modal-nav.gallery-prev{left:20px}.gallery-modal-nav.gallery-next{right:20px}

.seller-page-shell{max-width:820px;margin:0 auto}
.seller-page-top{margin-bottom:10px}
.seller-profile-hero{display:flex;align-items:center;gap:15px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:20px}
.seller-avatar{width:74px;height:74px;flex:0 0 74px;border-radius:50%;display:grid;place-items:center;background:#111318;color:#fff;font-weight:950;font-size:22px}
.seller-profile-copy h2{margin:3px 0 4px;font-size:25px}
.seller-profile-copy p{margin:0;color:var(--muted);font-size:13px}
.seller-eyebrow{font-size:11px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.seller-profile-actions{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0 20px}
.seller-list-head{margin-top:8px}
.seller-items-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.seller-profile-link{margin-top:9px;border:0;background:transparent;padding:0;color:#1682e8;font-size:12px;font-weight:850;text-align:left}

.message-context{position:relative;background:#fff;border:1px solid var(--line);border-radius:15px;padding:12px 48px 12px 14px;margin:0 0 12px}
.message-context-label{display:block;font-size:10px;color:var(--muted);text-transform:uppercase;font-weight:800}
.message-context strong{display:block;margin:3px 0;font-size:15px}
.message-context>span:last-of-type{font-size:12px;color:var(--muted)}
.message-context-clear{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:0;border-radius:50%;background:#eef1f4;font-size:20px}
.seller-card-main{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.seller-card-main .seller-name-wrap{min-width:0}

/* report modal - missing from actual V7.8 HTML, now fixed */
.app-modal{position:fixed;inset:0;z-index:11900;display:none;align-items:flex-end;justify-content:center}
.app-modal.open{display:flex}
.app-modal-backdrop{position:absolute;inset:0;background:rgba(12,15,20,.55)}
.app-modal-sheet{position:relative;width:min(620px,100%);background:#fff;border-radius:22px 22px 0 0;padding:13px 18px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -12px 45px rgba(0,0,0,.18)}
.app-modal-handle{width:44px;height:4px;border-radius:999px;background:#d6d9de;margin:0 auto 10px}
.app-modal-head{display:flex;align-items:center;justify-content:space-between}
.app-modal-head h3{margin:0;font-size:20px}
.modal-close{border:0;background:#eef0f3;border-radius:50%;width:36px;height:36px;font-size:22px}
.modal-help{font-size:12px;color:var(--muted);line-height:1.45}
.report-options{display:grid;gap:8px;margin:14px 0}
.report-options label{display:flex;gap:9px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:12px;font-weight:700}
.modal-primary{width:100%}

@media(max-width:560px){
  .detail-gallery-arrow{width:36px;height:36px;font-size:24px}
  .detail-gallery-arrow.prev{left:8px}.detail-gallery-arrow.next{right:8px}
  .gallery-modal-stage{width:100%;height:78vh}
  .gallery-modal-nav{width:42px;height:42px;font-size:28px}
  .gallery-modal-nav.gallery-prev{left:8px}.gallery-modal-nav.gallery-next{right:8px}
  .seller-profile-hero{padding:15px}
  .seller-avatar{width:62px;height:62px;flex-basis:62px}
  .seller-profile-copy h2{font-size:21px}
  .seller-items-grid{gap:8px}
}

/* TGMarkt V8.0 - details, attributes and seller/contact */
.v80-details-section{margin-top:18px;padding-top:17px;border-top:1px solid var(--line)}
.v80-details-section h3{margin:0 0 10px;font-size:17px}
.v80-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.v80-detail-row{background:#f7f8fa;border:1px solid var(--line);border-radius:12px;padding:10px 11px;min-width:0}
.v80-detail-label{display:block;font-size:10px;color:var(--muted);margin-bottom:3px}
.v80-detail-value{display:block;font-size:13px;font-weight:800;line-height:1.35;word-break:break-word}
.v80-attributes{margin-top:10px}
.v80-attributes-empty{font-size:12px;color:var(--muted);padding:10px 0 2px}

.v80-seller-summary{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;width:100%}
.v80-seller-avatar{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:#111318;color:#fff;font-weight:900}
.v80-seller-stats{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.v80-seller-stat{font-size:10px;background:#eef1f5;border-radius:999px;padding:5px 7px;color:#4f5660;font-weight:750}

.v80-contact-panel{margin-top:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.v80-contact-panel .contact-btn{width:100%;min-height:44px}
.v80-contact-note{margin-top:8px;font-size:11px;color:var(--muted);line-height:1.45}

.v80-sticky-contact{position:sticky;bottom:76px;z-index:20;display:none;gap:8px;padding:9px;margin:14px -4px 0;border:1px solid var(--line);background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-radius:15px;box-shadow:0 8px 28px rgba(0,0,0,.1)}
.v80-sticky-contact .contact-btn{flex:1}

@media(max-width:560px){
  .v80-detail-list{grid-template-columns:1fr 1fr}
  .v80-contact-panel{grid-template-columns:1fr}
  .v80-sticky-contact{display:flex}
  .v80-seller-summary{grid-template-columns:auto 1fr}
  .v80-seller-summary>button{grid-column:1/-1;width:100%}
}

/* TGMarkt V8.1 - attributes only */
.v81-attributes-section{
  margin-top:18px;
  padding-top:17px;
  border-top:1px solid var(--line);
}
.v81-attributes-section h3{
  margin:0 0 12px;
  font-size:17px;
}
.v81-attribute-group{
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  margin-bottom:10px;
  background:#fff;
}
.v81-attribute-group-title{
  padding:10px 12px;
  background:#f5f6f8;
  border-bottom:1px solid var(--line);
  font-weight:900;
  font-size:13px;
}
.v81-attribute-row{
  display:grid;
  grid-template-columns:minmax(120px,.4fr) 1fr;
  gap:12px;
  padding:11px 12px;
  border-bottom:1px solid var(--line);
}
.v81-attribute-row:last-child{border-bottom:0}
.v81-attribute-label{
  font-size:12px;
  font-weight:850;
}
.v81-attribute-values{
  display:flex;
  gap:7px 12px;
  flex-wrap:wrap;
}
.v81-attribute-value{
  display:inline-flex;
  gap:5px;
  align-items:center;
  font-size:12px;
  color:#343a42;
}
.v81-attribute-value::before{
  content:"✓";
  color:#0b9b70;
  font-weight:950;
}
.v81-attribute-empty{
  font-size:12px;
  color:var(--muted);
  padding:2px 0 4px;
}
@media(max-width:560px){
  .v81-attribute-row{
    grid-template-columns:1fr;
    gap:7px;
  }
}

/* TGMarkt V8.4 attribute polish */
.v81-attribute-group + .v81-attribute-group{margin-top:10px}
.v81-attribute-values{align-items:flex-start}
.v81-attribute-value{
  background:#f7f8fa;
  border:1px solid var(--line);
  border-radius:999px;
  padding:5px 8px;
}
.v81-attribute-value::before{
  margin-right:1px;
}

/* TGMarkt V8.6 - collapsible ad details */
.v86-details-toggle-wrap{
  margin-top:14px;
}
.v86-details-toggle{
  width:100%;
  border:1px solid var(--line);
  background:#f7f8fa;
  color:#171b21;
  border-radius:13px;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  font-size:14px;
  font-weight:900;
  text-align:left;
}
.v86-details-toggle[aria-expanded="true"]{
  border-radius:13px 13px 0 0;
  background:#f2f4f7;
}
.v86-toggle-symbol{
  width:22px;
  height:22px;
  flex:0 0 22px;
  border-radius:50%;
  background:#111318;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:17px;
  line-height:1;
  font-weight:800;
}
.v86-details-panel{
  border:1px solid var(--line);
  border-top:0;
  border-radius:0 0 13px 13px;
  padding:10px;
  background:#fff;
}
.v86-details-panel[hidden]{
  display:none!important;
}
.v86-details-panel .detail-meta-grid{
  margin-top:0;
}
@media(max-width:560px){
  .v86-details-toggle{
    padding:11px 12px;
    font-size:13px;
  }
}

/* TGMarkt V8.7 - previous/next ad navigation */
.v87-detail-topright{display:flex;flex-direction:column;align-items:flex-end;gap:7px}
.v87-ad-nav{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.v87-ad-nav-btn{border:1px solid var(--line);background:#fff;color:#171b21;border-radius:11px;padding:8px 11px;font-size:12px;font-weight:850}
.v87-ad-nav-btn:disabled{opacity:.35}
@media(max-width:560px){
  .detail-topbar{align-items:flex-start}
  .v87-detail-topright{gap:8px}
  .v87-ad-nav{max-width:260px}
  .v87-ad-nav-btn{padding:8px 10px;font-size:11px}
}

/* TGMarkt V8.8 - cleaner detail top + sticky listing header */
.v88-detail-navline{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.v88-detail-center{
  min-width:0;
  text-align:center;
}
.v88-detail-center .detail-id{
  display:inline-block;
  font-size:12px;
  color:var(--muted);
  white-space:nowrap;
}
.v88-ad-nav{
  display:flex;
  justify-content:flex-end;
  gap:7px;
  min-width:0;
}
.v88-ad-nav-btn{
  border:1px solid var(--line);
  background:#fff;
  color:#171b21;
  border-radius:11px;
  padding:8px 11px;
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}
.v88-actions-top{
  margin-top:0!important;
  margin-bottom:10px!important;
}

.v88-sticky-ad-header{
  position:fixed;
  top:0;
  left:50%;
  transform:translate(-50%,-120%);
  z-index:9500;
  width:min(820px,100%);
  display:flex;
  align-items:center;
  gap:11px;
  padding:8px 14px;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--line);
  box-shadow:0 7px 22px rgba(17,19,24,.10);
  backdrop-filter:blur(14px);
  opacity:0;
  pointer-events:none;
  transition:transform .18s ease,opacity .18s ease;
}
.v88-sticky-ad-header.show{
  transform:translate(-50%,0);
  opacity:1;
  pointer-events:auto;
}
.v88-sticky-thumb{
  width:54px;
  height:54px;
  flex:0 0 54px;
  border-radius:10px;
  overflow:hidden;
  background:#e9ebef;
  display:grid;
  place-items:center;
}
.v88-sticky-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.v88-sticky-copy{
  min-width:0;
  flex:1;
}
.v88-sticky-title{
  font-size:15px;
  font-weight:900;
  color:#171b21;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.v88-sticky-meta{
  margin-top:3px;
  font-size:11px;
  color:var(--muted);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

@media(max-width:560px){
  .v88-detail-navline{
    grid-template-columns:auto 1fr;
    gap:8px;
  }
  .v88-detail-center{
    text-align:right;
  }
  .v88-ad-nav{
    grid-column:1/-1;
    justify-content:flex-end;
    margin-top:-2px;
  }
  .v88-ad-nav-btn{
    font-size:11px;
    padding:8px 10px;
  }
  .v88-actions-top{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px!important;
  }
  .v88-actions-top .detail-mini-action{
    width:100%;
    justify-content:center;
    padding:9px 7px;
    white-space:nowrap;
  }
  .v88-sticky-ad-header{
    width:100%;
    padding:8px 12px;
    padding-top:calc(8px + env(safe-area-inset-top));
  }
  .v88-sticky-thumb{
    width:50px;
    height:50px;
    flex-basis:50px;
  }
}

/* =========================================================
   TGMarkt V8.9 - compact actions + smaller details + swipe UX
   ========================================================= */

/* Kopfbuttons vereinheitlichen und deutlich kompakter machen */
.v88-detail-navline .detail-back-btn,
.v88-ad-nav-btn,
.v88-actions-top .detail-mini-action{
  min-height:34px!important;
  height:34px!important;
  padding:6px 10px!important;
  border-radius:10px!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:850!important;
  width:auto!important;
  min-width:0!important;
}

.v88-detail-navline .detail-back-btn{
  color:#1682e8;
  background:#fff;
}

.v88-actions-top{
  display:flex!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
}

.v88-actions-top .detail-mini-action{
  flex:0 0 auto!important;
}

/* Anzeigendetails nicht mehr wie großer Button, sondern wie Abschnittsüberschrift */
.v86-details-toggle-wrap{
  margin-top:16px!important;
  margin-bottom:2px!important;
}

.v86-details-toggle{
  width:auto!important;
  border:0!important;
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
  min-height:0!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  font-size:17px!important;
  line-height:1.25!important;
  font-weight:900!important;
  box-shadow:none!important;
}

.v86-details-toggle[aria-expanded="true"]{
  background:transparent!important;
  border-radius:0!important;
}

.v86-toggle-symbol{
  width:21px!important;
  height:21px!important;
  flex:0 0 21px!important;
  font-size:15px!important;
  border-radius:50%!important;
}

.v86-details-panel{
  margin-top:10px!important;
  border:1px solid var(--line)!important;
  border-radius:13px!important;
  padding:10px!important;
}

/* Swipe feedback */
.detail-main-media{
  touch-action:pan-y!important;
  will-change:transform;
}
.detail-main-media.is-dragging{
  cursor:grabbing;
}

@media(max-width:560px){
  .v88-detail-navline{
    row-gap:7px!important;
  }

  .v88-ad-nav{
    gap:6px!important;
  }

  .v88-actions-top{
    display:flex!important;
    grid-template-columns:none!important;
    gap:6px!important;
    margin-top:0!important;
    margin-bottom:9px!important;
  }

  .v88-actions-top .detail-mini-action{
    flex:0 0 auto!important;
    width:auto!important;
    padding:6px 9px!important;
    font-size:11px!important;
    min-height:32px!important;
    height:32px!important;
  }

  .v88-detail-navline .detail-back-btn,
  .v88-ad-nav-btn{
    min-height:32px!important;
    height:32px!important;
    padding:6px 9px!important;
    font-size:11px!important;
  }

  .v86-details-toggle{
    font-size:16px!important;
  }
}

/* TGMarkt V9.0 - Mein TGMarkt */
.profile-v90-shell{max-width:760px;margin:0 auto}
.profile-v90-head{margin-bottom:14px}
.profile-v90-eyebrow{display:block;font-size:11px;color:var(--muted);font-weight:850;text-transform:uppercase;letter-spacing:.06em;margin-bottom:3px}
.profile-v90-head h2{margin:0 0 5px;font-size:27px}
.profile-v90-head p{margin:0;color:var(--muted);font-size:13px}
.profile-v90-usercard{display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:18px;background:#fff;margin-bottom:18px}
.profile-v90-avatar{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#111318;color:#fff;font-size:20px;font-weight:950}
.profile-v90-usercopy{min-width:0}
.profile-v90-usercopy strong{display:block;font-size:18px}
.profile-v90-usercopy>span{display:block;color:var(--muted);font-size:12px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-v90-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.profile-v90-badges span{background:#f0f2f5;border-radius:999px;padding:5px 7px;color:#59606a;font-size:10px;font-weight:750}
.profile-v90-edit{border:1px solid var(--line);background:#f6f7f9;border-radius:11px;padding:9px 11px;font-size:11px;font-weight:850;white-space:nowrap}
.profile-v90-section{margin:18px 0}
.profile-v90-section h3{margin:0 0 8px;font-size:14px}
.profile-v90-menu{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}
.profile-v90-row{width:100%;display:grid;grid-template-columns:36px 1fr auto 18px;align-items:center;gap:9px;padding:12px 13px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left}
.profile-v90-row:last-child{border-bottom:0}
.profile-v90-icon{width:34px;height:34px;border-radius:10px;background:#f1f3f6;display:grid;place-items:center;font-size:17px;font-weight:850}
.profile-v90-rowcopy{min-width:0}
.profile-v90-rowcopy strong{display:block;font-size:13px}
.profile-v90-rowcopy small{display:block;margin-top:2px;color:var(--muted);font-size:10.5px;line-height:1.35}
.profile-v90-count{min-width:20px;text-align:center;border-radius:999px;background:#111318;color:#fff;font-size:10px;font-weight:850;padding:3px 6px}
.profile-v90-count:empty{display:none}
.profile-v90-arrow{color:#89909a;font-size:20px;line-height:1}
.profile-v90-logout{width:100%;border:1px solid #f1d6d9;background:#fff1f2;color:#b51f30;border-radius:13px;padding:12px;font-size:13px;font-weight:900;margin:4px 0 24px}

.profile-v90-sheet{position:fixed;inset:0;z-index:11800;display:none;align-items:flex-end;justify-content:center}
.profile-v90-sheet.open{display:flex}
.profile-v90-sheet-backdrop{position:absolute;inset:0;background:rgba(9,12,17,.48)}
.profile-v90-sheet-card{position:relative;width:min(620px,100%);max-height:78vh;overflow:auto;background:#fff;border-radius:22px 22px 0 0;padding:11px 16px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -14px 45px rgba(0,0,0,.16)}
.profile-v90-sheet-handle{width:44px;height:4px;background:#d7dbe0;border-radius:999px;margin:0 auto 10px}
.profile-v90-sheet-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.profile-v90-sheet-head h3{margin:0;font-size:19px}
.profile-v90-sheet-close{width:34px;height:34px;border:0;border-radius:50%;background:#eef1f4;font-size:21px}
.profile-v90-sheet-info{display:grid;gap:8px}
.profile-v90-sheet-info>strong{font-size:17px}
.profile-v90-sheet-info>span,.profile-v90-sheet-info>p{color:var(--muted);font-size:12px;line-height:1.5;margin:0}
.profile-v90-setting-list{border:1px solid var(--line);border-radius:13px;overflow:hidden}
.profile-v90-setting-list>div{display:flex;justify-content:space-between;gap:12px;padding:11px 12px;border-bottom:1px solid var(--line)}
.profile-v90-setting-list>div:last-child{border-bottom:0}
.profile-v90-setting-list span{color:var(--muted);font-size:11px}
.profile-v90-setting-list strong{font-size:12px;text-align:right}
.profile-v90-sheet-action{margin-top:12px;width:100%}
.profile-v90-toggle-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 2px;border-bottom:1px solid var(--line)}
.profile-v90-toggle-row:last-of-type{border-bottom:0}
.profile-v90-toggle-row span{min-width:0}
.profile-v90-toggle-row strong{display:block;font-size:13px}
.profile-v90-toggle-row small{display:block;color:var(--muted);margin-top:2px;font-size:10.5px;line-height:1.35}
.profile-v90-toggle-row input{width:20px;height:20px}
.profile-v90-setting-note{margin-top:12px;padding:10px;background:#f6f7f9;border-radius:11px;color:var(--muted);font-size:10.5px;line-height:1.45}

@media(max-width:560px){
  .profile-v90-head h2{font-size:24px}
  .profile-v90-usercard{grid-template-columns:auto 1fr;padding:14px}
  .profile-v90-edit{grid-column:1/-1;width:100%}
  .profile-v90-avatar{width:56px;height:56px;font-size:18px}
  .profile-v90-row{grid-template-columns:34px 1fr auto 16px;padding:11px}
}

/* TGMarkt V9.1 - Meine Anzeigen */
.myads-v91-shell{max-width:820px;margin:0 auto}
.myads-v91-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
.myads-v91-new{padding:8px 11px;font-size:12px}
.myads-v91-head h2{margin:2px 0 5px;font-size:26px}
.myads-v91-head p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}

.myads-v91-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}
.myads-v91-stats>div{background:#fff;border:1px solid var(--line);border-radius:13px;padding:10px;text-align:center}
.myads-v91-stats strong{display:block;font-size:19px}
.myads-v91-stats span{display:block;color:var(--muted);font-size:9.5px;margin-top:2px}

.myads-v91-filter{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;margin-bottom:10px;scrollbar-width:none}
.myads-v91-filter::-webkit-scrollbar{display:none}
.myads-v91-filter button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 10px;white-space:nowrap;font-size:10.5px;font-weight:800}
.myads-v91-filter button.active{background:#111318;color:#fff;border-color:#111318}

.myads-v91-list{display:grid;gap:10px}
.myads-v91-card{display:grid;grid-template-columns:150px 1fr;border:1px solid var(--line);background:#fff;border-radius:16px;overflow:hidden}
.myads-v91-media{position:relative;min-height:145px;background:#e9ebef;display:grid;place-items:center;font-size:30px}
.myads-v91-media img{width:100%;height:100%;object-fit:cover;display:block}
.myads-v91-images{position:absolute;right:7px;bottom:7px;background:rgba(255,255,255,.94);border-radius:999px;padding:4px 6px;font-size:9px;font-weight:850}
.myads-v91-copy{padding:12px;min-width:0}
.myads-v91-titleline{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.myads-v91-titleline h3{margin:6px 0 0;font-size:17px}
.myads-v91-id{color:var(--muted);font-size:10px}
.myads-v91-status{display:inline-flex;align-items:center;border-radius:999px;padding:4px 7px;font-size:9.5px;font-weight:900}
.myads-v91-status.online{background:#e9faf0;color:#087d3e}
.myads-v91-status.review{background:#fff4dd;color:#a96800}
.myads-v91-status.disabled{background:#eef0f3;color:#626975}
.myads-v91-status.spam{background:#ffe9eb;color:#b51f30}
.myads-v91-meta{font-size:11px;color:#5e6570;margin-top:7px}
.myads-v91-date{font-size:10px;color:var(--muted);margin-top:4px}
.myads-v91-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}
.myads-v91-actions button{padding:8px 10px;font-size:10.5px}
.myads-v91-empty{padding:24px 16px;border:1px solid var(--line);border-radius:16px;background:#fff;text-align:center}
.myads-v91-empty strong{display:block;font-size:15px}
.myads-v91-empty span{display:block;color:var(--muted);font-size:11px;margin:5px 0 12px;line-height:1.45}

@media(max-width:560px){
  .myads-v91-stats{grid-template-columns:repeat(2,1fr)}
  .myads-v91-card{grid-template-columns:105px 1fr}
  .myads-v91-media{min-height:140px}
  .myads-v91-copy{padding:10px}
  .myads-v91-titleline h3{font-size:14px}
  .myads-v91-actions{gap:6px}
  .myads-v91-actions button{padding:7px 8px;font-size:10px}
}

/* TGMarkt V9.2 */
.v92-topin{display:flex;align-items:center;justify-content:space-between;gap:10px}
.v92-brand{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:8px;color:#171b21;font-weight:950}
.v92-brand img{width:38px;height:38px;object-fit:contain;border-radius:9px}
.v92-brand span{font-size:18px}
.v92-head-actions{display:flex;align-items:center;gap:7px}
.v92-menu-btn{display:flex;align-items:center;gap:5px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 9px;font-size:11px}
.v92-menu-btn span{font-size:15px}
.v92-menu-btn strong{font-size:11px}

.v92-menu-sheet{position:fixed;inset:0;z-index:12500;display:none;align-items:flex-end;justify-content:center}
.v92-menu-sheet.open{display:flex}
.v92-menu-backdrop{position:absolute;inset:0;background:rgba(9,12,17,.46)}
.v92-menu-card{position:relative;width:min(600px,100%);background:#fff;border-radius:22px 22px 0 0;padding:10px 15px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -15px 45px rgba(0,0,0,.16)}
.v92-menu-handle{width:44px;height:4px;background:#d7dbe0;border-radius:999px;margin:0 auto 10px}
.v92-menu-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.v92-menu-head strong{font-size:19px}
.v92-menu-close{width:34px;height:34px;border:0;border-radius:50%;background:#eef1f4;font-size:21px}
.v92-menu-list{border:1px solid var(--line);border-radius:15px;overflow:hidden}
.v92-menu-list button{width:100%;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;border:0;border-bottom:1px solid var(--line);background:#fff;padding:12px;text-align:left}
.v92-menu-list button:last-child{border-bottom:0}
.v92-menu-list button span{font-size:18px;text-align:center}
.v92-menu-list button strong{font-size:13px}
.v92-menu-list button em{font-style:normal;color:#89909a;font-size:20px}

.myads-v92-shell{max-width:760px;margin:0 auto}
.myads-v92-topbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin-bottom:10px}
.myads-v92-title h2{margin:0;font-size:23px}
.myads-v92-new{padding:8px 10px;font-size:11px}
.myads-v92-search{display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:#fff;border-radius:11px;padding:0 10px;margin-bottom:8px}
.myads-v92-search input{flex:1;border:0!important;background:transparent!important;outline:0!important;padding:10px 0!important;min-width:0}
.myads-v92-tabs{display:flex;gap:3px;overflow-x:auto;border-bottom:1px solid var(--line);margin-bottom:8px;scrollbar-width:none}
.myads-v92-tabs::-webkit-scrollbar{display:none}
.myads-v92-tabs button{border:0;background:transparent;padding:9px 10px;font-size:10px;font-weight:850;white-space:nowrap;border-bottom:2px solid transparent}
.myads-v92-tabs button.active{border-bottom-color:#111318;color:#111318}
.myads-v92-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f7f8fa;border:1px solid var(--line);border-radius:10px;padding:7px 9px;margin-bottom:9px}
.myads-v92-summary strong{display:block;font-size:11px}
.myads-v92-summary span{display:block;color:var(--muted);font-size:9px;margin-top:2px}
.myads-v92-toolbtn{width:30px;height:30px;border:1px solid var(--line);border-radius:8px;background:#fff}
.myads-v92-list{display:grid;gap:9px}
.myads-v92-card{border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden}
.myads-v92-card-head{display:grid;grid-template-columns:22px 1fr auto 24px;align-items:center;gap:6px;padding:8px 9px;border-bottom:1px solid var(--line)}
.myads-v92-check{color:#7d838c;font-size:15px}
.myads-v92-titlelink{border:0;background:transparent;padding:0;text-align:left;color:#1566b7;font-size:11.5px;font-weight:850;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.myads-v92-status{border-radius:999px;padding:4px 6px;font-size:8.5px;font-weight:900}
.myads-v92-status.online{background:#e9faf0;color:#087d3e}
.myads-v92-status.review{background:#fff4dd;color:#a96800}
.myads-v92-status.disabled{background:#eef0f3;color:#626975}
.myads-v92-status.spam{background:#ffe9eb;color:#b51f30}
.myads-v92-more{border:0;background:transparent;font-size:18px;color:#59606a}
.myads-v92-body{display:grid;grid-template-columns:105px 1fr;gap:9px;padding:9px}
.myads-v92-thumb{min-height:105px;border-radius:9px;overflow:hidden;background:#e9ebef;display:grid;place-items:center;font-size:27px}
.myads-v92-thumb img{width:100%;height:100%;object-fit:cover}
.myads-v92-info dl{margin:0;display:grid;gap:3px}
.myads-v92-info dl>div{display:grid;grid-template-columns:60px 1fr;gap:5px;font-size:9.5px}
.myads-v92-info dt{color:var(--muted)}
.myads-v92-info dd{margin:0;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.myads-v92-actions{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.myads-v92-action{border:0;border-right:1px solid var(--line);background:#fff;padding:7px 2px;display:grid;place-items:center;gap:3px}
.myads-v92-action:last-child{border-right:0}
.myads-v92-action span{font-size:15px}
.myads-v92-action small{font-size:8px;color:#36404b}
.myads-v92-action.disabled{opacity:.35}
.myads-v92-boosts{display:grid;gap:5px;padding:7px 9px 9px}
.myads-v92-boosts button{border:0;border-radius:7px;background:#0d5f95;color:#fff;padding:7px;font-size:9.5px;font-weight:850}

@media(max-width:560px){
  .v92-brand img{width:34px;height:34px}
  .v92-brand span{font-size:16px}
  .install{display:none}
  .myads-v92-title h2{font-size:19px}
  .myads-v92-body{grid-template-columns:90px 1fr}
  .myads-v92-thumb{min-height:100px}
  .myads-v92-info dl>div{grid-template-columns:54px 1fr;font-size:9px}
  .myads-v92-action small{font-size:7.5px}
}

/* =========================================================
   TGMarkt V9.3 - website logo + reliable menu
   ========================================================= */

.v93-site-brand{
  min-width:0;
  max-width:170px;
  overflow:hidden;
  cursor:pointer;
}

.v93-site-brand img{
  display:block;
  width:auto!important;
  height:42px!important;
  max-width:165px!important;
  object-fit:contain!important;
  object-position:left center;
  border-radius:0!important;
}

.v93-site-brand img.v93-logo-fallback{
  width:38px!important;
  height:38px!important;
  border-radius:9px!important;
}

.v92-menu-btn{
  cursor:pointer;
  transition:background .15s ease, transform .12s ease;
}

.v92-menu-btn:active{
  transform:scale(.97);
  background:#f2f4f6;
}

.v92-menu-sheet.open .v92-menu-card{
  animation:v93MenuUp .18s ease-out;
}

body.v93-menu-open{
  overflow:hidden;
}

@keyframes v93MenuUp{
  from{transform:translateY(18px);opacity:.65}
  to{transform:translateY(0);opacity:1}
}

@media(max-width:560px){
  .v93-site-brand{
    max-width:145px;
  }

  .v93-site-brand img{
    height:36px!important;
    max-width:140px!important;
  }

  .v93-site-brand img.v93-logo-fallback{
    width:34px!important;
    height:34px!important;
  }
}

/* TGMarkt V9.4 */
.v92-menu-list button:active{
  background:#f4f6f8;
}
.v92-menu-list button strong{
  pointer-events:none;
}
.v92-menu-list button span,
.v92-menu-list button em{
  pointer-events:none;
}

/* =========================================================
   TGMarkt V9.5 - top-menu navigation + restored own listings
   ========================================================= */

/* Bottom navigation removed: content may use the full viewport again. */
body{
  padding-bottom:0!important;
}
.wrap{
  padding-bottom:28px!important;
}

.v95-menu-list button{
  grid-template-columns:34px 1fr auto!important;
}
.v95-menu-list button>div{
  min-width:0;
}
.v95-menu-list button strong{
  display:block;
  font-size:13px;
}
.v95-menu-list button small{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:10px;
  line-height:1.3;
}
.v95-menu-list button span{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  background:#f2f4f6;
  border-radius:9px;
}

.myads-v95-loading{
  min-height:110px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:1px dashed #cfd4dc;
  background:#fff;
  border-radius:14px;
  color:#66707c;
}
.myads-v95-spinner{
  width:18px;
  height:18px;
  border:2px solid #d7dce3;
  border-top-color:#111318;
  border-radius:50%;
  animation:v95spin .7s linear infinite;
}
@keyframes v95spin{
  to{transform:rotate(360deg)}
}

@media(max-width:560px){
  .wrap{
    padding-bottom:18px!important;
  }
}

/* =========================================================
   TGMarkt V9.6 - modern listings dashboard
   ========================================================= */
.myads-v96-shell{
  max-width:760px;
  margin:0 auto;
  padding-bottom:28px;
}

.myads-v96-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}

.myads-v96-heading{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}

.myads-v96-heading h2{
  margin:0;
  font-size:24px;
  line-height:1.05;
}

.myads-v96-back{
  width:38px;
  height:38px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:#171b21;
  font-size:19px;
  font-weight:900;
}

.myads-v96-create{
  border:0;
  border-radius:12px;
  background:#111318;
  color:#fff;
  padding:10px 13px;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}

.myads-v96-overview{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:15px;
  background:linear-gradient(180deg,#fff,#f8f9fb);
  margin-bottom:10px;
}

.myads-v96-overview-copy{
  min-width:0;
}

.myads-v96-overview-copy strong{
  display:block;
  font-size:15px;
}

.myads-v96-overview-copy span{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:10.5px;
}

.myads-v96-refresh{
  width:34px;
  height:34px;
  flex:0 0 34px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  font-size:17px;
}

.myads-v96-search{
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  padding:0 11px;
  margin-bottom:10px;
}

.myads-v96-search span{
  color:#8a919b;
  font-size:17px;
}

.myads-v96-search input{
  flex:1;
  min-width:0;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  padding:11px 0!important;
  font-size:12px;
}

.myads-v96-chips{
  display:flex;
  gap:7px;
  overflow-x:auto;
  padding-bottom:3px;
  margin-bottom:12px;
  scrollbar-width:none;
}

.myads-v96-chips::-webkit-scrollbar{
  display:none;
}

.myads-v96-chips button{
  display:flex;
  align-items:center;
  gap:6px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:#505864;
  padding:7px 10px;
  font-size:10.5px;
  font-weight:850;
  white-space:nowrap;
}

.myads-v96-chips button span{
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:#eef1f4;
  display:grid;
  place-items:center;
  font-size:8.5px;
}

.myads-v96-chips button.active{
  background:#111318;
  border-color:#111318;
  color:#fff;
}

.myads-v96-chips button.active span{
  background:rgba(255,255,255,.16);
  color:#fff;
}

.myads-v96-list{
  display:grid;
  gap:10px;
}

.myads-v96-card{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 2px 8px rgba(18,22,28,.035);
}

.myads-v96-card-main{
  width:100%;
  display:grid;
  grid-template-columns:116px 1fr;
  gap:12px;
  border:0;
  background:#fff;
  padding:11px;
  text-align:left;
}

.myads-v96-image{
  position:relative;
  height:112px;
  border-radius:12px;
  overflow:hidden;
  background:#eceef2;
  display:grid;
  place-items:center;
  font-size:28px;
}

.myads-v96-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.myads-v96-image small{
  position:absolute;
  right:6px;
  bottom:6px;
  background:rgba(255,255,255,.94);
  border-radius:999px;
  padding:4px 6px;
  color:#343a42;
  font-size:8px;
  font-weight:850;
}

.myads-v96-card-copy{
  min-width:0;
  align-self:center;
}

.myads-v96-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.myads-v96-card-top>small{
  color:#9096a0;
  font-size:9px;
}

.myads-v96-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:4px 7px;
  font-size:8.5px;
  font-weight:900;
}

.myads-v96-badge.online{
  background:#e9f8ef;
  color:#08763c;
}

.myads-v96-badge.review{
  background:#fff3db;
  color:#9a6100;
}

.myads-v96-badge.disabled{
  background:#eef1f4;
  color:#5d6570;
}

.myads-v96-card h3{
  margin:7px 0 3px;
  color:#171b21;
  font-size:15px;
  line-height:1.25;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

.myads-v96-card p{
  margin:0;
  color:#626a75;
  font-size:10.5px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.myads-v96-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:5px 9px;
  margin-top:8px;
}

.myads-v96-card-meta span{
  color:#8a919b;
  font-size:9px;
}

.myads-v96-card-actions{
  display:grid;
  grid-template-columns:1.15fr 1fr .8fr;
  gap:6px;
  padding:8px 10px 10px;
  border-top:1px solid #eff1f4;
}

.myads-v96-card-actions button{
  border:0;
  border-radius:10px;
  background:#f0f2f5;
  color:#1b2027;
  padding:8px 7px;
  font-size:10px;
  font-weight:850;
}

.myads-v96-card-actions button.primary{
  background:#111318;
  color:#fff;
}

.myads-v96-empty{
  min-height:170px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:5px;
  border:1px dashed #d3d8df;
  border-radius:16px;
  background:#fff;
  text-align:center;
  padding:20px;
}

.myads-v96-empty>span{
  font-size:25px;
  color:#a0a6af;
}

.myads-v96-empty strong{
  font-size:14px;
}

.myads-v96-empty small{
  color:var(--muted);
  font-size:10.5px;
}

/* Manage sheet */
.myads-v96-sheet{
  position:fixed;
  inset:0;
  z-index:12600;
  display:none;
  align-items:flex-end;
  justify-content:center;
}

.myads-v96-sheet.open{
  display:flex;
}

.myads-v96-sheet-backdrop{
  position:absolute;
  inset:0;
  background:rgba(9,12,17,.47);
}

.myads-v96-sheet-card{
  position:relative;
  width:min(620px,100%);
  background:#fff;
  border-radius:22px 22px 0 0;
  padding:10px 15px calc(18px + env(safe-area-inset-bottom));
  box-shadow:0 -18px 45px rgba(0,0,0,.17);
  animation:v96SheetUp .18s ease-out;
}

.myads-v96-sheet-handle{
  width:44px;
  height:4px;
  margin:0 auto 11px;
  border-radius:999px;
  background:#d6dae0;
}

.myads-v96-sheet-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  margin-bottom:10px;
}

.myads-v96-sheet-head small{
  display:block;
  color:var(--muted);
  font-size:9.5px;
}

.myads-v96-sheet-head strong{
  display:block;
  margin-top:2px;
  font-size:17px;
}

.myads-v96-sheet-close{
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:#eef1f4;
  font-size:20px;
}

.myads-v96-sheet-status{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 0 12px;
}

.myads-v96-sheet-status small{
  color:var(--muted);
  font-size:10px;
}

.myads-v96-sheet-actions{
  border:1px solid var(--line);
  border-radius:15px;
  overflow:hidden;
}

.myads-v96-sheet-actions button{
  width:100%;
  display:grid;
  grid-template-columns:34px 1fr auto;
  align-items:center;
  gap:8px;
  border:0;
  border-bottom:1px solid var(--line);
  background:#fff;
  padding:11px 12px;
  text-align:left;
}

.myads-v96-sheet-actions button:last-child{
  border-bottom:0;
}

.myads-v96-sheet-actions button>span{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#f1f3f6;
  font-size:16px;
}

.myads-v96-sheet-actions button strong{
  display:block;
  font-size:12.5px;
}

.myads-v96-sheet-actions button small{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:9.5px;
}

.myads-v96-sheet-actions button em{
  font-style:normal;
  color:#8d949e;
  font-size:20px;
}

.myads-v96-sheet-actions button.danger strong{
  color:#b51f30;
}

.myads-v96-sheet-actions button.disabled{
  opacity:.35;
}

body.v96-sheet-open{
  overflow:hidden;
}

@keyframes v96SheetUp{
  from{transform:translateY(18px);opacity:.7}
  to{transform:translateY(0);opacity:1}
}

@media(max-width:560px){
  .myads-v96-heading h2{
    font-size:21px;
  }

  .myads-v96-create{
    padding:9px 11px;
    font-size:10.5px;
  }

  .myads-v96-card-main{
    grid-template-columns:96px 1fr;
    gap:10px;
    padding:10px;
  }

  .myads-v96-image{
    height:98px;
  }

  .myads-v96-card h3{
    font-size:14px;
  }

  .myads-v96-card p{
    font-size:10px;
  }
}

/* TGMarkt V9.7 - reliable listing image rendering */
.myads-v96-image{
  position:relative;
  overflow:hidden;
}
.myads-v96-image img{
  position:absolute;
  inset:0;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center!important;
  font-size:0!important;
  color:transparent!important;
}
.myads-v97-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  font-size:28px;
  line-height:1;
}
.myads-v96-image.no-image{
  background:#eceef2;
}

/* =========================================================
   TGMarkt V9.8 - internal website view
   ========================================================= */
.v98-webview-shell{
  max-width:980px;
  margin:0 auto;
}
.v98-webview-head{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.v98-webview-head h2{
  margin:0;
  font-size:21px;
}
.v98-webview-reload{
  width:36px;
  height:36px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  font-size:17px;
}
.v98-webview-note{
  margin-bottom:8px;
  color:var(--muted);
  font-size:10px;
}
.v98-webview-frame{
  width:100%;
  height:calc(100vh - 150px);
  min-height:620px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.v98-webview-fallback{
  margin-top:10px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.v98-webview-fallback strong{
  display:block;
  font-size:13px;
}
.v98-webview-fallback span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:10px;
  line-height:1.45;
}

@media(max-width:560px){
  .v98-webview-frame{
    height:calc(100vh - 125px);
    min-height:560px;
    border-radius:0;
    border-left:0;
    border-right:0;
  }
}

/* TGMarkt V9.9 - edit mode */
.v99-edit-banner{
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 11px;
  border:1px solid #cfe1f5;
  border-radius:11px;
  background:#eef7ff;
}
.v99-edit-banner[hidden]{display:none!important}
.v99-edit-banner span{
  font-size:11px;
  font-weight:850;
  color:#175c96;
}
.v99-edit-banner button{
  border:0;
  background:transparent;
  color:#175c96;
  font-size:10px;
  font-weight:850;
}

/* =========================================================
   TGMarkt V10.0 - native messages
   ========================================================= */
.messages-v100-shell,
.messages-v100-chat-shell{
  max-width:760px;
  margin:0 auto;
  padding-bottom:24px;
}
.messages-v100-head,
.messages-v100-chat-head{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}
.messages-v100-heading{
  display:contents;
}
.messages-v100-heading>div{
  min-width:0;
}
.messages-v100-heading h2{
  margin:0;
  font-size:23px;
}
.messages-v100-back,
.messages-v100-refresh{
  width:38px;
  height:38px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff;
  font-size:18px;
}
.messages-v100-context{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  border:1px solid #cfe1f5;
  border-radius:14px;
  background:#eef7ff;
  padding:11px 12px;
  margin-bottom:10px;
}
.messages-v100-context small,
.messages-v100-context span{
  display:block;
  color:#607080;
  font-size:9.5px;
}
.messages-v100-context strong{
  display:block;
  margin:2px 0;
  font-size:12.5px;
}
.messages-v100-context button{
  border:0;
  border-radius:9px;
  background:#fff;
  color:#1666a8;
  padding:7px 9px;
  font-size:9.5px;
  font-weight:850;
  white-space:nowrap;
}
.messages-v100-summary{
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  padding:11px 12px;
  margin-bottom:9px;
}
.messages-v100-summary strong{
  display:block;
  font-size:13.5px;
}
.messages-v100-summary span{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:9.5px;
}
.messages-v100-search{
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  padding:0 11px;
  margin-bottom:10px;
}
.messages-v100-search span{
  color:#8b929c;
}
.messages-v100-search input{
  flex:1;
  min-width:0;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  padding:11px 0!important;
  font-size:11px;
}
.messages-v100-list{
  display:grid;
  gap:8px;
}
.messages-v100-thread{
  width:100%;
  display:grid;
  grid-template-columns:44px 1fr 18px;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  padding:10px;
  text-align:left;
}
.messages-v100-avatar{
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#111318;
  color:#fff;
  font-size:12px;
  font-weight:900;
}
.messages-v100-thread-copy{
  min-width:0;
}
.messages-v100-thread-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.messages-v100-thread-top strong{
  font-size:12px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.messages-v100-thread-top small{
  color:#9096a0;
  font-size:8.5px;
  white-space:nowrap;
}
.messages-v100-thread-copy>b{
  display:block;
  margin-top:3px;
  font-size:10px;
  color:#3e4650;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.messages-v100-preview{
  display:block;
  margin-top:3px;
  color:#7a828d;
  font-size:9.5px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.messages-v100-arrow{
  color:#959ca6;
  font-size:20px;
}
.messages-v100-loading,
.messages-v100-empty,
.messages-v100-error{
  min-height:150px;
  border:1px dashed #d3d8df;
  border-radius:15px;
  background:#fff;
  display:grid;
  place-items:center;
  align-content:center;
  gap:6px;
  padding:18px;
  text-align:center;
}
.messages-v100-empty>span{
  font-size:25px;
  color:#9da4ae;
}
.messages-v100-empty strong,
.messages-v100-error strong{
  font-size:13px;
}
.messages-v100-empty small,
.messages-v100-error span{
  color:var(--muted);
  font-size:9.5px;
  line-height:1.45;
}
.messages-v100-chat-head small{
  display:block;
  color:var(--muted);
  font-size:9px;
}
.messages-v100-chat-head strong{
  display:block;
  margin-top:2px;
  font-size:14px;
}
.messages-v100-chat-frame{
  width:100%;
  height:calc(100vh - 110px);
  min-height:620px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.messages-v100-chat-fallback{
  margin-top:10px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
}
.messages-v100-chat-fallback strong{
  display:block;
  font-size:12px;
}
.messages-v100-chat-fallback span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:9.5px;
}

@media(max-width:560px){
  .messages-v100-heading h2{font-size:20px}
  .messages-v100-chat-frame{
    height:calc(100vh - 90px);
    min-height:560px;
    border-radius:0;
    border-left:0;
    border-right:0;
  }
}

/* TGMarkt V10.1 - messenger diagnosis */
.messages-v101-error-actions{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:5px;
}
.messages-v101-error-actions button{
  font-size:9.5px;
}
.messages-v101-privacy{
  display:block;
  margin-top:5px;
  max-width:420px;
  color:#8a919b;
  font-size:8.5px!important;
}

/* TGMarkt V10.2 - exact messenger adapter */
.messages-v102-meta{
  display:block;
  margin-top:2px;
  color:#969da7;
  font-size:8.3px;
}

/* =========================================================
   TGMarkt V10.3 - native chat, no website iframe
   ========================================================= */
.messages-v103-chat-shell{
  max-width:760px;
  margin:0 auto;
  min-height:calc(100vh - 90px);
  display:grid;
  grid-template-rows:auto auto 1fr auto;
  gap:9px;
}
.messages-v103-chat-head{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:10px;
}
.messages-v103-chat-title{
  min-width:0;
}
.messages-v103-chat-title small{
  display:block;
  color:var(--muted);
  font-size:9.5px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.messages-v103-chat-title strong{
  display:block;
  margin-top:2px;
  font-size:16px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.messages-v103-item-card{
  border:1px solid #dbe2ea;
  background:#f8fafc;
  border-radius:13px;
  padding:9px 11px;
}
.messages-v103-item-card span,
.messages-v103-item-card small{
  display:block;
  color:#7e8792;
  font-size:8.5px;
}
.messages-v103-item-card strong{
  display:block;
  margin:2px 0;
  font-size:11px;
}
.messages-v103-thread{
  min-height:360px;
  max-height:calc(100vh - 270px);
  overflow-y:auto;
  border:1px solid var(--line);
  border-radius:15px;
  background:#f4f6f8;
  padding:12px 10px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.messages-v103-row{
  display:flex;
}
.messages-v103-row.own{
  justify-content:flex-end;
}
.messages-v103-row.other{
  justify-content:flex-start;
}
.messages-v103-bubble{
  max-width:82%;
  border-radius:15px;
  padding:9px 10px 7px;
  font-size:11px;
  line-height:1.4;
  word-wrap:break-word;
  white-space:pre-wrap;
}
.messages-v103-row.other .messages-v103-bubble{
  background:#fff;
  border:1px solid #e0e4e9;
  border-bottom-left-radius:5px;
  color:#1b2027;
}
.messages-v103-row.own .messages-v103-bubble{
  background:#111318;
  color:#fff;
  border-bottom-right-radius:5px;
}
.messages-v103-bubble time{
  display:block;
  margin-top:5px;
  text-align:right;
  opacity:.6;
  font-size:7.8px;
}
.messages-v103-file{
  display:block;
  margin-top:5px;
  font-size:8px;
  opacity:.7;
}
.messages-v103-compose{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:end;
  gap:7px;
  position:sticky;
  bottom:0;
  background:var(--bg);
  padding-top:3px;
}
.messages-v103-compose textarea{
  width:100%;
  min-height:42px;
  max-height:120px;
  resize:none;
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  padding:11px;
  outline:0;
  font:inherit;
  font-size:11px;
}
.messages-v103-compose button{
  height:42px;
  border:0;
  border-radius:12px;
  background:#111318;
  color:#fff;
  padding:0 14px;
  font-size:10px;
  font-weight:900;
}
.messages-v103-compose button:disabled{
  opacity:.55;
}
.messages-v103-empty-chat{
  flex:1;
  display:grid;
  place-items:center;
  align-content:center;
  gap:5px;
  color:#737c87;
  text-align:center;
}
.messages-v103-empty-chat>span{
  font-size:25px;
}
.messages-v103-empty-chat strong{
  font-size:12px;
  color:#30363e;
}
.messages-v103-empty-chat small{
  font-size:9px;
}

@media(max-width:560px){
  .messages-v103-chat-shell{
    min-height:calc(100vh - 76px);
  }
  .messages-v103-thread{
    max-height:calc(100vh - 245px);
  }
  .messages-v103-bubble{
    max-width:87%;
    font-size:10.5px;
  }
}
\n\n/* =========================================================\n   TGMarkt V10.4 - clearer full-width native chat\n   ========================================================= */\n.messages-v103-chat-shell{\n  max-width:none;\n  width:100%;\n}\n.messages-v103-thread{\n  width:100%;\n  box-sizing:border-box;\n  padding:14px;\n}\n.messages-v103-row{\n  width:100%;\n}\n.messages-v103-bubble{\n  width:auto;\n  max-width:min(78%,680px);\n  min-width:180px;\n  box-sizing:border-box;\n  padding:11px 13px 9px;\n  font-size:13px;\n  line-height:1.5;\n}\n.messages-v103-bubble time{\n  font-size:9px;\n  margin-top:7px;\n}\n.messages-v103-compose{\n  width:100%;\n}\n@media(max-width:560px){\n  .messages-v103-thread{\n    padding:10px;\n  }\n  .messages-v103-bubble{\n    max-width:88%;\n    min-width:0;\n    font-size:12px;\n  }\n}\n
/* TGMarkt V10.5 - bundled conversations */
.messages-v103-item-card{
  position:relative;
}
.messages-v103-item-card::after{
  content:"Verlauf zu dieser Anzeige";
  position:absolute;
  right:10px;
  top:10px;
  color:#8a929d;
  font-size:8px;
  font-weight:700;
}

/* =========================================================
   TGMarkt V10.6 - friendly messenger design
   Brand: TGMarkt pink + charcoal + soft grey
   ========================================================= */
#msgChat{
  padding-bottom:0!important;
}

.messages-v106-chat-shell{
  --tg-pink:#ec2f8f;
  --tg-pink-dark:#d91c7b;
  --tg-pink-soft:#fff0f8;
  --tg-ink:#17191e;
  --tg-soft:#f4f5f7;
  --tg-line:#e2e5ea;
  max-width:760px;
  min-height:calc(100vh - 72px);
  margin:0 auto;
  display:grid;
  grid-template-rows:auto auto minmax(0,1fr) auto;
  background:#f7f8fa;
}

.messages-v106-chat-head{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 42px;
  gap:10px;
  align-items:center;
  padding:10px 12px 9px;
  background:#fff;
  border-bottom:1px solid var(--tg-line);
}

.messages-v106-back,
.messages-v106-reload{
  width:40px;
  height:40px;
  border:1px solid var(--tg-line);
  border-radius:13px;
  background:#fff;
  color:var(--tg-ink);
  font-size:18px;
  font-weight:800;
  display:grid;
  place-items:center;
}

.messages-v106-person{
  min-width:0;
  display:flex;
  align-items:center;
  gap:9px;
}

.messages-v106-avatar{
  width:39px;
  height:39px;
  flex:0 0 39px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,var(--tg-pink),#ff6eb4);
  color:#fff;
  font-size:11px;
  font-weight:900;
  box-shadow:0 4px 12px rgba(236,47,143,.18);
}

.messages-v106-person-copy{
  min-width:0;
}

.messages-v106-person-copy strong{
  display:block;
  font-size:14px;
  line-height:1.2;
  color:var(--tg-ink);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.messages-v106-person-copy small{
  display:block;
  margin-top:2px;
  color:#818894;
  font-size:9.5px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.messages-v106-item-context{
  margin:9px 12px 0;
  width:calc(100% - 24px);
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  gap:9px;
  align-items:center;
  border:1px solid #f1c9df;
  border-radius:14px;
  background:var(--tg-pink-soft);
  padding:9px 11px;
  text-align:left;
}

.messages-v106-item-icon{
  width:34px;
  height:34px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:#fff;
  color:var(--tg-pink);
  font-size:15px;
  box-shadow:0 1px 4px rgba(0,0,0,.04);
}

.messages-v106-item-copy{
  min-width:0;
}

.messages-v106-item-copy small{
  display:block;
  color:#9d6883;
  font-size:8px;
  font-style:normal;
}

.messages-v106-item-copy strong{
  display:block;
  margin-top:1px;
  color:#2b2027;
  font-size:11px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.messages-v106-item-copy em{
  display:block;
  margin-top:2px;
  color:var(--tg-pink-dark);
  font-size:8px;
  font-style:normal;
  font-weight:700;
}

.messages-v106-item-arrow{
  color:var(--tg-pink);
  font-size:19px;
}

.messages-v106-thread-wrap{
  min-height:0;
  padding:8px 12px 0;
}

.messages-v106-thread{
  height:100%;
  min-height:340px;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:8px 2px 14px;
  display:flex;
  flex-direction:column;
  gap:5px;
  scroll-behavior:smooth;
}

.messages-v106-day{
  display:flex;
  justify-content:center;
  padding:7px 0 5px;
}

.messages-v106-day span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#e9ebef;
  color:#777f8a;
  border-radius:999px;
  padding:4px 9px;
  font-size:8px;
  font-weight:750;
}

.messages-v106-row{
  display:flex;
  width:100%;
}

.messages-v106-row.other{
  justify-content:flex-start;
  padding-right:15%;
}

.messages-v106-row.own{
  justify-content:flex-end;
  padding-left:15%;
}

.messages-v106-bubble{
  min-width:72px;
  max-width:100%;
  padding:9px 11px 6px;
  border-radius:17px;
  box-shadow:0 1px 3px rgba(18,23,31,.06);
}

.messages-v106-row.other .messages-v106-bubble{
  background:#fff;
  color:#22262c;
  border:1px solid #e4e6ea;
  border-bottom-left-radius:5px;
}

.messages-v106-row.own .messages-v106-bubble{
  background:linear-gradient(145deg,var(--tg-pink),var(--tg-pink-dark));
  color:#fff;
  border-bottom-right-radius:5px;
}

.messages-v106-text{
  font-size:11px;
  line-height:1.48;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}

.messages-v106-attachment{
  margin-top:7px;
  padding:6px 8px;
  border-radius:9px;
  background:rgba(255,255,255,.15);
  font-size:8.5px;
  font-weight:700;
}

.messages-v106-row.other .messages-v106-attachment{
  background:#f3f4f6;
}

.messages-v106-meta{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:4px;
  margin-top:4px;
  min-height:11px;
}

.messages-v106-meta time{
  opacity:.68;
  font-size:7.3px;
  white-space:nowrap;
}

.messages-v106-read{
  font-size:7.5px;
  opacity:.75;
  letter-spacing:-2px;
}

.messages-v106-read.read{
  opacity:1;
}

.messages-v106-empty-chat{
  flex:1;
  min-height:260px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:6px;
  text-align:center;
  color:#808793;
}

.messages-v106-empty-chat>span{
  font-size:30px;
}

.messages-v106-empty-chat strong{
  color:#30343b;
  font-size:13px;
}

.messages-v106-empty-chat small{
  max-width:260px;
  font-size:9.5px;
  line-height:1.4;
}

.messages-v106-compose{
  position:sticky;
  bottom:0;
  padding:8px 12px calc(9px + env(safe-area-inset-bottom));
  background:linear-gradient(180deg,rgba(247,248,250,.7),#f7f8fa 28%);
  z-index:3;
}

.messages-v106-compose-box{
  display:grid;
  grid-template-columns:minmax(0,1fr) 42px;
  align-items:end;
  gap:7px;
  background:#fff;
  border:1px solid #dde1e6;
  border-radius:22px;
  padding:5px 5px 5px 13px;
  box-shadow:0 5px 18px rgba(18,23,31,.07);
}

.messages-v106-compose textarea{
  width:100%;
  min-height:34px;
  max-height:110px;
  resize:none;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  padding:8px 0 6px!important;
  color:#23272e;
  font:inherit;
  font-size:11px;
  line-height:1.4;
}

.messages-v106-compose textarea::placeholder{
  color:#9aa1ab;
}

.messages-v106-compose button{
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--tg-pink);
  color:#fff;
  font-size:15px;
  box-shadow:0 4px 10px rgba(236,47,143,.22);
}

.messages-v106-compose button:active{
  transform:scale(.96);
}

.messages-v106-compose button:disabled{
  opacity:.45;
}

@media(max-width:560px){
  .messages-v106-chat-shell{
    min-height:calc(100vh - 60px);
  }

  .messages-v106-chat-head{
    padding-left:9px;
    padding-right:9px;
  }

  .messages-v106-item-context{
    margin-left:9px;
    margin-right:9px;
    width:calc(100% - 18px);
  }

  .messages-v106-thread-wrap{
    padding-left:9px;
    padding-right:9px;
  }

  .messages-v106-row.other{
    padding-right:10%;
  }

  .messages-v106-row.own{
    padding-left:10%;
  }

  .messages-v106-text{
    font-size:10.5px;
  }

  .messages-v106-compose{
    padding-left:9px;
    padding-right:9px;
  }
}

.messages-v107-head-actions{display:flex;gap:5px}.messages-v107-more{width:40px;height:40px;border:1px solid #e2e5ea;border-radius:13px;background:#fff;font-size:20px;font-weight:900}.messages-v107-sheet{position:fixed;inset:0;z-index:1200;display:none}.messages-v107-sheet.open{display:block}.messages-v107-sheet-backdrop{position:absolute;inset:0;background:rgba(18,22,29,.45)}.messages-v107-sheet-card{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:min(520px,100%);background:#fff;border-radius:22px 22px 0 0;padding:8px 14px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -12px 40px rgba(0,0,0,.18)}.messages-v107-sheet-title{display:flex;align-items:center;justify-content:space-between;padding:8px 4px 10px}.messages-v107-sheet-title strong{font-size:15px}.messages-v107-sheet-title button{width:34px;height:34px;border:0;border-radius:50%;background:#f0f2f5;font-size:18px}.messages-v107-sheet-card>[data-message-action]{width:100%;display:flex;align-items:center;gap:10px;border:0;border-top:1px solid #eceef2;background:#fff;padding:13px 8px;text-align:left;font-weight:750}.messages-v107-sheet-card>[data-message-action].danger{color:#b42336}.messages-v107-blocked-link{width:100%;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;border:1px solid #e0e4e9;border-radius:14px;background:#fff;padding:10px 12px;text-align:left;margin-top:10px}.messages-v107-blocked-link div strong,.messages-v107-blocked-link div small{display:block}.messages-v107-blocked-link div small{color:#858d98;font-size:9px}.messages-v107-blocked-link em{font-style:normal;font-size:20px;color:#999}.messages-v107-block-shell{max-width:760px;margin:0 auto}.messages-v107-block-note{padding:10px 12px;border-radius:12px;background:#fff4f8;color:#805066;font-size:10px;margin-bottom:10px}.messages-v107-block-list{display:grid;gap:8px}.messages-v107-block-row{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;border:1px solid #e0e4e9;border-radius:14px;background:#fff;padding:10px}.messages-v107-block-row div strong,.messages-v107-block-row div small{display:block}.messages-v107-block-row div small{color:#8a929c;font-size:9px}.messages-v107-block-row button{border:0;border-radius:9px;background:#f1f3f6;padding:8px 10px;font-weight:800;font-size:9px}.messages-v107-empty-block{min-height:180px;display:grid;place-items:center;align-content:center;gap:5px;text-align:center;color:#7c848f}.messages-v107-empty-block span{font-size:28px;color:#169a69}.messages-v107-item-thumb{width:48px;height:48px;object-fit:cover;border-radius:10px}.messages-v106-item-context.has-image{grid-template-columns:48px 36px minmax(0,1fr) auto}.profile-v107-push-note{margin:0 0 10px;color:#7c8490;font-size:10px;line-height:1.4}

/* =========================================================
   TGMarkt V10.8 - Push device status
   ========================================================= */
.profile-v108-push-note{
  margin:0 0 9px;
  color:#7b8490;
  font-size:10px;
  line-height:1.4;
}

.profile-v108-push-status{
  display:grid;
  grid-template-columns:12px 1fr;
  gap:9px;
  align-items:start;
  padding:10px 11px;
  margin:0 0 8px;
  border:1px solid #e1e5ea;
  border-radius:13px;
  background:#f7f8fa;
}

.profile-v108-status-dot{
  width:10px;
  height:10px;
  margin-top:3px;
  border-radius:50%;
  background:#a7adb6;
  box-shadow:0 0 0 3px rgba(167,173,182,.12);
}

.profile-v108-push-status div strong,
.profile-v108-push-status div small{
  display:block;
}

.profile-v108-push-status div strong{
  color:#20242a;
  font-size:10.5px;
}

.profile-v108-push-status div small{
  margin-top:2px;
  color:#7b8490;
  font-size:8.7px;
  line-height:1.35;
}

.profile-v108-push-status[data-state="on"]{
  border-color:#c9ebdc;
  background:#f2fbf7;
}
.profile-v108-push-status[data-state="on"] .profile-v108-status-dot{
  background:#12a36d;
  box-shadow:0 0 0 3px rgba(18,163,109,.12);
}

.profile-v108-push-status[data-state="warn"]{
  border-color:#f0dfb0;
  background:#fffbef;
}
.profile-v108-push-status[data-state="warn"] .profile-v108-status-dot{
  background:#d99a12;
  box-shadow:0 0 0 3px rgba(217,154,18,.12);
}

.profile-v108-push-status[data-state="error"]{
  border-color:#f1c5cc;
  background:#fff5f7;
}
.profile-v108-push-status[data-state="error"] .profile-v108-status-dot{
  background:#c93a51;
  box-shadow:0 0 0 3px rgba(201,58,81,.12);
}

.profile-v108-push-test{
  width:100%;
  margin-top:9px;
}

.profile-v108-push-test:disabled{
  opacity:.45;
}

.profile-v108-push-help{
  min-height:14px;
  margin-top:6px;
  color:#8a929d;
  font-size:8.5px;
  text-align:center;
}

/* TGMarkt V10.10 — unread messages */
.nav-message-button{position:relative}
.nav-message-button.has-unread{color:#ec2f8f!important;font-weight:800}
.nav-message-button.has-unread .nav-message-icon{color:#ec2f8f!important;transform:scale(1.08)}
.nav-unread-badge{position:absolute;top:2px;left:50%;transform:translateX(7px);min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#ec2f8f;color:#fff;border:2px solid #fff;font-size:8px;font-weight:900;display:flex;align-items:center;justify-content:center;box-sizing:border-box;box-shadow:0 2px 7px rgba(236,47,143,.28)}
.nav-unread-badge[hidden]{display:none!important}
.messages-v100-thread.has-unread{border-color:#efbad6;background:#fff8fc;box-shadow:0 3px 14px rgba(236,47,143,.08)}
.messages-v100-thread.has-unread .messages-v100-avatar{background:#ec2f8f;color:#fff}
.messages-v100-thread.has-unread .messages-v100-preview{font-weight:700;color:#2f2930}
.messages-v110-thread-right{display:flex;align-items:center;gap:6px}
.messages-v110-thread-badge{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ec2f8f;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:8px;font-weight:900}

/* =========================================================
   TGMarkt V10.11 – balanced bottom navigation
   ========================================================= */
.nav{
  background:rgba(255,255,255,.985);
  border-top:1px solid #e5e8ed;
  box-shadow:0 -6px 18px rgba(17,19,24,.035);
}

.navin{
  min-height:62px;
  max-width:760px;
  margin:0 auto;
  padding:5px 8px max(5px,env(safe-area-inset-bottom));
  gap:2px;
  align-items:stretch;
}

.nav button{
  position:relative;
  min-width:0;
  min-height:52px;
  padding:4px 2px 3px;
  border:0;
  border-radius:13px;
  background:transparent;
  color:#747b86;
  font-size:10px;
  font-weight:550;
  line-height:1.1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  transition:background .16s ease,color .16s ease,transform .12s ease;
}

.nav button:active{
  transform:scale(.97);
}

.nav button > .nav-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:23px;
  font-size:20px;
  line-height:1;
  font-weight:450;
  color:#747b86;
  transition:color .16s ease,transform .16s ease;
}

.nav button > .nav-label,
.nav button > .nav-message-label{
  display:block;
  width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10px !important;
  line-height:12px;
  font-weight:550;
  letter-spacing:0;
  color:inherit;
  text-align:center;
}

.nav button.active{
  background:#f6f7f9;
  color:#15181d;
  font-weight:750;
}

.nav button.active > .nav-icon{
  color:#15181d;
  transform:translateY(-1px);
}

.nav button.active > .nav-label{
  font-weight:750;
}

/* Unread is a status, not an oversized active tab. */
.nav-message-button.has-unread{
  color:#ec2f8f !important;
  font-weight:700;
}

.nav-message-button.has-unread > .nav-message-icon{
  color:#ec2f8f !important;
  transform:none;
}

.nav-message-button.has-unread.active > .nav-message-icon{
  transform:translateY(-1px);
}

.nav-message-button.has-unread > .nav-message-label{
  color:#ec2f8f !important;
  font-weight:750;
}

/* Badge sits on the envelope, not on top of the text. */
.nav-unread-badge{
  position:absolute;
  top:3px;
  left:50%;
  transform:translateX(7px);
  min-width:15px;
  height:15px;
  padding:0 4px;
  border-radius:999px;
  border:2px solid #fff;
  background:#ec2f8f;
  color:#fff;
  font-size:7.5px;
  line-height:11px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  box-shadow:0 2px 5px rgba(236,47,143,.24);
  z-index:2;
}

.nav-unread-badge[hidden]{
  display:none!important;
}

@media (max-width:360px){
  .navin{padding-left:4px;padding-right:4px}
  .nav button > .nav-label,
  .nav button > .nav-message-label{font-size:9.5px!important}
  .nav button > .nav-icon{font-size:19px}
}

/* =========================================================
   TGMarkt V10.13 – mobile chat readability
   ========================================================= */

@media (max-width: 680px) {
  #page-msgChat .messages-v100-chat,
  #page-msgChat .messages-v100-thread-body,
  #page-msgChat .message-chat-body,
  #page-msgChat [data-message-list]{
    padding-left:10px!important;
    padding-right:10px!important;
  }

  #page-msgChat .messages-v103-message,
  #page-msgChat .messages-v100-message,
  #page-msgChat .message-bubble{
    max-width:88%!important;
    min-width:72px;
    width:auto;
    margin-bottom:8px!important;
    padding:11px 13px!important;
    border-radius:16px!important;
    box-sizing:border-box;
    font-size:15px!important;
    line-height:1.42!important;
    letter-spacing:0!important;
  }

  #page-msgChat .messages-v103-message p,
  #page-msgChat .messages-v100-message p,
  #page-msgChat .message-bubble p,
  #page-msgChat .messages-v103-message .message-text,
  #page-msgChat .messages-v100-message .message-text{
    font-size:15px!important;
    line-height:1.42!important;
    margin:0!important;
    overflow-wrap:anywhere;
    word-break:normal;
  }

  #page-msgChat .messages-v103-message small,
  #page-msgChat .messages-v100-message small,
  #page-msgChat .message-bubble small,
  #page-msgChat .messages-v103-message .message-time,
  #page-msgChat .messages-v100-message .message-time{
    display:block;
    margin-top:7px!important;
    font-size:10px!important;
    line-height:1.15!important;
    opacity:.68;
    text-align:right;
  }

  #page-msgChat .messages-v103-message.is-own,
  #page-msgChat .messages-v100-message.is-own,
  #page-msgChat .message-bubble.is-own{
    margin-left:auto!important;
    margin-right:0!important;
  }

  #page-msgChat .messages-v103-message:not(.is-own),
  #page-msgChat .messages-v100-message:not(.is-own),
  #page-msgChat .message-bubble:not(.is-own){
    margin-left:0!important;
    margin-right:auto!important;
  }

  /* Single-line short messages should still feel substantial. */
  #page-msgChat .messages-v103-message:has(.message-text),
  #page-msgChat .messages-v100-message:has(.message-text){
    min-height:48px;
  }

  /* Day divider readable but discreet. */
  #page-msgChat .messages-v100-day,
  #page-msgChat .messages-v103-day,
  #page-msgChat .message-day-divider{
    margin:10px auto 14px!important;
    padding:4px 9px!important;
    font-size:10px!important;
    border-radius:999px!important;
  }

  /* Chat viewport uses almost the full phone width. */
  #page-msgChat .message-chat-shell,
  #page-msgChat .messages-v100-chat-shell{
    width:100%!important;
    max-width:none!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  /* Composer also larger to match the bubbles. */
  #page-msgChat textarea,
  #page-msgChat #messageComposerInput,
  #page-msgChat .message-composer textarea{
    min-height:46px!important;
    font-size:15px!important;
    line-height:1.35!important;
    padding:12px 13px!important;
    border-radius:15px!important;
  }

  #page-msgChat .message-composer,
  #page-msgChat .messages-v100-composer{
    padding:8px 10px max(8px,env(safe-area-inset-bottom))!important;
  }
}

/* Extra small iPhones */
@media (max-width: 390px) {
  #page-msgChat .messages-v103-message,
  #page-msgChat .messages-v100-message,
  #page-msgChat .message-bubble{
    max-width:91%!important;
    font-size:14.5px!important;
    line-height:1.4!important;
    padding:10px 12px!important;
  }

  #page-msgChat .messages-v103-message p,
  #page-msgChat .messages-v100-message p,
  #page-msgChat .message-bubble p{
    font-size:14.5px!important;
  }
}

/* =========================================================
   TGMarkt V10.14 — REAL mobile chat selectors
   Targets renderMessageThreadV103() / messages-v106-*
   ========================================================= */

@media (max-width: 700px) {

  #messageChatMessages {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 12px 18px !important;
    overflow-x: hidden !important;
  }

  #messageChatMessages .messages-v106-row {
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 10px !important;
  }

  #messageChatMessages .messages-v106-row.other {
    justify-content: flex-start !important;
    padding-right: 7% !important;
  }

  #messageChatMessages .messages-v106-row.own {
    justify-content: flex-end !important;
    padding-left: 7% !important;
  }

  #messageChatMessages .messages-v106-bubble {
    width: auto !important;
    min-width: 92px !important;
    max-width: 92% !important;
    box-sizing: border-box !important;
    padding: 13px 15px 10px !important;
    border-radius: 18px !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  #messageChatMessages .messages-v106-row.other .messages-v106-bubble {
    border-bottom-left-radius: 7px !important;
  }

  #messageChatMessages .messages-v106-row.own .messages-v106-bubble {
    border-bottom-right-radius: 7px !important;
  }

  #messageChatMessages .messages-v106-text {
    display: block !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    white-space: pre-wrap !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  #messageChatMessages .messages-v106-meta {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 8px !important;
    min-height: 13px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    opacity: .7 !important;
  }

  #messageChatMessages .messages-v106-meta time {
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  #messageChatMessages .messages-v106-read {
    font-size: 10px !important;
  }

  #messageChatMessages .messages-v106-day {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 5px 0 14px !important;
  }

  #messageChatMessages .messages-v106-day span {
    padding: 5px 9px !important;
    border-radius: 999px !important;
    font-size: 10px !important;
    line-height: 1 !important;
  }

  /* Composer uses the real IDs from the app. */
  #messageComposeForm {
    box-sizing: border-box !important;
    padding: 9px 10px max(9px, env(safe-area-inset-bottom)) !important;
  }

  #messageComposeText {
    min-height: 48px !important;
    max-height: 130px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
  }

  #messageComposeSend {
    min-width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
  }
}

/* Normal iPhone widths: use even more of the screen. */
@media (max-width: 430px) {
  #messageChatMessages {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  #messageChatMessages .messages-v106-row.other {
    padding-right: 3% !important;
  }

  #messageChatMessages .messages-v106-row.own {
    padding-left: 3% !important;
  }

  #messageChatMessages .messages-v106-bubble {
    max-width: 94% !important;
    min-width: 96px !important;
    padding: 13px 14px 10px !important;
  }

  #messageChatMessages .messages-v106-text {
    font-size: 16px !important;
  }
}

/* =========================================================
   TGMarkt V10.15 – PushUp emphasis in My Ads
   ========================================================= */

.myads-v115-pushup-strip{
  width:calc(100% - 20px);
  margin:0 10px 10px;
  padding:10px 12px;
  border:1px solid rgba(236,47,143,.22);
  border-radius:13px;
  background:linear-gradient(135deg,#fff7fb 0%,#fff 72%);
  display:grid;
  grid-template-columns:34px 1fr auto;
  align-items:center;
  gap:9px;
  text-align:left;
  cursor:pointer;
  box-sizing:border-box;
  box-shadow:0 3px 12px rgba(236,47,143,.07);
}

.myads-v115-pushup-strip-icon{
  width:32px;
  height:32px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ec2f8f;
  color:#fff;
  font-size:16px;
  box-shadow:0 4px 10px rgba(236,47,143,.20);
}

.myads-v115-pushup-strip-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:1px;
}

.myads-v115-pushup-strip-copy strong{
  color:#1d2025;
  font-size:11px;
  line-height:1.15;
  font-weight:850;
}

.myads-v115-pushup-strip-copy small{
  color:#7b8490;
  font-size:8.5px;
  line-height:1.25;
}

.myads-v115-pushup-strip-cta{
  color:#ec2f8f;
  font-size:9px;
  font-weight:850;
  white-space:nowrap;
}

.myads-v115-pushup-action{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(236,47,143,.24)!important;
  background:linear-gradient(135deg,#fff5fa 0%,#fff 76%)!important;
}

.myads-v115-pushup-action:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:#ec2f8f;
}

.myads-v115-pushup-icon{
  width:36px;
  height:36px;
  border-radius:11px;
  background:#ec2f8f;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
  flex:0 0 auto;
  box-shadow:0 4px 11px rgba(236,47,143,.20);
}

.myads-v115-pushup-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1px;
  min-width:0;
}

.myads-v115-pushup-copy .myads-v115-eyebrow{
  color:#ec2f8f!important;
  font-size:7px!important;
  line-height:1!important;
  letter-spacing:.08em;
  font-weight:900;
}

.myads-v115-pushup-copy strong{
  color:#171a1f!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:900!important;
}

.myads-v115-pushup-copy em{
  color:#7b8490;
  font-size:8.5px;
  line-height:1.25;
  font-style:normal;
}

.myads-v115-pushup-highlight{
  animation:tgPushUpPulse .85s ease;
}

@keyframes tgPushUpPulse{
  0%,100%{transform:scale(1)}
  45%{transform:scale(1.015);box-shadow:0 0 0 4px rgba(236,47,143,.12)}
}

@media(max-width:430px){
  .myads-v115-pushup-strip{
    width:calc(100% - 16px);
    margin:0 8px 9px;
    grid-template-columns:32px 1fr auto;
    padding:9px 10px;
  }
}

/* =========================================================
   TGMarkt V10.16 – functional PushUp action
   ========================================================= */
















/* =========================================================
   TGMarkt V10.17 – PushUp checkout
   ========================================================= */
.pushup-v117-checkout{display:flex;flex-direction:column;gap:10px}
.pushup-v117-hero{display:grid;grid-template-columns:42px 1fr;gap:11px;align-items:start;padding:12px;border:1px solid #f2c6dd;border-radius:15px;background:linear-gradient(135deg,#fff4fa,#fff)}
.pushup-v117-rocket{width:40px;height:40px;border-radius:12px;background:#ec2f8f;display:flex;align-items:center;justify-content:center;font-size:20px;box-shadow:0 4px 12px rgba(236,47,143,.18)}
.pushup-v117-hero small{display:block;color:#ec2f8f;font-size:8px;font-weight:900;letter-spacing:.08em}
.pushup-v117-hero strong{display:block;margin-top:3px;color:#171a1f;font-size:14px;font-weight:900}
.pushup-v117-hero p{margin:5px 0 0;color:#727b87;font-size:10px;line-height:1.4}
.pushup-v117-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pushup-v117-summary>div{padding:11px;border:1px solid #e5e8ed;border-radius:13px;background:#f7f8fa}
.pushup-v117-summary span,.pushup-v117-summary strong{display:block}
.pushup-v117-summary span{color:#858d98;font-size:8px}
.pushup-v117-summary strong{margin-top:3px;color:#1b1e23;font-size:13px;font-weight:900}
.pushup-v117-warning{padding:10px 11px;border-radius:12px;background:#fff8e8;border:1px solid #efdca7}
.pushup-v117-warning strong,.pushup-v117-warning span{display:block}
.pushup-v117-warning strong{font-size:10px;color:#5e4a14}
.pushup-v117-warning span{margin-top:3px;font-size:8.5px;line-height:1.35;color:#806d38}
.pushup-v117-pay{width:100%;padding:11px;border-radius:14px;border:1px solid #e1e5ea;background:#fff;display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:center;text-align:left}
.pushup-v117-pay>span{width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#f0f2f5;color:#14171c;font-size:15px}
.pushup-v117-pay div strong,.pushup-v117-pay div small{display:block}
.pushup-v117-pay div strong{font-size:11px;color:#16191e;font-weight:850}
.pushup-v117-pay div small{margin-top:2px;font-size:8.5px;color:#7c8490}
.pushup-v117-pay.credit:not(:disabled){border-color:#c7e9dc;background:#f4fbf8}
.pushup-v117-pay.credit:not(:disabled)>span{background:#dff5eb;color:#087e55}
.pushup-v117-pay.online:not(:disabled){border-color:#f0c2db;background:#fff7fb}
.pushup-v117-pay.online:not(:disabled)>span{background:#fde3f1;color:#c52275}
.pushup-v117-pay:disabled{opacity:.48}
.pushup-v117-footnote{text-align:center;color:#8d949e;font-size:8px;line-height:1.3;padding:2px 8px}

/* TGMarkt V10.18 — visible PushUp loading/error state */
.pushup-v118-checkout{display:flex;flex-direction:column;gap:10px}
.pushup-v118-loading{min-height:112px;border:1px solid #e5e8ed;border-radius:14px;background:#f7f8fa;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:14px}
.pushup-v118-loading[hidden]{display:none!important}
.pushup-v118-spinner{width:24px;height:24px;border-radius:50%;border:3px solid #e5e8ed;border-top-color:#ec2f8f;animation:tgPushSpin .75s linear infinite;margin-bottom:8px}
.pushup-v118-loading strong{font-size:11px;color:#1d2025}
.pushup-v118-loading small{margin-top:3px;font-size:8.5px;color:#858d98}
@keyframes tgPushSpin{to{transform:rotate(360deg)}}
.pushup-v118-error{padding:12px;border:1px solid #efc2c8;border-radius:13px;background:#fff5f6}
.pushup-v118-error strong,.pushup-v118-error span{display:block}
.pushup-v118-error strong{color:#a72436;font-size:11px}
.pushup-v118-error span{margin-top:4px;color:#7b5960;font-size:9px;line-height:1.4;overflow-wrap:anywhere}
.pushup-v118-retry{width:100%;min-height:42px;border:0;border-radius:12px;background:#111318;color:#fff;font-size:10px;font-weight:850}
#pushupCheckoutContent[hidden]{display:none!important}

/* =========================================================
   TGMarkt V10.19 — PushUp directly on each listing
   ========================================================= */
.myads-v119-card-actions{
  grid-template-columns:minmax(0,1.2fr) minmax(0,1.05fr) minmax(0,.9fr) 42px!important;
  gap:7px!important;
}

.myads-v119-card-actions > button{
  min-width:0!important;
}

.myads-v119-pushup{
  background:#ec2f8f!important;
  border-color:#ec2f8f!important;
  color:#fff!important;
  font-weight:850!important;
  box-shadow:0 4px 12px rgba(236,47,143,.17);
}

.myads-v119-pushup:active{
  transform:scale(.98);
}

.myads-v119-pushup:disabled{
  background:#eef0f3!important;
  border-color:#eef0f3!important;
  color:#a1a7af!important;
  box-shadow:none;
}

.myads-v119-more{
  width:42px!important;
  min-width:42px!important;
  padding:0!important;
  font-size:20px!important;
  line-height:1!important;
  letter-spacing:1px;
  color:#58616d!important;
  background:#eef0f3!important;
}

/* V10.20: PushUp is available both directly and under ⋯ Mehr. */

@media(max-width:430px){
  .myads-v119-card-actions{
    grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,.86fr) 38px!important;
    gap:5px!important;
  }
  .myads-v119-card-actions > button{
    padding-left:5px!important;
    padding-right:5px!important;
    font-size:10px!important;
  }
  .myads-v119-more{
    width:38px!important;
    min-width:38px!important;
    font-size:18px!important;
  }
}



/* =========================================================
   TGMarkt V10.20 – shared PushUp entry
   ========================================================= */






.myads-v119-pushup:disabled{
  opacity:.55!important;
}

/* =========================================================
   TGMarkt V10.21 — global PushUp sheet
   ========================================================= */
.pushup-v121-overlay{
  position:fixed;
  inset:0;
  z-index:10050;
  display:none;
  align-items:flex-end;
  justify-content:center;
}

.pushup-v121-overlay.open{
  display:flex;
}

.pushup-v121-backdrop{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  padding:0;
  background:rgba(13,16,21,.46);
  backdrop-filter:blur(1.5px);
}

.pushup-v121-sheet{
  position:relative;
  z-index:1;
  width:min(100%,620px);
  max-height:min(82vh,760px);
  overflow:hidden;
  border-radius:24px 24px 0 0;
  background:#fff;
  box-shadow:0 -14px 45px rgba(18,22,28,.20);
  display:flex;
  flex-direction:column;
  padding-bottom:max(12px,env(safe-area-inset-bottom));
}

.pushup-v121-handle{
  width:48px;
  height:5px;
  border-radius:999px;
  background:#d6dbe1;
  margin:10px auto 5px;
}

.pushup-v121-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 18px 12px;
  border-bottom:1px solid #eceef2;
}

.pushup-v121-header small{
  display:block;
  color:#ec2f8f;
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
}

.pushup-v121-header h2{
  margin:2px 0 0;
  color:#171a1f;
  font-size:21px;
  line-height:1.1;
}

.pushup-v121-close{
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:#f1f3f6;
  color:#1689f4;
  font-size:28px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
}

.pushup-v121-body{
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding:14px 16px 18px;
}

body.pushup-v121-open{
  overflow:hidden;
}

@media(min-width:700px){
  .pushup-v121-overlay{
    align-items:center;
  }
  .pushup-v121-sheet{
    border-radius:22px;
    max-height:78vh;
  }
}

/* =========================================================
   TGMarkt V10.22 — promotion chooser
   ========================================================= */
.promo-v122{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.promo-v122-intro{
  padding:12px 13px;
  border-radius:15px;
  border:1px solid #eceef2;
  background:#f8f9fb;
}

.promo-v122-intro small{
  display:block;
  color:#ec2f8f;
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
}

.promo-v122-intro strong{
  display:block;
  margin-top:4px;
  color:#171a1f;
  font-size:15px;
  font-weight:900;
}

.promo-v122-intro p{
  margin:5px 0 0;
  color:#77808c;
  font-size:10px;
  line-height:1.4;
}

.promo-v122-option{
  width:100%;
  min-height:68px;
  padding:11px 12px;
  border:1px solid #e3e6eb;
  border-radius:15px;
  background:#fff;
  display:grid;
  grid-template-columns:42px 1fr auto;
  align-items:center;
  gap:10px;
  text-align:left;
}

.promo-v122-option .promo-v122-icon{
  width:40px;
  height:40px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f1f3f6;
  font-size:18px;
}

.promo-v122-option.pushup{
  border-color:#f1c4dd;
  background:#fff7fb;
}

.promo-v122-option.pushup .promo-v122-icon{
  background:#ec2f8f;
  color:#fff;
}

.promo-v122-option.premium .promo-v122-icon{
  background:#e8f3ff;
  color:#147ed6;
}

.promo-v122-option.highlight .promo-v122-icon{
  background:#fff3df;
  color:#d47b00;
}

.promo-v122-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}

.promo-v122-copy strong{
  color:#171a1f;
  font-size:12px;
  font-weight:850;
}

.promo-v122-copy small{
  color:#7c8590;
  font-size:9px;
  line-height:1.3;
}

.promo-v122-option>b{
  color:#8c949e;
  font-size:20px;
  font-weight:500;
}

.promo-v122-note{
  padding:9px 11px;
  border-radius:12px;
  background:#f6f7f9;
  color:#8a929d;
  font-size:8.5px;
  line-height:1.4;
}

.promo-v122-coming{
  min-height:220px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:20px 14px;
}

.promo-v122-coming>span{
  width:54px;
  height:54px;
  border-radius:17px;
  background:#f1f3f6;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:25px;
}

.promo-v122-coming>strong{
  margin-top:12px;
  color:#171a1f;
  font-size:17px;
  font-weight:900;
}

.promo-v122-coming>p{
  max-width:360px;
  margin:7px 0 16px;
  color:#7b8490;
  font-size:10px;
  line-height:1.45;
}

.promo-v122-coming button{
  min-width:140px;
}

/* =========================================================
   TGMarkt V10.23 – promotion UI polish
   ========================================================= */

/* Normal menu row: no clipping, no oversized content. */












/* Neutralize older boost-row styling that caused clipping. */




/* Chooser status */
.promo-v123-status{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:10px 12px;
  border-radius:12px;
  background:#f6f7f9;
  font-size:9px;
  line-height:1.3;
}

.promo-v123-status .ready{
  color:#078052;
  font-weight:800;
}

.promo-v123-status .pending{
  color:#858d98;
}

.promo-v123-unavailable{
  min-height:250px;
  padding:22px 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.promo-v123-unavailable>span{
  width:58px;
  height:58px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f1f3f6;
  font-size:26px;
}

.promo-v123-unavailable>strong{
  margin-top:12px;
  color:#171a1f;
  font-size:18px;
  font-weight:900;
}

.promo-v123-unavailable>p{
  max-width:390px;
  margin:8px 0 18px;
  color:#7c8590;
  font-size:10px;
  line-height:1.5;
}

.promo-v123-unavailable button{
  min-width:170px;
}

/* On mobile the chooser should breathe but stay compact. */
@media(max-width:430px){
  .pushup-v121-body{
    padding:12px 14px 16px!important;
  }

  .promo-v122-option{
    min-height:66px!important;
    padding:10px 11px!important;
  }

  .promo-v122-intro{
    padding:11px 12px!important;
  }
}

/* =========================================================
   TGMarkt V10.24 — final promote row reset
   ========================================================= */


/* TGMarkt V10.25 — promote row uses native sheet layout */
.myads-v96-sheet-actions button.promote-v125{
  background:#fff8fc!important;
  border-left:4px solid #ec2f8f!important;
  padding-left:8px!important;
}

.myads-v96-sheet-actions button.promote-v125>span{
  background:#fff0f7!important;
}

.myads-v96-sheet-actions button.promote-v125 strong{
  color:#171a1f!important;
}

.myads-v96-sheet-actions button.promote-v125 small{
  color:#ec2f8f!important;
}

.myads-v96-sheet-actions button.promote-v125 div{
  min-width:0!important;
  overflow:hidden!important;
}

.myads-v96-sheet-actions button.promote-v125 strong,
.myads-v96-sheet-actions button.promote-v125 small{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* TGMarkt V10.31 – in-app PushUp payment methods */
.pushup-v131-methods{display:flex;flex-direction:column;gap:9px}
.pushup-v131-method{width:100%;min-height:66px;border:1px solid #e2e6eb;border-radius:15px;background:#fff;display:grid;grid-template-columns:42px minmax(0,1fr) 20px;align-items:center;gap:10px;padding:10px 12px;text-align:left}
.pushup-v131-method>span{width:40px;height:40px;border-radius:12px;background:#f2f4f7;display:flex;align-items:center;justify-content:center;font-weight:900}
.pushup-v131-method.wallet>span{background:#eaf8f2;color:#078052}
.pushup-v131-method.paypal2>span{background:#edf4ff;color:#1268c4}
.pushup-v131-method>div{min-width:0}
.pushup-v131-method strong,.pushup-v131-method small{display:block}
.pushup-v131-method strong{color:#171a1f;font-size:12px;font-weight:850}
.pushup-v131-method small{margin-top:3px;color:#808995;font-size:9px}
.pushup-v131-method>b{color:#969da6;font-size:20px;font-weight:500}
.pushup-v131-method:disabled{opacity:.42}
.pushup-v131-success,.pushup-v131-bank{min-height:280px;padding:22px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.pushup-v131-success>span,.pushup-v131-bank>span{width:58px;height:58px;border-radius:18px;background:#eaf8f2;color:#078052;display:flex;align-items:center;justify-content:center;font-size:28px}
.pushup-v131-bank>span{background:#f1f4f8}
.pushup-v131-success>strong,.pushup-v131-bank>strong{margin-top:12px;color:#171a1f;font-size:18px;font-weight:900}
.pushup-v131-success>p,.pushup-v131-bank>p{margin:7px 0;max-width:390px;color:#747d89;font-size:10px;line-height:1.45}
.pushup-v131-success>small,.pushup-v131-bank>small{color:#8a929c;font-size:9px}
.pushup-v131-success>button,.pushup-v131-bank>button{margin-top:18px;min-width:170px;min-height:42px;border:0;border-radius:12px;background:#111318;color:#fff;font-weight:850}
.pushup-v131-bank dl{width:100%;margin:12px 0;border:1px solid #e3e6eb;border-radius:14px;overflow:hidden;text-align:left}
.pushup-v131-bank dl>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;padding:9px 11px;border-bottom:1px solid #eceef2}
.pushup-v131-bank dl>div:last-child{border-bottom:0}
.pushup-v131-bank dt{color:#7d8590;font-size:9px}
.pushup-v131-bank dd{margin:0;color:#171a1f;font-size:9px;font-weight:800;overflow-wrap:anywhere}

/* =========================================================
   TGMarkt V10.32 – PushUp cooldown + promotion badges
   ========================================================= */
.tg-v132-promo{
  display:inline-flex;
  align-items:center;
  gap:3px;
  min-height:20px;
  padding:3px 7px;
  border-radius:999px;
  font-size:10px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
  box-shadow:0 2px 8px rgba(12,18,28,.08);
}
.tg-v132-promo.pushup{
  background:#fff1df;
  color:#d96a00;
  border:1px solid #ffd8aa;
}
.tg-v132-promo.premium{
  background:#eef5ff;
  color:#146cc0;
  border:1px solid #cfe3ff;
}

.myads-v132-promos{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin:6px 0 1px;
}
.myads-v132-promos span{
  display:inline-flex;
  align-items:center;
  min-height:20px;
  padding:3px 7px;
  border-radius:999px;
  font-size:9px;
  line-height:1;
  font-weight:900;
}
.myads-v132-promos .pushup{
  background:#fff1df;
  color:#d96a00;
  border:1px solid #ffd8aa;
}
.myads-v132-promos .premium{
  background:#eef5ff;
  color:#146cc0;
  border:1px solid #cfe3ff;
}

.myads-v119-pushup.cooldown,
.myads-v119-pushup.cooldown:disabled{
  background:#e9edf2!important;
  color:#7d8792!important;
  border-color:#dde2e7!important;
  opacity:1!important;
  font-size:10px!important;
}

.pushup-v132-cooldown{
  margin:10px 0;
  padding:12px 13px;
  border:1px solid #f0d39a;
  border-radius:14px;
  background:#fff8e8;
}
.pushup-v132-cooldown strong,
.pushup-v132-cooldown span{
  display:block;
}
.pushup-v132-cooldown strong{
  color:#825d0b;
  font-size:12px;
  font-weight:900;
}
.pushup-v132-cooldown span{
  margin-top:4px;
  color:#9a7628;
  font-size:10px;
  line-height:1.35;
}

/* =========================================================
   TGMarkt V10.33 – public PushUp/Premium visibility
   ========================================================= */
.tg-v133-card-promotions{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin:0 0 7px;
}
.tg-v133-card-promotions span,
.detail-v133-promotions span{
  display:inline-flex;
  align-items:center;
  gap:4px;
  min-height:23px;
  padding:4px 8px;
  border-radius:999px;
  font-size:10px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
}
.tg-v133-card-promotions .pushup,
.detail-v133-promotions .pushup{
  background:#fff3e5;
  color:#d66a00;
  border:1px solid #ffc980;
}
.tg-v133-card-promotions .premium,
.detail-v133-promotions .premium{
  background:#eef5ff;
  color:#1469bd;
  border:1px solid #c9e0ff;
}
.detail-v133-promotions{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:10px 0 12px;
}
.detail-v133-promotions span{
  min-height:30px;
  padding:6px 11px;
  font-size:11px;
}
