/* =========================================
   iOS 26 ACCORDION (Summary & Details)
   ========================================= */

/* 1. The Container (Glass Card) */
details {
    /* Remove old shadow/background */
    box-shadow: var(--glass-shadow-light, 0 8px 32px 0 rgba(31, 38, 135, 0.15)) !important;
    background: var(--glass-bg-light, rgba(255, 255, 255, 0.65)) !important;
    border: var(--glass-border-light, 1px solid rgba(255, 255, 255, 0.5)) !important;
    border-radius: var(--radius-card, 24px) !important;
    
    /* Glass Effect */
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    
    margin-bottom: 20px !important;
    overflow: hidden;
    transition: all 0.3s ease;
    isolation: auto !important; /* Overrides old code */
}

/* Dark Mode Container */
.dark-skin details {
    background: var(--glass-bg-dark, rgba(20, 25, 40, 0.60)) !important;
    border: var(--glass-border-dark, 1px solid rgba(255, 255, 255, 0.15)) !important;
    box-shadow: var(--glass-shadow-dark, 0 15px 40px rgba(0, 0, 0, 0.4)) !important;
}

/* 2. The Header (Summary) */
summary {
    /* Reset old styles */
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    
    /* iOS Styling */
    padding: 20px 25px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--text-main-light, #1d1d1f) !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Roboto, sans-serif !important;
    cursor: pointer;
    position: relative;
    list-style: none; /* Hide default triangle */
    outline: none;
    transition: background 0.2s;
}

