@charset "UTF-8";
/*

Author: Max


/* ===== GRID ===== */
#grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}

/* ===== ITEM ===== */
.item {
position: relative;
aspect-ratio: 4/5;
border-radius: 10px;
overflow: hidden;
}

.item img {
width: 100%;
height: 100%;
object-fit: cover;
cursor: pointer;
transition: 0.3s;
}

/* 🔥 BLUR SYSTEM (NUR NOCH .is-blur) */
.item.is-blur img {
filter: blur(14px);
transform: scale(1.05);
}

.owner-blur {
    background: rgba(255, 200, 0, 0.2);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 11px;
    margin-left: 6px;
}

.owner-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.9);
    color: #000;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 12;
}

/* ✅ echter Blur Overlay (ersetzt ::after sauber) */
.blur-layer {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
	pointer-events: none; /* 🔥 DAS IST DER FIX */
    z-index: 5;
}

/* Button */
.blur-btn {
    background: #ff0066;
    color: #fff;
    padding: 10px 18px;
	pointer-events: none;
	border: 1px solid;
    border-radius: 8px;
    font-size: 14px;
}

/* Hover */
.item:hover img {
transform: scale(1.08);
}

/* ===== OVERLAY (IMMER OBEN) ===== */
.overlay {
position: absolute;
bottom: 0;
width: 100%;
background: rgba(0,0,0,0.6);
color: #fff;
padding: 6px;
font-size: 12px;
display: flex;
flex-direction: column;
z-index: 20;
}
.overlay-bottom {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #ddd;
}

/* Gruppe */
.action {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* 🔥 FIX: SVG sauber zentrieren */
.action svg {
    width: 18px;
    height: 18px;
    display: block;
    margin: auto 0;
}

.count {
    font-size: 13px;
    display: flex;
    align-items: center;
}

/* Hover Effekt */
.action:hover svg {
    color: #fff;
}

.delete {
margin-left: auto;
}

.like, .cc {
    filter: none !important;
    opacity: 1 !important;
}

/* 🔥 Text größer */
.post-text {
font-size: 16px;
}

/* ===== ICONS ===== */
.like,
.delete,
.cc {
cursor: pointer;
margin-right: 1px;
}

/* ❤️ Like Hover */
.action.like:hover svg {
    stroke: #ff2d55;   /* iOS/Instagram Rot */
    fill: #ff2d55;
}

.action svg {
    transition: all 0.2s ease;
}

/* ===== beiträge ausgabe - shortcode ===== */
.mp-home-grid {
	width: 100%;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px;
}

.mp-home-item {
   display: block;
	overflow: hidden;
    border-radius: 10px;
}

.mp-home-item img {
    width: 100%;
    aspect-ratio: 5 / 9;
    max-height: 520px; /* 🔥 verhindert zu hohe Bilder */
    object-fit: cover;
    border-radius: 8px;
	transition: transform 0.3s ease;
    display: block;
}

.mp-home-item:hover img {
    transform: scale(1.08);
	border-radius: 8px;
}

/* 🔥 NEU: Wrapper für Bild */
.mp-home-item a {
    display: block;
    overflow: hidden;
}

/* Hover nur im Bildbereich */
.mp-home-item a:hover img {
    transform: scale(1.08);
}

.mp-home-item h3 {
    font-size: 14px;
    margin-top: 6px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.94);
z-index: 9999;
}

/* CLOSE */
.closeX {
position: absolute;
top: 20px;
right: 25px;
color: #fff;
font-size: 22px;
cursor: pointer;
opacity: 0.7;
transition: 0.2s;
z-index: 9999;
}

.closeX:hover {
opacity: 1;
transform: scale(1.1);
}

/* ===== LAYOUT ===== */
.lb-wrap {
display: flex;
height: 100vh;
padding: 30px 0;
box-sizing: border-box;
}

/* IMAGE */
.lb-image {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
}

/* 🔥 wichtig für overlay */
.lb-inner {
position: relative;
width: 100%;
max-width: 700px;
aspect-ratio: 4/5;
overflow: hidden;
border-radius: 10px;
}

/* Bild */
.lb-inner img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}

/* Hover Zoom */
.lb-inner:hover img {
transform: scale(1.08);
}

/* 🔥 LIGHTBOX BLUR (NUR .is-blur) */
.lightbox.is-blur .lb-inner img {
filter: blur(14px);
transform: scale(1.05);
}

/* 🔥 LIGHTBOX BLUR OVERLAY */
.lightbox.is-blur .lb-inner::after {
    content: "🔒 Kommentieren um zu sehen";
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    /* 👉 BUTTON LOOK */
    background: rgba(0,0,0,0.4);

    color: #ff0066;
    font-size: 14px;
    font-weight: 600;

    text-align: center;

    pointer-events: none;
}

