/* ============================================
   PICACHU THEME v3 – App Store Style
   Reference: LITEAPKS.com layout
   Pure Vanilla CSS | Light | Vietnamese
   ============================================ */

/* ===== CSS TOKENS ===== */
:root {
    --green:      #4CAF50;
    --green-d:    #388E3C;
    --green-lt:   #E8F5E9;
    --blue:       #1565C0;
    --blue-lt:    #E3F2FD;
    --orange:     #F57C00;
    --orange-lt:  #FFF3E0;
    --red:        #D32F2F;
    --purple:     #6A1B9A;
    --yellow:     #F9A825;

    --bg:     #FFFFFF;
    --surf:   #FFFFFF;
    --surf2:  #F8F8F8;
    --border: #E0E0E0;
    --border2: #EEEEEE;

    --tx:   #212121;
    --tx2:  #616161;
    --tx3:  #9E9E9E;

    --sh:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --sh2:  0 2px 8px rgba(0,0,0,0.1);

    --nav-h: 52px;
    --max-w: 1140px;
    --r:     6px;
    --r-lg:  10px;
    --ease:  cubic-bezier(0.4,0,0.2,1);
}

html.dark {
    --bg:     #121212;
    --surf:   #1E1E1E;
    --surf2:  #252525;
    --border: #333333;
    --border2: #2A2A2A;
    --tx:   #EEEEEE;
    --tx2:  #9E9E9E;
    --tx3:  #616161;
    --sh:   0 1px 3px rgba(0,0,0,0.4);
    --sh2:  0 2px 8px rgba(0,0,0,0.4);
}

/* ===== RESET ===== */
*,*::before,*::after { margin:0;padding:0;box-sizing:border-box; }
html { scroll-behavior:smooth; overflow-x:hidden; }
body {
    font-family: 'Inter','Segoe UI',system-ui,-apple-system,sans-serif;
    background: var(--bg);
    color: var(--tx);
    font-size: 14px;
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display:block; max-width:100%; }
ul { list-style:none; }
button { font-family:inherit; cursor:pointer; border:none; background:none; }

/* ===== TOP NAV ===== */
.las-nav {
    position: sticky;
    top: 0;
    z-index: 500;
    height: var(--nav-h);
    background: var(--surf);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh);
}
.las-nav-in {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}
.las-logo {
    font-size: 16px;
    font-weight: 900;
    color: var(--green);
    letter-spacing: -0.3px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.las-logo img { height: 28px; width: auto; object-fit: contain; }
.las-logo-icon { font-size: 20px; }

/* Desktop nav links */
.las-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}
.las-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: var(--r);
    font-size: 13px;
    font-weight: 500;
    color: var(--tx2);
    transition: all .18s var(--ease);
    white-space: nowrap;
}
.las-link:hover, .las-link.active { background: var(--green-lt); color: var(--green-d); }
.las-link .material-symbols-outlined { font-size: 16px; }

/* Nav dropdown */
.las-nav-dd { position: relative; }
.las-nav-dd:hover .las-nav-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.las-nav-submenu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 180px;
    background: var(--surf);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh2);
    padding: 6px;
    z-index: 600;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all .18s var(--ease);
}
.las-nav-submenu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: var(--r);
    font-size: 13px;
    font-weight: 500;
    color: var(--tx2);
    white-space: nowrap;
    transition: background .15s;
}
.las-nav-submenu a:hover, .las-nav-submenu a.active { background: var(--green-lt); color: var(--green-d); }

/* Search + actions */
.las-nav-right {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}
.las-search-wrap { position: relative; }
.las-search-input {
    width: 200px;
    height: 34px;
    padding: 0 36px 0 12px;
    border: 1px solid var(--border);
    border-radius: 99px;
    background: var(--bg);
    color: var(--tx);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: all .2s;
}
.las-search-input:focus { border-color: var(--green); width: 260px; box-shadow: 0 0 0 3px rgba(76,175,80,0.12); }
.las-search-btn {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    color: var(--tx3); font-size: 18px; display: flex; align-items: center;
}
.las-icon-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--tx2);
    font-size: 20px;
    transition: all .18s;
}
.las-icon-btn:hover { background: var(--bg); color: var(--green); }

