[html]<style>/* === INSTAGRAM POST + RUSFF REPUTATION === */
.ig-card {
width: 100%;
max-width: 440px;
margin: 12px auto;
background: #ffffff;
border: 1px solid #dbdbdb;
border-radius: 8px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
color: #262626;
overflow: hidden;
box-sizing: border-box;
}
.ig-card * { box-sizing: border-box; }
.ig-head {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 14px;
}
.ig-author {
display: flex;
align-items: center;
gap: 10px;
}
.ig-ava {
width: 34px;
height: 34px;
border-radius: 50%;
object-fit: cover;
border: 1px solid rgba(0, 0, 0, 0.12);
flex-shrink: 0;
}
.ig-meta {
display: flex;
flex-direction: column;
line-height: 1.25;
}
.ig-nick { font-size: 13px; font-weight: 700; color: #262626; }
.ig-loc { font-size: 11px; color: #737373; }
.ig-dots-menu { font-weight: 700; font-size: 16px; letter-spacing: 1px; }
/* Карусель */
.ig-media {
display: flex;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
aspect-ratio: 4 / 5;
background: #111;
scrollbar-width: thin;
scrollbar-color: #0095f6 #efefef;
}
.ig-media::-webkit-scrollbar { height: 5px; }
.ig-media::-webkit-scrollbar-track { background: #efefef; }
.ig-media::-webkit-scrollbar-thumb { background: #0095f6; border-radius: 4px; }
.ig-media img {
width: 100%;
height: 100%;
flex: 0 0 100%;
object-fit: cover;
scroll-snap-align: start;
display: block;
}
/* Нижняя панель и кнопка лайка */
.ig-bottom {
padding: 10px 14px 14px;
font-size: 13px;
line-height: 1.42;
}
.ig-icons {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
user-select: none;
}
.ig-icons-left {
display: flex;
align-items: center;
gap: 12px;
font-size: 19px;
}
.ig-like-btn {
background: none;
border: none;
padding: 0;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
transition: transform 0.15s ease;
}
.ig-like-btn:hover { transform: scale(1.12); }
.ig-like-btn:active { transform: scale(0.95); }
.ig-like-btn svg {
width: 24px;
height: 24px;
fill: none;
stroke: #262626;
stroke-width: 1.8;
transition: fill 0.2s, stroke 0.2s;
}
.ig-like-btn.is-liked svg {
fill: #ed4956;
stroke: #ed4956;
}
.ig-likes { font-weight: 700; margin-bottom: 5px; }
.ig-text { margin-bottom: 6px; word-break: break-word; }
.ig-text b { font-weight: 700; margin-right: 5px; }
.ig-time { font-size: 10px; text-transform: uppercase; color: #8e8e8e; }
</style>
<div class="ig-card">
<div class="ig-head">
<div class="ig-author">
<img class="ig-ava" src="https://unsplash.com" alt="">
<div class="ig-meta">
<span class="ig-nick">character.name</span>
<span class="ig-loc">Лондон, Великобритания</span>
</div>
</div>
<div class="ig-dots-menu">•••</div>
</div>
<div class="ig-media">
<img src="https://unsplash.com" alt="">
<img src="https://unsplash.com" alt="">
<img src="https://unsplash.com" alt="">
</div>
<div class="ig-bottom">
<div class="ig-icons">
<div class="ig-icons-left">
<button type="button" class="ig-like-btn" title="Поставить лайк (+ к репутации)">
<svg viewBox="0 0 24 24"><path d="M12 20.5s-7.5-4.7-9.5-9.2C1 8 3 4.5 6.6 4.5c2.1 0 3.7 1.1 5.4 3 1.7-1.9 3.3-3 5.4-3 3.6 0 5.6 3.5 4.1 6.8-2 4.5-9.5 9.2-9.5 9.2z"/></svg>
</button>
<span>💬</span>
<span>➤</span>
</div>
<span>🔖</span>
</div>
<div class="ig-likes">Нравится: <span class="ig-rep-count">0</span></div>
<div class="ig-text"><b>character.name</b>Вечерняя прогулка после съёмок. Листайте вправо →</div>
<div class="ig-time">3 часа назад</div>
</div>
</div>
[/html]