/* 🔥 CENTER WRAPPER */
.lightbox.is-blur .lb-inner .unlock-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    z-index: 5;
    pointer-events: none;
}

/* 🔥 BUTTON (weiß + roter Text) */
.lightbox.is-blur .lb-inner .unlock-btn {
    background: #fff;
    color: #ff0066;

    padding: 10px 18px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;
}

/* 🔥 LIGHTBOX BLUR */
.lightbox.is-blur .lb-inner img {
    filter: blur(14px);
    transform: scale(1.05);
}

/* 🔥 DUNKLER OVERLAY */
.lightbox.is-blur .lb-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 3;
}

/* 🔥 BUTTON (zentriert, sauber) */
.lightbox.is-blur .lb-inner::after {
    content: "🔒 Kommentieren um zu sehen";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0066;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    margin: auto;
    width: fit-content;
    height: fit-content;
    z-index: 3;
}

/* 🔥 CENTER WRAPPER */
.lightbox.is-blur .lb-inner .unlock-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    z-index: 5;
    pointer-events: none;
}

/* 🔥 BUTTON (weiß + roter Text) */
.lightbox.is-blur .lb-inner .unlock-btn {
    background: #fff;
    color: #ff0066;

    padding: 10px 18px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;
}

/* 🔒 ICON */
.lightbox.is-blur .lb-inner .unlock-icon {
    width: 38px;
    height: 38px;

    background: #ff0066;
    color: #fff;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    font-weight: bold;
}

/* ===== SIDEBAR ===== */
.side {
width: 340px;
min-width: 340px;
background: #111;
color: #fff;
border-radius: 10px;
margin: 30px 40px 30px 0;
display: flex;
flex-direction: column;
}

/* Avatar Hover */
.lb-avatar {
width: 70px;
height: 70px;
border-radius: 50%;
object-fit: cover;
cursor: pointer;
transition: 0.6s;
filter: drop-shadow(4px 2px 5px rgb(255, 255, 255));
margin-right: 12px;
}

.lb-avatar:hover {
transform: scale(1.12);
opacity: 0.9;
}

.lb-user-link {
    position: relative;
    z-index: 10;
}

.lb-user-link b {
    color: #f06 !important;
    font-weight: 600;
}

/* ===== COMMENTS ===== */

.comment {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.comment a {
    width: 32px;
    flex-shrink: 0;
}

.comment img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.comment img:hover {
    transform: scale(1.12);
    opacity: 0.9;
}

/* 🔥 WICHTIG */
.comment > div {
    background: #1a1a1a;
    padding: 8px 10px;
    border-radius: 10px;
    flex: 1;
}

/* Neu Badge */
.c-new {
    background: #f06;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 6px;
}

/* Delete */
.c-del {
    color: red;
    cursor: pointer;
    font-size: 12px;
}

/* 🔥 HEADER (Name + Zeit + Neu) */
.c-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

/* links: Name + Zeit */
.c-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Username */
.comment b {
    color: #fff;
    font-weight: 600;
}

/* Zeit */
.c-time {
    font-size: 12px;
    color: #888;
}

/* 🔥 TEXT (leicht eingerückt) */
.c-text {
    margin-top: 4px;
    margin-left: 2px;
}

/* Löschen */
.c-del {
    color: red;
    cursor: pointer;
    font-size: 12px;
    margin-top: 4px;
}

/* ===== FORM ===== */
#f {
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 1px solid #eee;
}

#f textarea {
width: 100%;
border-radius: 10px;
padding: 12px;
border: 1px solid #ccc;
margin-bottom: 10px;
}

/* INPUT */
#c-input {
border-radius: 10px 0 0 10px;
border: 1px solid #ccc;
padding: 8px;
}

#c-send {
background: #4c4c4c;
border-radius: 0 10px 10px 0;
padding: 6px 12px;
border: none;
color: #fff;
}


/* ===== FOLLOW CLEAN / EINHEITLICH ===== */

.mp-follow-wrap {
    display: flex;
    align-items: center;
}

/* Gesamt Button */
.mp-follow-combo {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #0080FF, #0066cc);
  border-radius: 4px;
  overflow: hidden;
  font-size: 13px;
  color: #fff;
}

/* Linke Seite (Follower Zahl) */
.mp-follow-left {
    padding: 6px 12px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

/* Zahl */
.mp-follow-count {
    font-weight: 700;
    margin-right: 4px;
}

/* rechte Seite */
.mp-follow-action {
  width: 35px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.85) !important;
  color: #fff !important;
  cursor: pointer !important;
  border-radius: 0px 4px 4px 0px;
  height: 35px;
  border-left: 1px solid #111;
}