/* Mobile hamburger */
.las-hamburger { display: none; }
/* Hide search input on mobile to save space */
@media (max-width: 600px) { .las-search-wrap { display: none; } }

/* ===== WRAPPER ===== */
.las-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 20px 16px 48px;
}

/* ===== SECTION HEADER ===== */
.las-sh {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    margin-top: 8px;
}
.las-sh-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--tx);
}
/* Orange sparkle icon before section titles (like reference ✦) */
.las-sh-title .material-symbols-outlined {
    font-size: 17px;
    color: #FB8C00;
    font-variation-settings: 'FILL' 1;
}
.las-sh-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    transition: color .15s;
}
.las-sh-more:hover { color: var(--green-d); }

/* ===== BANNER SLIDER ===== */
.las-banner-wrap {
    position: relative;
    margin-bottom: 28px;
    overflow: hidden;
}
.las-banner-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.las-banner-track::-webkit-scrollbar { display: none; }
.las-banner-card {
    flex: 0 0 calc(25% - 9px);
    min-width: 220px;
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    aspect-ratio: 3/2;
    background: linear-gradient(135deg, #1a237e, #283593);
    display: flex;
    align-items: flex-end;
}
@media (max-width: 600px) { .las-banner-card { flex: 0 0 80vw; min-width: 0; } }
.las-banner-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.las-banner-overlay {
    position: relative;
    z-index: 1;
    padding: 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
    width: 100%;
}
.las-banner-name {
    font-size: 15px;
    font-weight: 800;
    color: white;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.las-banner-tag { font-size: 11px; color: rgba(255,255,255,0.8); margin-top: 2px; }
.las-banner-play {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 2;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex; align-items: center; justify-content: center;
    color: var(--green);
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform .2s;
}
.las-banner-play:hover { transform: scale(1.1); }

/* ===== COLLECTION CARDS ===== */
.las-coll-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
@media (max-width: 640px) { .las-coll-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .las-coll-grid { grid-template-columns: 1fr; } }
.las-coll-card {
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--sh2);
    aspect-ratio: 4/3;
    background: var(--surf);
    display: flex;
    align-items: flex-end;
    transition: transform .2s;
}
.las-coll-card:hover { transform: translateY(-2px); }
.las-coll-card img {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
    object-fit: cover;
}
.las-coll-body {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 10px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 100%);
}
.las-coll-name {
    font-size: 13px;
    font-weight: 800;
    color: white;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.las-coll-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 5px;
}
.las-coll-icon {
    width: 22px; height: 22px;
    border-radius: 5px;
    object-fit: cover;
    border: 1.5px solid rgba(255,255,255,0.6);
}
.las-coll-more {
    font-size: 10px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

/* ===== GAMES LIST – 3-col individual cards ===== */
.las-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 28px;
}
@media (max-width: 900px) { .las-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .las-list { grid-template-columns: 1fr; gap: 8px; } }