/* Dark Mode Text */
.dark-skin summary {
    color: var(--text-main-dark, #ffffff) !important;
}

summary:hover {
    background: rgba(125, 125, 125, 0.05) !important;
}

/* Hide default marker */
summary::-webkit-details-marker {
    display: none;
}

/* 3. The Icon (Animated Plus) */
summary:after {
    content: '+'; 
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 300;
    color: var(--brand-color, #f09800);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Rotate icon when open */
details[open] summary:after {
    transform: translateY(-50%) rotate(45deg);
}

/* 4. The Content (Expanded Area) */
details[open] summary ~ * {
    /* Reset old styles */
    box-shadow: none !important;
    background: transparent !important;
    margin: 0 !important;
    border-radius: 0 !important;
    isolation: auto !important;

    /* iOS Styling */
    padding: 0 25px 25px 25px !important;
    color: var(--text-sub-light, #3c3c43) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    
    /* Separator Line */
    border-top: 1px solid rgba(150, 150, 150, 0.1);
    
    /* Smooth Fade In */
    animation: iosSlideDown 0.3s ease forwards;
}

.dark-skin details[open] summary ~ * {
    color: var(--text-sub-dark, #ebebf5) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 5. Animation Keyframes */
@keyframes iosSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


.button {
    display: inline-flex;
    align-items: center;
    margin: 15px 15px 15px 0;
    padding: 10px 20px;
    outline: 0;
    border: 0;
    color: #fefefe;
    background-color: #f09800;
    border-radius: 3px;
    font-family: Noto Sans;
    font-size: 13px;
    line-height: 22px;
}


.Blog .post .post-entry p {
    margin: 1.7em 0;
}
.Blog .note {
    position: relative;
    padding: 20px 30px 20px 50px;
    background-color: #e1f5fe;
    color: #01579b;
    font-family: Noto Sans;
    font-size: .87rem;
    line-height: 1.62em;
    border-radius: 3px;
}

.Blog .post blockquote, .post pre, .post code, h1, .note {
    -webkit-touch-callout: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -ms-user-select: text;
    -moz-user-select: text;
}
.Blog .post blockquote, .post pre, .post code, .note, .note noteAlert, kbd, .code, .referensi, .source, .izincopy, h1 {
    -webkit-touch-callout: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -ms-user-select: text;
    -moz-user-select: text;
}
.Blog blockquote {
    position: relative;
    font-family: Noto Sans;
    font-size: .9rem;
    line-height: 1.62em;
    margin-left: 0;
    margin-right: 0;
    padding: 30px 25px;
    border-left: 2px solid #ebeced;
}


blockquote {
    position: relative;
    font-size: 15px;
    margin: 1.7em 0;
    padding: 30px 25px 30px 90px;
    border-radius: 3px;
    border: 2px solid rgba(230,230,230,1);
}
*, :after, :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
user agent stylesheet
blockquote {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 40px;
    margin-inline-end: 40px;
}












/* =========================================
   iOS 26 DRAMA INFO WIDGET (.box.shadow)
   ========================================= */

/* 1. The Container (Glass Card) */
.box.shadow {
    /* Light Mode Glass */
    background: var(--glass-bg-light, rgba(255, 255, 255, 0.65)) !important;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: var(--glass-border-light, 1px solid rgba(255, 255, 255, 0.5)) !important;
    border-radius: var(--radius-card, 24px) !important;
    box-shadow: var(--glass-shadow-light, 0 8px 32px 0 rgba(31, 38, 135, 0.15)) !important;
    
    /* Spacing */
    padding: 25px !important;
    margin-bottom: 30px !important;
    position: relative;
    overflow: hidden;
}

/* Dark Mode Glass Override */
.dark-skin .box.shadow {
    background: var(--glass-bg-dark, rgba(20, 25, 40, 0.60)) !important;
    border: var(--glass-border-dark, 1px solid rgba(255, 255, 255, 0.15)) !important;
    box-shadow: var(--glass-shadow-dark, 0 15px 40px rgba(0, 0, 0, 0.4)) !important;
}

/* 2. The Icon (Glowing App Icon Style) */
.box.shadow .tie-shortcode-boxicon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    
    /* Sexy Gradient Background */
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    
    /* Shape & Shadow */
    border-radius: 14px; /* Squircle */
    box-shadow: 0 8px 20px rgba(255, 65, 108, 0.4);
    color: #fff !important;
    font-size: 20px;
    
    /* Positioning */
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

/* 3. The Title (Header) */
.box.shadow h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 5px 0 15px 0 !important;
    color: var(--text-main-light, #1d1d1f) !important;
    line-height: 1.4;
    display: flex;
    align-items: center;
    min-height: 40px; /* Aligns nicely with icon */
}

.dark-skin .box.shadow h3 {
    color: var(--text-main-dark, #ffffff) !important;
}

/* 4. The Content (Info List) */
.box.shadow p {
    clear: both; /* Pushes text below title/icon on small screens if needed */
    padding-top: 10px;
    margin: 0 !important;
    line-height: 2.2 !important; /* Spaced out for readability */
    font-size: 15px !important;
    color: var(--text-sub-light, #3c3c43) !important;
    border-top: 1px solid rgba(150, 150, 150, 0.1);
}

.dark-skin .box.shadow p {
    color: var(--text-sub-dark, #ebebf5) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 5. Strong Tags (Labels like "Country:", "Episodes:") */
.box.shadow strong {
    color: var(--text-main-light, #000) !important;
    font-weight: 600;
    display: inline-block;
    min-width: 100px; /* Aligns the values nicely */
}

.dark-skin .box.shadow strong {
    color: var(--text-main-dark, #fff) !important;
}

/* 6. Mobile Tweak */
@media (max-width: 480px) {
    .box.shadow .tie-shortcode-boxicon {
        margin-bottom: 15px;
    }
    .box.shadow h3 {
        font-size: 16px !important;
        min-height: auto;
    }
}









/* =========================================
   iOS 26 WIDGETS: SYNOPSIS & CAST
   ========================================= */

/* 1. SHARED GLASS CONTAINER STYLE
   Applies to both Note (Synopsis) and Info (Cast) boxes */
.box.note, .box.info {
    /* Light Mode Glass */
    background: var(--glass-bg-light, rgba(255, 255, 255, 0.65)) !important;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: var(--glass-border-light, 1px solid rgba(255, 255, 255, 0.5)) !important;
    border-radius: var(--radius-card, 24px) !important;
    box-shadow: var(--glass-shadow-light, 0 8px 32px 0 rgba(31, 38, 135, 0.15)) !important;
    
    padding: 25px !important;
    margin-bottom: 30px !important;
    position: relative;
    overflow: hidden;
}

/* Dark Mode Override */
.dark-skin .box.note, .dark-skin .box.info {
    background: var(--glass-bg-dark, rgba(20, 25, 40, 0.60)) !important;
    border: var(--glass-border-dark, 1px solid rgba(255, 255, 255, 0.15)) !important;
    box-shadow: var(--glass-shadow-dark, 0 15px 40px rgba(0, 0, 0, 0.4)) !important;
}

/* 2. THE "APP ICON" HEADER
   Styles the icon span to look like an iOS App Icon */
.box.note .tie-shortcode-boxicon,
.box.info .tie-shortcode-boxicon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px; /* iOS Squircle */
    color: #ffffff !important;
    font-size: 20px;
    float: left;
    margin-right: 18px;
    margin-bottom: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Specific Gradient for SYNOPSIS (Note) - Warm Sunset */
.box.note .tie-shortcode-boxicon {
    background: linear-gradient(135deg, #FF9966 0%, #FF5E62 100%);
}
/* Specific Gradient for CAST (Info) - Ocean Blue */
.box.info .tie-shortcode-boxicon {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
}

/* Ensure icons are visible if font-awesome is missing */
.box.note .tie-shortcode-boxicon:before { content: "\f02d"; } /* Book Icon */
.box.info .tie-shortcode-boxicon:before { content: "\f0c0"; } /* Users Icon */

/* 3. HEADINGS */
.box.note h3, .box.info h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    margin: 0 0 20px 0 !important;
    padding-top: 8px; /* Align with icon */
    color: var(--text-main-light, #1d1d1f) !important;
}

.dark-skin .box.note h3, .dark-skin .box.info h3 {
    color: var(--text-main-dark, #ffffff) !important;
}

/* 4. SYNOPSIS TEXT */
.box.note p {
    clear: both;
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: var(--text-sub-light, #3c3c43) !important;
    padding-top: 10px;
}
.dark-skin .box.note p {
    color: var(--text-sub-dark, #ebebf5) !important;
}

/* 5. CAST LIST STYLING (.box.info) */

/* Sub-headings (Main Roles, Support Roles) */
.box.info h4 {
    clear: both;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--brand-color, #f09800) !important;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
    border-bottom: 1px solid rgba(150, 150, 150, 0.15);
    padding-bottom: 5px;
}

/* The List */
.box.info ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* List Items (Rows) */
.box.info li {
    padding: 8px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(150, 150, 150, 0.05);
    color: var(--text-sub-light, #3c3c43);
    display: flex;
    flex-wrap: wrap;
}

.dark-skin .box.info li {
    border-color: rgba(255, 255, 255, 0.05);
    color: var(--text-sub-dark, #a1a1aa);
}

/* Bold Names (Actors) */
.box.info li strong {
    color: var(--text-main-light, #000) !important;
    font-weight: 600;
    margin-right: 6px;
}

.dark-skin .box.info li strong {
    color: var(--text-main-dark, #fff) !important;
}

/* Remove border from last item */
.box.info li:last-child { border: none; }

/* 6. MOBILE OPTIMIZATION */
@media (max-width: 480px) {
    .box.note, .box.info {
        padding: 20px !important;
    }
    .box.note .tie-shortcode-boxicon,
    .box.info .tie-shortcode-boxicon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .box.note h3, .box.info h3 {
        font-size: 18px !important;
        padding-top: 5px;
    }
}





/* =========================================
   iOS 26 SPOTLIGHT SEARCH (Mobile Popup)
   ========================================= */

/* 1. THE FULL SCREEN OVERLAY (Liquid Glass) */
#tie-popup-search-mobile {
    background-color: rgba(255, 255, 255, 0.65) !important; /* Light Glass */
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    transition: all 0.3s ease;
}

/* Dark Mode Overlay */
.dark-skin #tie-popup-search-mobile {
    background-color: rgba(15, 20, 35, 0.75) !important; /* Deep Space Glass */
}

/* 2. THE INPUT FIELD (Spotlight Bar) */
#tie-popup-search-mobile input.tie-popup-search-input {
    background: rgba(120, 120, 128, 0.1) !important; /* System Fill */
    border: 1px solid rgba(120, 120, 128, 0.1) !important;
    border-radius: 24px !important; /* iOS Rounded Corner */
    height: 60px !important;
    line-height: 60px !important;
    
    /* Typography */
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--text-main-light, #000) !important;
    text-align: left !important;
    padding-left: 20px !important;
    padding-right: 60px !important; /* Space for icon */
    
    /* Glow on Focus */
    transition: all 0.3s ease;
}

#tie-popup-search-mobile input.tie-popup-search-input:focus {
    background: var(--glass-bg, #fff) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    border-color: var(--brand-color) !important;
}

/* Dark Mode Input Text */
.dark-skin #tie-popup-search-mobile input.tie-popup-search-input {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* 3. THE SEARCH ICON BUTTON */
#tie-popup-search-mobile button.tie-popup-search-submit {
    top: 10px !important;
    right: 10px !important;
    height: 40px !important;
    width: 40px !important;
    line-height: 40px !important;
    background: var(--brand-color) !important;
    border-radius: 50% !important; /* Circle */
    color: white !important;
    font-size: 18px !important;
    box-shadow: 0 4px 15px rgba(240, 152, 0, 0.4);
}

#tie-popup-search-mobile button.tie-popup-search-submit span {
    line-height: 40px !important;
}

/* 4. THE CLOSE BUTTON (X) */
#tie-popup-search-mobile .tie-btn-close {
    top: 25px !important;
    right: 25px !important;
    background: rgba(120, 120, 128, 0.15) !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    border-radius: 50% !important;
    text-align: center;
    transition: transform 0.2s;
}

#tie-popup-search-mobile .tie-btn-close:hover {
    background: rgba(120, 120, 128, 0.3) !important;
    transform: scale(1.1);
}

/* Fix Icon Color inside Close Button */
#tie-popup-search-mobile .tie-btn-close:before {
    font-size: 16px !important;
    line-height: 36px !important;
    color: var(--text-main-light, #333) !important;
}

.dark-skin #tie-popup-search-mobile .tie-btn-close:before {
    color: #fff !important;
}

/* 5. SPACING & LAYOUT */
#tie-popup-search-mobile .popup-search-wrap-inner {
    padding-top: 100px !important; /* Push search bar down */
    max-width: 600px;
    margin: 0 auto;
}


/* =========================================
   iOS 26 LIVE SEARCH DROPDOWN
   ========================================= */

/* 1. THE MAIN DROPDOWN CONTAINER */
#autocomplete-suggestions {
    /* Glass Effect */
    background: var(--glass-bg, rgba(255, 255, 255, 0.85)) !important;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    
    /* Shape & Border */
    border: var(--glass-border, 1px solid rgba(255, 255, 255, 0.5)) !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
    
    /* Layout */
    padding: 15px 0 !important;
    overflow: hidden !important;
    margin-top: 15px !important; /* Spacing from header */
}

/* Dark Mode Container */
.dark-skin #autocomplete-suggestions {
    background: var(--glass-bg-dark, rgba(25, 30, 45, 0.85)) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
}

/* 2. THE LIST ITEMS (Rows) */
.autocomplete-suggestion {
    padding: 12px 20px !important;
    border-bottom: 1px solid rgba(120, 120, 120, 0.1) !important;
    transition: background 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Hover Effect (Highlight) */
.autocomplete-suggestion:hover {
    background: rgba(120, 120, 120, 0.05) !important;
}

/* Remove border from last item */
.autocomplete-suggestion:last-child {
    border-bottom: none !important;
}

/* 3. IMAGES (Thumbnails) */
.autocomplete-suggestion .post-widget-thumbnail {
    float: left;
    margin-right: 15px;
    width: 60px; /* Fixed width for neat list */
}

.autocomplete-suggestion img {
    border-radius: 12px !important; /* Rounded Corners */
    width: 60px !important;
    height: 45px !important;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 4. TEXT STYLING */
.autocomplete-suggestion .post-widget-body {
    padding-left: 0 !important; /* Reset padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Title */
.autocomplete-suggestion .post-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
}

.autocomplete-suggestion .post-title a {
    color: var(--text-main-light, #1c1c1e) !important;
}

.dark-skin .autocomplete-suggestion .post-title a {
    color: #ffffff !important;
}

/* Date / Meta */
.autocomplete-suggestion .post-meta {
    margin: 0 !important;
    font-size: 11px !important;
    color: var(--text-sub-light, #8e8e93) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dark-skin .autocomplete-suggestion .post-meta {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* 5. "VIEW ALL RESULTS" BUTTON */
.autocomplete-suggestion .widget-post-list .button.fullwidth {
    background: var(--brand-color, #f09800) !important;
    background: linear-gradient(135deg, #f09800 0%, #ffb347 100%) !important;
    color: white !important;
    border-radius: 50px !important; /* Pill Shape */
    padding: 12px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-align: center;
    box-shadow: 0 4px 15px rgba(240, 152, 0, 0.3);
    border: none !important;
    display: block;
    width: 100%;
}

/* Center the button container */
.autocomplete-suggestion:has(.button) {
    padding: 20px !important;
    background: transparent !important;
    border-top: 1px solid rgba(120, 120, 120, 0.1) !important;
}












/* =========================================
   iOS 26 POST ITEM STYLE (.post-item.tie-standard)
   ========================================= */


/* 2. The Image (The "App Icon" Look) */
li.post-item.tie-standard .post-thumb {
    border-radius: 22px !important; /* Deep iOS Rounding */
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Soft Depth Shadow */
    margin-bottom: 12px !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    backface-visibility: hidden;
}

/* Dark Mode Shadow */
.dark-skin li.post-item.tie-standard .post-thumb {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Image Hover Effect (Scale & Lift) */
li.post-item.tie-standard:hover .post-thumb {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* The Image Itself */
li.post-item.tie-standard .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

li.post-item.tie-standard:hover .post-thumb img {
    transform: scale(1.05); /* Subtle zoom inside borders */
}

/* 3. The Title (Clean Typography) */
li.post-item.tie-standard .post-title {
    margin: 5px 0 5px 0 !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

li.post-item.tie-standard .post-title a {
    color: var(--text-main-light, #1d1d1f) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dark-skin li.post-item.tie-standard .post-title a {
    color: var(--text-main-dark, #ffffff) !important;
}

li.post-item.tie-standard:hover .post-title a {
    color: var(--brand-color, #f09800) !important;
}

/* 4. The Meta Data (Date & Comments) */
li.post-item.tie-standard .post-meta {
    font-size: 12px !important;
    color: var(--text-sub-light, #8e8e93) !important;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
}

.dark-skin li.post-item.tie-standard .post-meta {
    color: var(--text-sub-dark, #a1a1aa) !important;
}

/* Style the Date Icon */
li.post-item.tie-standard .post-meta .date:before {
    content: '' !important; /* Remove default icon if ugly */
    display: none;
}

/* 5. Mobile Adjustments (Grid Compatibility) */
@media (max-width: 768px) {
    li.post-item.tie-standard .post-thumb {
        border-radius: 16px !important;
        margin-bottom: 8px !important;
    }
    
    li.post-item.tie-standard .post-title {
        font-size: 14px !important;
    }
}


/* =========================================
   NETFLIX STYLE BUTTON (.shortc-button.red)
   ========================================= */

a.shortc-button.medium.red {
    /* 1. The Signature Netflix Red */
    background: #E50914 !important;
    background-image: none !important; /* Remove previous gradients */
    
    /* 2. Shape (Netflix is boxier than iOS) */
    border-radius: 4px !important;
    border: none !important;
    
    /* 3. Cinematic Typography */
    color: #ffffff !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    
    /* 4. Sizing & Layout */
    padding: 12px 24px !important;
    margin: 5px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    
    /* 5. Depth Shadow */
    box-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    
    /* Animation */
    transition: all 0.2s ease-in-out;
    position: relative;
}

/* Hover Effect (Darken & Lift) */
a.shortc-button.medium.red:hover {
    background: #C11119 !important; /* Darker Netflix Red */
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4) !important;
}

/* Click Effect */
a.shortc-button.medium.red:active {
    transform: scale(0.98);
    background: #99141d !important;
    box-shadow: none !important;
}

/* Remove any previous iOS glass shine */
a.shortc-button.medium.red:after {
    display: none !important;
}


/* =========================================
   iOS 26 STANDARD (Light/Dark Fix)
   ========================================= */

:root {
    /* --- LIGHT MODE VARIABLES --- */
    --bg-body: #f2f2f7;           /* iOS Light Gray Background */
    --bg-card: #ffffff;           /* Pure White Cards */
    --text-main: #000000;         /* Pitch Black Text */
    --text-sub: #3c3c43;          /* Dark Gray Text */
    --glass-border: 1px solid rgba(0,0,0,0.05);
    --glass-nav: rgba(255, 255, 255, 0.85);
    
    /* --- COMMON --- */
    --brand-color: #f09800;
    --radius-card: 24px;
    --radius-img: 16px;
    --shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* --- DARK MODE VARIABLES --- */
.dark-skin {
    --bg-body: #000000;           /* True Black */
    --bg-card: #1c1c1e;           /* Dark Gray Cards */
    --text-main: #ffffff;         /* Pure White Text */
    --text-sub: #ebebf5;          /* Light Gray Text */
    --glass-border: 1px solid rgba(255,255,255,0.1);
    --glass-nav: rgba(28, 28, 30, 0.85);
    --shadow: none;
}

/* =========================================
   1. GLOBAL BACKGROUND & TEXT
   ========================================= */

body, #tie-wrapper, .background-overlay {
    background: var(--bg-body) !important;
    background-image: none !important; /* Remove image to fix contrast */
    color: var(--text-main) !important;
}



/* Links */
a {
    text-decoration: none;
    transition: opacity 0.2s;
}
a:hover { opacity: 0.7; }

/* =========================================
   2. CARD CONTAINERS (White in Light Mode)
   ========================================= */

.container-wrapper, 

 
.post-content, 
.breaking-news-outer, 
.entry-content,
blockquote {
    background-color: var(--bg-card) !important;
    border: var(--glass-border) !important;
    border-radius: var(--radius-card) !important;
    box-shadow: var(--shadow) !important;
    margin-bottom: 25px !important;
    padding: 20px !important;
    
    /* Speed Optimization: No Blur on Cards */
    backdrop-filter: none !important; 
}

/* Clean Borders */
.container-wrapper, .mag-box, .widget-title {
    border-top: none !important;
    border-bottom: none !important;
}

/* =========================================
   4. HEADER (Floating Pill)
   ========================================= */

#main-nav {
    background: var(--glass-nav) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    margin: 15px auto !important;
    width: 95% !important;
    max-width: 1200px;
    top: 10px;
    border-radius: 50px !important;
    border: var(--glass-border) !important;
    box-shadow: var(--shadow) !important;
}

/* Search Bar */
.search-bar form {
    border-radius: 50px !important;
    padding: 4px !important;
    display: flex;
    align-items: center;
    background: rgba(120, 120, 120, 0.1) !important;
}

input#search-input {
    background: transparent !important;
    border: none !important;
    color: var(--text-main) !important; /* Adapts to mode */
}

button#search-submit {
    background: var(--brand-color) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   5. BUTTONS & IMAGES
   ========================================= */

/* =========================================
   ROUNDED IMAGE CORNERS
   ========================================= */

/* 1. Standard Images */
img {
    border-radius: 16px !important;
}

/* 2. Post Thumbnails (Grid/List views) */
/* Ensures the container clips the image properly */
.post-thumb, 
.post-thumb img {
    border-radius: 16px !important;
    overflow: hidden !important;
}

/* 3. Single Post Big Featured Image */
.single-big-img,
.single-big-img img {
    border-radius: 16px !important;
    overflow: hidden !important;
}

/* 4. Sidebar Widget Images */
.widget .post-widget-thumbnail img {
    border-radius: 12px !important;
}




































/* =========================================
   1. YOUR CHOSEN SKELETON (Layered Fix)
   ========================================= */

/* Define the Shimmer Animation */
@keyframes iosSkeletonShimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* Target ALL Image Containers */
.post-thumb,
.slide-bg, 
.single-big-img, 
.widget-thumb,
.tie-slick-slider,
.bg-overlay {
    position: relative !important;
    background-color: transparent !important; /* Let skeleton show through */
    overflow: hidden !important;
    border-radius: 16px !important; 
}

/* Create the Skeleton Layer (The Shimmer) */
.post-thumb::before,
.slide-bg::before,
.single-big-img::before,
.widget-thumb::before,
.tie-slick-slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Sits behind the image */
    
    /* The iOS Shimmer Gradient */
    background: #e5e5ea;
    background: linear-gradient(
        90deg, 
        rgba(229, 229, 234, 1) 25%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(229, 229, 234, 1) 75%
    );
    background-size: 200% 100%;
    animation: iosSkeletonShimmer 1.5s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

/* Dark Mode Adaptation */
.dark-skin .post-thumb::before,
.dark-skin .slide-bg::before,
.dark-skin .single-big-img::before,
.dark-skin .widget-thumb::before,
.dark-skin .tie-slick-slider::before {
    background: #1c1c1e;
    background: linear-gradient(
        90deg, 
        rgba(28, 28, 30, 1) 25%, 
        rgba(50, 50, 55, 1) 50%, 
        rgba(28, 28, 30, 1) 75%
    );
    background-size: 200% 100%;
}

/* Force Images to sit ON TOP of the skeleton */
.post-thumb img,
.single-big-img img,
.widget-thumb img,
.slide-bg {
    position: relative !important;
    z-index: 2 !important;
}

/* Fix for Top Slider */
.slide-bg {
    background-color: transparent !important; 
}


/* =========================================
   2. NATIVE "OVERLAY" PAGE TRANSITION
   ========================================= */

/* Define the "Slide In Over Old Page" Animation */
@keyframes nativeOverlayEnter {
    0% {
        /* Start completely off-screen to the RIGHT */
        transform: translate3d(100%, 0, 0); 
        opacity: 0.5;
    }
    100% {
        /* Slide to CENTER */
        transform: translate3d(0, 0, 0); 
        opacity: 1;
    }
}



/* Prevent Horizontal Scrollbars during animation */
html, body {
    overflow-x: hidden !important;
}

/* Optional: Keep Header Fixed (Like an App Bar) */
#theme-header {
    position: sticky;
    top: 0;
    z-index: 9999;
}