/* hover */
.mp-follow-action:hover {
    background: rgba(0,0,0,0.25) !important;
}

/* following */
.mp-follow-action.is-following {
    background: #fff !important;
    color: #0080FF !important;
}

/* ===== follower PLUS ===== */
 .mp-follow-hover {
    position: absolute;
    top: 110%;
    left: 0;
    background: #111;
    border-radius: 8px;
    padding: 10px;
    width: 200px;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.mp-follow-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    color: #fff;
    text-decoration: none;
}

.mp-follow-user img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.mp-follow-hover {
    position: absolute;
    z-index: 9999;
    background: #111;
    border-radius: 10px;
    padding: 10px;
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.mp-follow-title {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 8px;
    font-weight: 500;
}

.mp-follow-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.2s;
}

.mp-follow-user:hover {
    background: rgba(255,255,255,0.08);
}

.mp-follow-user img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.mp-follow-user span {
    color: #fff;
    font-size: 14px;
}

.mp-follow-own {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
}

/* beide Bereiche */
.mp-follow-own span {
    padding: 2px 4px;
    cursor: pointer;
    color: #fff;
    transition: 0.2s;
}

.mp-follow-own .mp-followers {
    background: #0080FF;
    color: #fff;
}

.mp-follow-btn {
    background:#0080FF;
    color:#fff;
    border:none;
    padding:5px 10px;
    border-radius:6px;
    cursor:pointer;
}

.mp-follow-btn.following {
    background:#444;
}

/* CONFIRM BOX */
.mp-confirm-box {
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.9);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.mp-confirm-inner {
  background: #45001C;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #fff;
}

.mp-confirm-inner button {
    margin:5px;
    padding:6px 12px;
	border-radius: 6px;
}

.mp-confirm-inner span {
    color: #fff;
    font-weight: 500;
    font-size: 15px;
}

/* damit Hover nicht alles zerstört */
.mp-follow-own .mp-followers:hover {
    background: #0a6edc;
}

/* Tabs */
.mp-tabs {
    display:flex;
    gap:10px;
}

.mp-tabs .tab {
    cursor:pointer;
    padding:6px 10px;
    border-radius:6px;
    color:#aaa;
    transition:0.2s;
}

.mp-tabs .tab.active {
    background:#0080FF;
    color:#fff;
}

.mp-tabs .tab:hover {
    background: rgba(255,255,255,0.1);
    color:#fff;
}

/* Zahlen */
.mp-follow-own strong {
    color: #fff;
    margin-right: 4px;
}

/* 🔥 TRENNLINIE */
.mp-follow-own .mp-following {
    border-left: 0px solid rgba(255,255,255,0.2);
	background: #0080FF8F;
}

/* 🔥 HOVER */
.mp-follow-own span:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.mp-follow-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
    font-weight:600;
    color:#fff;
    border-bottom:1px solid #333;
    padding-bottom:8px;
}

.mp-follow-header span {
    font-size:15px;
}

.mp-follow-close {
    cursor:pointer;
    font-size:18px;
    color:#aaa;
    transition:0.2s;
}

.mp-follow-close:hover {
    color:#fff;
}

.mp-follow-modal {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.7);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.mp-follow-box {
	background:#111;
	width:320px;
    padding:20px;
    border-radius:6px;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    overflow: hidden !important;
}

.mp-follow-list {
    flex: 1;
    overflow-y: auto;
}


.mp-user-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mp-user-row a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    width: 100%;
}

.mp-user-row img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.mp-user-row span {
    color: #fff;
    font-size: 14px;
}

/* 🔥 HOVER wie dein System */
.mp-user-row:hover {
    background: rgba(255,255,255,0.08);
    
}

.mp-follow-close {
    cursor:pointer;
    text-align:right;
    margin-bottom:10px;
	color: #fff;
}

/* kleiner Pfeil */
.mp-follow-hover::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 20px;
    width: 10px;
    height: 10px;
    background: rgba(20,20,20,0.95);
    transform: rotate(45deg);
}

/* Animation */
@keyframes mpFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mp-f-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    text-decoration: none;
    color: #fff;
}

.mp-f-row img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.mp-f-row:hover {
    background: #222;
}

.mp-f-more {
    margin-top: 6px;
    font-size: 12px;
    color: #888;
}

.mp-follow-more {
    margin-top: 8px;
    font-size: 12px;
    color: #888;
    cursor: pointer;
    text-align: center;
}

.mp-follow-more:hover {
    color: #fff;
}










/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

#grid {
    grid-template-columns: 1fr;
}

.lb-wrap {
    flex-direction: column;
    height: auto;
}

.side {
    width: 100%;
    margin: 0;
    border-radius: 0;
}

.lightbox {
    overflow-y: auto;
}
}