.las-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--surf);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh);
    transition: all .18s var(--ease);
    text-decoration: none;
    color: inherit;
    min-height: 74px;
}
.las-item:hover {
    box-shadow: var(--sh2);
    transform: translateY(-2px);
    border-color: var(--green);
    background: #FEFFFE;
}
html.dark .las-item:hover { background: var(--surf2); }
.las-item-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: var(--bg);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    transition: transform .18s;
}
.las-item:hover .las-item-thumb { transform: scale(1.05); }
.las-item-body { flex: 1; min-width: 0; }
.las-item-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--tx);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
    letter-spacing: -0.1px;
}
.las-item:hover .las-item-name { color: var(--green-d); }
.las-item-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 3px 0 2px;
}
.las-star { color: var(--yellow); font-size: 11px; }
.las-item-rating span { font-size: 11px; color: var(--tx3); margin-left: 3px; }
.las-item-tags {
    font-size: 11px;
    color: var(--tx3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.las-item-tag { display: inline; color: #FB8C00; font-weight: 500; font-size: 10.5px; }
/* Play arrow hint on hover */
.las-item-play {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--green); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
    opacity: 0; transform: scale(0.7);
    transition: all .18s;
}
.las-item:hover .las-item-play { opacity: 1; transform: scale(1); }
/* Hide play icon on narrow mobile to save space */
@media (max-width: 600px) { .las-item-play { display: none; } }
@media (max-width: 600px) { .las-item { padding: 10px 12px; gap: 10px; min-height: 66px; } }
@media (max-width: 600px) { .las-item-thumb { width: 46px; height: 46px; border-radius: 8px; } }

/* ===== HORIZONTAL SCROLL ROW (compact) ===== */
.las-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 28px;
    padding-bottom: 4px;
}
.las-row::-webkit-scrollbar { display: none; }
.las-row-item {
    flex: 0 0 130px;
    background: var(--surf);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh);
    transition: all .2s;
}
.las-row-item:hover { box-shadow: var(--sh2); transform: translateY(-2px); }
.las-row-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--bg); }
.las-row-body { padding: 7px 9px 9px; }
.las-row-name {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--tx);
    line-height: 1.3;
}
.las-row-tag { font-size: 10.5px; color: var(--tx3); margin-top: 2px; }

/* ===== NEWS SECTION ===== */
.las-news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}
@media (max-width: 768px) { .las-news { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .las-news { grid-template-columns: 1fr; } }
.las-news-card {
    background: var(--surf);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh);
    transition: all .2s;
    display: flex;
    flex-direction: column;
}
.las-news-card:hover { box-shadow: var(--sh2); transform: translateY(-2px); }
.las-news-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: var(--bg);
}
.las-news-body { padding: 12px 14px 14px; flex: 1; }
.las-news-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 7px;
}
.las-badge-green { background: var(--green-lt); color: var(--green-d); }
.las-badge-orange { background: var(--orange-lt); color: var(--orange); }
.las-badge-blue   { background: var(--blue-lt);   color: var(--blue); }
.las-news-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--tx);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.las-news-title a:hover { color: var(--green); }
.las-news-excerpt {
    font-size: 12.5px;
    color: var(--tx2);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}
.las-news-meta { font-size: 11px; color: var(--tx3); display: flex; gap: 8px; }

/* ===== PAGINATION ===== */
.las-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 20px 0 8px;
}
.las-pager a, .las-pager span {
    display: flex; align-items: center; justify-content: center;
    min-width: 34px; height: 34px;
    padding: 0 8px;
    border-radius: var(--r);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--surf);
    color: var(--tx2);
    transition: all .18s;
}
.las-pager a:hover { border-color: var(--green); color: var(--green); }
.las-pager .active span { background: var(--green); border-color: var(--green); color: white !important; }
.las-pager .disabled { opacity: 0.45; pointer-events: none; }

