/* Article page styles (external for cache + smaller HTML) */
.classic-view .post h2,
.classic-view .post h3 {
    border-right: none !important;
    border-left: none !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.post li:before {
    display: none;
}
p::before {
    display: none;
}
.waiting-span {
    display: inline-block;
    background-color: rgb(240, 240, 240);
    color: rgb(10, 88, 202);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    margin: 5px 0;
    animation: fadeInOut 2s ease-in-out infinite;
}
@keyframes fadeInOut {
    0% { opacity: 0.5; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0.5; }
}
.spin {
    display: inline-block;
    animation: spin 3s linear infinite;
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}
.sticky-video-ad-wrapper {
    position: fixed;
    bottom: 12px;
    right: 12px;
    width: 600px;
    max-width: 100%;
    z-index: 1040;
    display: none;
    transition: transform .25s ease;
}
.sticky-video-ad-wrapper.is-collapsed {
    transform: translateY(calc(100% - 34px));
}
.sticky-video-ad-content {
    width: 100%;
    position: relative;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}
.sticky-video-ad-wrapper .ad-disclosure-label {
    display: none;
}
.sticky-video-ad-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    background: rgba(0, 0, 0, .75);
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    padding: 4px 8px;
}
.sticky-video-ad-toggle {
    position: absolute;
    right: 8px;
    width: 30px;
    height: 24px;
    border: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, .8);
    color: #fff;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}
.sticky-video-ad-toggle-top {
    top: 8px;
}
.sticky-video-ad-toggle-bottom {
    bottom: 8px;
}
@media (max-width: 640px) {
    .sticky-video-ad-wrapper {
        left: 12px;
        right: 12px;
        width: auto;
        max-width: 100%;
    }
}
.article-panel {
    margin-top: 18px;
    border: 1px solid #e9eef9;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    padding: 18px;
}
.article-panel-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
}
.article-panel-text {
    margin: 0 0 12px;
    color: #5b6785;
}
.article-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.article-share-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 999px;
    padding: 9px 14px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}
.article-share-x { background: #111827; }
.article-share-facebook { background: #1877f2; }
.article-share-whatsapp { background: #25d366; }
.article-share-linkedin { background: #0a66c2; }
.article-author-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.article-author-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
}
.article-author-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.article-author-links a {
    text-decoration: none;
    border-radius: 999px;
    padding: 7px 12px;
    background: #f1f5ff;
    color: #334477;
    font-size: 12px;
    font-weight: 600;
}
.article-comment-box {
    border: 1px solid #e9eef9;
    border-radius: 14px;
    background: #fff;
    padding: 16px;
}
#article-page .article-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 9px;
    overflow: hidden;
    background: #f3f6fb;
    contain: layout style paint;
}
#article-page .article-hero picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
#article-page .article-hero-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 9px;
    object-fit: cover;
    object-position: center;
}
.post-meta img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-left: 5px;
}
.classic-view .post img {
    max-width: 100%;
    height: auto;
}
.article-incontent-ad,
.ad-slot-reserved {
    min-height: 280px;
    contain: layout style;
}
.article-incontent-ad:empty,
.ad-slot-reserved:empty {
    min-height: 0;
}
.article-below-fold {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}
.related-games-stickers,
.after-article-code,
.article-pre-download-ad,
#comments {
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}