/* ===== PAGE HEADER (genre/category) ===== */
.las-pg-head {
    background: var(--surf);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 18px 20px;
    margin-bottom: 20px;
    box-shadow: var(--sh);
    display: flex;
    align-items: center;
    gap: 12px;
}
.las-pg-head-icon {
    width: 48px; height: 48px;
    border-radius: var(--r);
    background: var(--green-lt);
    color: var(--green-d);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
html.dark .las-pg-head-icon { background: rgba(76,175,80,0.15); }
.las-pg-head h1 { font-size: 19px; font-weight: 900; margin-bottom: 2px; }
.las-pg-head p  { font-size: 13px; color: var(--tx2); }

/* ===== DETAIL PAGE ===== */
.las-detail-hero {
    background: var(--surf);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--sh);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.las-detail-cover {
    width: 120px; height: 120px;
    border-radius: var(--r-lg);
    object-fit: cover;
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.las-detail-info { flex: 1; }
.las-detail-info h1 { font-size: 20px; font-weight: 900; margin-bottom: 8px; line-height: 1.25; }
.las-detail-stats {
    display: flex; flex-wrap: wrap; gap: 12px;
    font-size: 12.5px; color: var(--tx2); margin-bottom: 14px;
}
.las-detail-stat { display: flex; align-items: center; gap: 4px; }
.las-detail-stat .material-symbols-outlined { font-size: 15px; color: var(--green); }
.las-detail-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.las-play-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 22px;
    background: var(--green);
    color: white;
    border-radius: var(--r);
    font-size: 14px; font-weight: 800;
    box-shadow: 0 4px 12px rgba(76,175,80,0.35);
    transition: all .2s;
}
.las-play-btn:hover { background: var(--green-d); transform: translateY(-1px); }
.las-play-btn .material-symbols-outlined { font-size: 19px; }
.las-act-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r);
    font-size: 13px; font-weight: 600;
    color: var(--tx2);
    background: var(--surf);
    cursor: pointer; font-family: inherit;
    transition: all .18s;
}
.las-act-btn:hover { border-color: var(--green); color: var(--green); }
.las-act-btn.on { background: var(--green-lt); color: var(--green-d); border-color: var(--green); }

/* Content box */
.las-box {
    background: var(--surf);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 18px 20px;
    margin-bottom: 14px;
    box-shadow: var(--sh);
}
.las-box-title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--tx);
}
.las-box-title .material-symbols-outlined { font-size: 17px; color: var(--green); }
.las-prose { font-size: 13.5px; color: var(--tx2); line-height: 1.8; }
.las-prose p { margin-bottom: 9px; }

/* Rating */
.las-stars-row { display: flex; gap: 5px; margin-bottom: 12px; }
.las-star-btn {
    width: 36px; height: 36px;
    border-radius: var(--r);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--tx3);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    cursor: pointer; transition: all .18s;
}
.las-star-btn:hover, .las-star-btn.on { background: #FFFDE7; border-color: var(--yellow); color: var(--yellow); }
html.dark .las-star-btn:hover, html.dark .las-star-btn.on { background: rgba(249,168,37,0.12); }
.las-votes { display: flex; gap: 8px; margin-top: 12px; }
.las-vote {
    display: flex; align-items: center; gap: 5px;
    padding: 7px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: var(--bg);
    color: var(--tx2);
    font-size: 13px; font-weight: 600;
    cursor: pointer; font-family: inherit;
    transition: all .18s;
}
.las-vote:hover { border-color: var(--green); color: var(--green); }
.las-vote.liked { background: var(--green-lt); color: var(--green-d); border-color: var(--green); }
.las-vote.disliked { background: #FFEBEE; color: var(--red); border-color: var(--red); }
html.dark .las-vote.liked { background: rgba(76,175,80,0.12); }
html.dark .las-vote.disliked { background: rgba(211,47,47,0.1); }

/* FAQ */
.las-faq-item { border-bottom: 1px solid var(--border2); }
.las-faq-q {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0;
    font-size: 13.5px; font-weight: 600;
    cursor: pointer; user-select: none;
}
.las-faq-q .material-symbols-outlined { font-size: 18px; color: var(--tx3); transition: transform .2s; }
.las-faq-item.open .las-faq-q .material-symbols-outlined { transform: rotate(180deg); color: var(--green); }
.las-faq-a { display: none; padding: 0 0 12px; font-size: 13px; color: var(--tx2); line-height: 1.7; }
.las-faq-item.open .las-faq-a { display: block; }

/* ===== PLAY PAGE ===== */
.las-play-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: var(--surf);
    border-bottom: 1px solid var(--border);
}
.las-play-title { flex: 1; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.las-game-wrap iframe {
    display: block; width: 100%;
    height: calc(100vh - var(--nav-h) - 52px);
    border: none; background: #000;
}

/* ===== EMBEDDED PLAYER (detail page) ===== */
.las-embed-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 16px 0;
    background: transparent;
}
.las-embed-wrap.theater {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    z-index: 450;
    border-bottom: none;
    background: #000;
}
.las-embed-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}
.las-embed-wrap.theater .las-embed-box {
    aspect-ratio: auto;
    height: calc(100vh - var(--nav-h) - 46px);
}
/* Overlay */
.las-embed-overlay {
    position: absolute; inset: 0;
    cursor: pointer;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    transition: opacity .3s;
    z-index: 10;
}
.las-embed-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}
.las-embed-play-btn {
    position: relative; z-index: 2;
    width: 72px; height: 72px;
    background: var(--green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 24px rgba(76,175,80,0.5);
    transition: transform .2s, box-shadow .2s;
}
.las-embed-overlay:hover .las-embed-play-btn {
    transform: scale(1.1);
    box-shadow: 0 6px 32px rgba(76,175,80,0.7);
}
.las-embed-play-btn .material-symbols-outlined {
    font-size: 40px; color: #fff;
    font-variation-settings: 'FILL' 1;
}
.las-embed-overlay-info {
    position: relative; z-index: 2;
    margin-top: 16px; text-align: center;
}
.las-embed-title {
    font-size: 18px; font-weight: 800;
    color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    margin-bottom: 4px;
}
.las-embed-subtitle {
    font-size: 13px; color: rgba(255,255,255,0.7);
}
/* Controls bar */
.las-embed-controls {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 14px;
    background: var(--surf2);
    border-top: 1px solid var(--border);
    height: 46px;
}
.las-embed-ctrl-left {
    display: flex; align-items: center; gap: 8px;
    overflow: hidden; min-width: 0;
}
.las-embed-ctrl-right {
    display: flex; align-items: center; gap: 4px;
    flex-shrink: 0;
}
.las-embed-ctrl-name {
    font-size: 13px; font-weight: 700;
    color: var(--tx); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.las-embed-ctrl-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border: none; cursor: pointer;
    background: transparent;
    color: var(--tx2);
    border-radius: var(--r);
    transition: background .15s, color .15s;
    font-family: inherit;
    text-decoration: none;
}
.las-embed-ctrl-btn:hover { background: var(--bg); color: var(--green); }
.las-embed-ctrl-btn.active { color: var(--green); background: var(--green-lt); }
.las-embed-ctrl-btn .material-symbols-outlined { font-size: 20px; }

/* Info bar below player */
.las-detail-bar {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
    padding: 14px 0 4px;
    margin-bottom: 14px;
}
.las-detail-bar-info { flex: 1; min-width: 0; }
.las-detail-bar-title {
    font-size: 20px; font-weight: 900;
    color: var(--tx); margin: 0 0 6px;
    line-height: 1.2;
}
.las-detail-bar-meta {
    display: flex; flex-wrap: wrap; gap: 12px;
    font-size: 12.5px; color: var(--tx2);
}
.las-detail-bar-meta span {
    display: flex; align-items: center; gap: 3px;
}
.las-detail-bar-meta .material-symbols-outlined { font-size: 15px; color: var(--green); }
.las-detail-bar-acts {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    flex-shrink: 0;
}

/* Theater mode spacer */
.las-embed-wrap.theater ~ #las-detail-body {
    margin-top: calc(100vh - var(--nav-h) + 10px);
}
@media (max-width: 600px) {
    .las-embed-play-btn { width: 56px; height: 56px; }
    .las-embed-play-btn .material-symbols-outlined { font-size: 30px; }
    .las-embed-title { font-size: 14px; }
    .las-detail-bar { flex-direction: column; }
}


/* ===== FILTER PAGE ===== */
.las-filter {
    background: var(--surf);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 16px 18px;
    margin-bottom: 18px;
    box-shadow: var(--sh);
}
.las-filter-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tx3); margin-bottom: 8px; }
.las-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.las-chip {
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 12px; font-weight: 600;
    background: var(--bg);
    color: var(--tx2);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all .18s;
    text-decoration: none;
}
.las-chip:hover, .las-chip.on { background: var(--green); color: white; border-color: var(--green); }
.las-text-input {
    width: 100%; padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: var(--bg); color: var(--tx);
    font-size: 13.5px; font-family: inherit; outline: none;
    transition: all .2s; margin-bottom: 10px;
}
.las-text-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(76,175,80,0.1); }
.las-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 20px;
    border-radius: var(--r); font-size: 13.5px; font-weight: 700;
    font-family: inherit; cursor: pointer; border: none; transition: all .2s;
}
.las-btn-green { background: var(--green); color: white; box-shadow: 0 3px 10px rgba(76,175,80,0.3); }
.las-btn-green:hover { background: var(--green-d); }
.las-btn-outline { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.las-btn-outline:hover { background: var(--green-lt); }

/* ===== AUTHOR PAGE ===== */
.las-author-card {
    display: flex; align-items: center; gap: 16px;
    background: var(--surf); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 18px 20px;
    margin-bottom: 18px; box-shadow: var(--sh);
}
.las-author-av {
    width: 64px; height: 64px; border-radius: 50%;
    object-fit: cover; background: var(--green-lt);
    border: 2px solid var(--green);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--green-d);
    flex-shrink: 0;
}
.las-author-name { font-size: 18px; font-weight: 900; }
.las-author-sub  { font-size: 13px; color: var(--tx2); }

/* ===== BLOG ===== */
.las-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px; margin-bottom: 24px;
}
@media (max-width: 640px) { .las-blog-grid { grid-template-columns: 1fr; } }
.las-blog-card {
    background: var(--surf); border: 1px solid var(--border);
    border-radius: var(--r-lg); overflow: hidden;
    box-shadow: var(--sh); transition: all .2s;
}
.las-blog-card:hover { box-shadow: var(--sh2); transform: translateY(-2px); }
.las-blog-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.las-blog-body { padding: 13px 15px 15px; }
.las-blog-meta { font-size: 11px; color: var(--tx3); margin-bottom: 5px; }
.las-blog-title { font-size: 14px; font-weight: 800; line-height: 1.35; color: var(--tx); margin-bottom: 5px; }
.las-blog-title a:hover { color: var(--green); }
.las-blog-excerpt { font-size: 12.5px; color: var(--tx2); line-height: 1.6; }

/* ===== SEO BOX ===== */
.las-seo {
    background: var(--surf); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 16px 18px;
    margin-top: 20px; box-shadow: var(--sh);
}
.las-seo-tgl {
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; font-size: 13.5px; font-weight: 700; user-select: none;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border2);
    margin-bottom: 10px;
}
.las-seo-tgl .material-symbols-outlined { font-size: 18px; color: var(--tx3); transition: transform .2s; }
.las-seo-tgl.open .material-symbols-outlined { transform: rotate(180deg); }
/* Default: show 5 lines, clamped */
.las-seo-body {
    font-size: 13px; color: var(--tx2); line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all .3s;
}
.las-seo-body.open {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
.las-seo-read-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--green);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
}
.las-seo-read-btn .material-symbols-outlined { font-size: 16px; transition: transform .2s; }
.las-seo-read-btn:hover { color: var(--green-d); }

/* ===== STATIC ===== */
.las-static {
    background: var(--surf); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 26px 28px;
    box-shadow: var(--sh); line-height: 1.8; color: var(--tx2);
}
.las-static h1,.las-static h2,.las-static h3 { color: var(--tx); font-weight: 800; margin: 18px 0 8px; }
.las-static p { margin-bottom: 10px; }

/* ===== 404 ===== */
.las-404 {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 60px 20px; min-height: 60vh;
}
.las-404 .num {
    font-size: 100px; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, var(--green), var(--blue));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.las-404 h2 { font-size: 22px; font-weight: 800; margin: 14px 0 6px; }
.las-404 p  { color: var(--tx2); margin-bottom: 22px; }

/* ===== HISTORY EMPTY ===== */
.las-empty { text-align: center; padding: 50px 20px; color: var(--tx3); }
.las-empty .material-symbols-outlined { font-size: 54px; display: block; margin: 0 auto 14px; opacity: 0.4; }
.las-empty p { font-size: 14px; }

/* ===== FOOTER ===== */
.las-footer {
    background: var(--surf);
    border-top: 1px solid var(--border);
    padding: 32px 16px 20px;
    margin-top: 8px;
}
.las-footer-in {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 28px;
}
@media (max-width: 768px) { .las-footer-in { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (max-width: 480px) { .las-footer-in { grid-template-columns: 1fr; } }
.las-footer-brand { }
.las-footer-brand-logo {
    font-size: 16px; font-weight: 900; color: var(--green);
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 10px;
}
.las-footer-brand-desc { font-size: 12.5px; color: var(--tx2); line-height: 1.7; }
.las-footer-col h4 {
    font-size: 12px; font-weight: 800; margin-bottom: 12px;
    color: var(--tx); text-transform: uppercase; letter-spacing: 0.06em;
}
.las-footer-col a {
    display: block; font-size: 12.5px; color: var(--tx2);
    margin-bottom: 7px; transition: color .18s;
}
.las-footer-col a:hover { color: var(--green); }
.las-footer-copy {
    max-width: var(--max-w);
    margin: 20px auto 0;
    padding-top: 16px;
    border-top: 1px solid var(--border2);
    font-size: 11.5px;
    color: var(--tx3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

/* ===== MOBILE DRAWER ===== */
.las-drawer {
    position: fixed; inset: 0; z-index: 600;
    pointer-events: none;
}
.las-drawer-bg {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0; transition: opacity .28s;
}
.las-drawer-panel {
    position: absolute; top: 0; left: 0; bottom: 0;
    width: 270px;
    background: var(--surf);
    transform: translateX(-100%);
    transition: transform .28s var(--ease);
    overflow-y: auto;
    box-shadow: var(--sh2);
}
.las-drawer.open { pointer-events: all; }
.las-drawer.open .las-drawer-bg { opacity: 1; }
.las-drawer.open .las-drawer-panel { transform: translateX(0); }
.las-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 15px; font-weight: 900; color: var(--green);
}
.las-drawer-nav { padding: 8px; }
.las-drawer-nav a {
    display: flex; align-items: center; gap: 9px;
    padding: 9px 12px; border-radius: var(--r);
    font-size: 13.5px; font-weight: 500; color: var(--tx2);
    transition: all .18s;
}
.las-drawer-nav a:hover { background: var(--green-lt); color: var(--green-d); }
.las-drawer-nav a .material-symbols-outlined { font-size: 18px; }
.las-drawer-sec { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--tx3); padding: 10px 12px 3px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .las-hamburger { display: flex; }
    .las-links { display: none; }
    .las-detail-hero { flex-direction: column; }
    .las-detail-cover { width: 100%; height: 200px; border-radius: var(--r-lg); }
    .las-search-input { width: 150px; }
    .las-search-input:focus { width: 180px; }
    .las-static { padding: 18px; }
    .las-author-card { flex-direction: column; text-align: center; }
    .las-footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .las-banner-card { flex: 0 0 85vw; }
    .las-footer-in { grid-template-columns: 1fr; }
}
