/*
 FUNONLINE MAIN.CSS — ORGANIZED PASS
 Purpose: split grouped selectors into individual selector rules and annotate each split selector.
 Important: original rule order is preserved; no declarations or historical blocks intentionally removed.
 This is a first-pass organization file. Cascade-sensitive grouping/consolidation should be audited separately.
*/
:root{
    --bg:#f6f8fc;
    --surface:#ffffff;
    --text:#17233d;
    --muted:#68748b;
    --primary:#246bdb;
    --primary-dark:#174da8;
    --accent:#ffca3a;
    --border:#e6eaf1;
    --shadow:0 8px 30px rgba(27,45,80,.08);
    --radius:18px;
    --container:1400px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;line-height:1.5}
body.dark-mode{--bg:#111827;--surface:#1b2435;--text:#f5f7fb;--muted:#aab4c5;--border:#2d3748;--shadow:none}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.container{width:min(calc(100% - 32px),var(--container));margin:auto}

/* Header */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.dark-mode .site-header{background:rgba(17,24,39,.94)}
.header-inner{height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.header-left{display:flex;align-items:center;gap:12px}
.site-brand{display:flex;align-items:center;gap:10px}
.brand-icon{font-size:36px}
.site-brand strong{display:block;font-size:24px;line-height:1}
.site-brand strong span{color:var(--primary)}
.site-brand small{display:block;color:var(--muted);font-size:10px;margin-top:5px}

/* GENERAL / SHARED STYLES — selector: .primary-nav ul */
.primary-nav ul {display:flex;list-style:none;padding:0;margin:0;gap:8px}

/* GENERAL / SHARED STYLES — selector: .mobile-nav ul */
.mobile-nav ul {display:flex;list-style:none;padding:0;margin:0;gap:8px}

.primary-nav a{display:block;padding:12px 15px;border-radius:10px;font-weight:700;font-size:14px}
.primary-nav a:hover{background:#eef4ff;color:var(--primary)}
.header-actions{display:flex;gap:8px}

/* HEADER / NAVIGATION SECTION — selector: .header-actions button */
.header-actions button {border:0;background:transparent;color:var(--text);font-size:24px;width:42px;height:42px;border-radius:12px;cursor:pointer}

/* HEADER / NAVIGATION SECTION — selector: .menu-toggle */
.menu-toggle {border:0;background:transparent;color:var(--text);font-size:24px;width:42px;height:42px;border-radius:12px;cursor:pointer}

.header-actions button:hover{background:var(--surface)}
.menu-toggle{display:none;padding:10px}
.menu-toggle span{display:block;height:2px;background:currentColor;margin:5px 0}
.mobile-nav{display:none}

/* Hero */
.hero{padding:22px 0 10px}
.hero-inner{min-height:320px;border-radius:24px;background:linear-gradient(120deg,#152457,#2449b7 55%,#552b99);color:#fff;padding:38px;display:grid;grid-template-columns:1.2fr .9fr .7fr;align-items:center;gap:20px;overflow:hidden;box-shadow:var(--shadow)}
.eyebrow{display:inline-block;padding:7px 14px;border-radius:999px;background:linear-gradient(90deg,#ec3da8,#8f4bdc);font-size:13px;font-weight:800}
.hero h1{font-size:48px;line-height:1.08;margin:16px 0 12px}
.hero h1 span{color:#ffcf39}
.hero p{max-width:500px;color:#dce5ff}
.btn{display:inline-flex;align-items:center;gap:12px;padding:14px 24px;border-radius:999px;font-weight:800;margin-top:10px}
.btn-primary{background:var(--accent);color:#252525}
.btn-primary span{font-size:20px}
.hero-art{position:relative;height:220px;display:flex;align-items:center;justify-content:center}
.hero-brain{font-size:120px;filter:drop-shadow(0 15px 20px rgba(0,0,0,.2))}
.hero-float{position:absolute;font-size:42px;animation:float 4s ease-in-out infinite}
.f1{top:0;left:20%}.f2{right:10%;bottom:30%}.f3{bottom:0;left:5%;animation-delay:1s}
@keyframes float{50%{transform:translateY(-10px)}}
.hero-benefits{display:grid;gap:12px}
.hero-benefits div{padding:15px;border-radius:16px;background:rgba(255,255,255,.10)}

/* HOMEPAGE SECTION — selector: .hero-benefits b */
.hero-benefits b {display:block}

/* HOMEPAGE SECTION — selector: .hero-benefits span */
.hero-benefits span {display:block}

.hero-benefits span{font-size:12px;color:#d7def5;margin-top:3px}

/* Sections */
.content-section{padding:20px 0}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}
.section-head h2{margin:0;font-size:24px}
.section-head p{margin:3px 0 0;color:var(--muted);font-size:13px}
.section-head>a{color:var(--primary);font-weight:800;font-size:13px}
.card-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.fun-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px;text-align:center;box-shadow:var(--shadow);transition:transform .2s ease,box-shadow .2s ease;min-width:0}
.fun-card:hover{transform:translateY(-4px)}

/* GENERAL / SHARED STYLES — selector: .card-icon */
.card-icon {height:95px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#edf4ff,#f9ecff);font-size:44px;overflow:hidden}

/* GENERAL / SHARED STYLES — selector: .card-image */
.card-image {height:95px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#edf4ff,#f9ecff);font-size:44px;overflow:hidden}

.card-image img{width:100%;height:100%;object-fit:cover}
.fun-card h3{font-size:14px;margin:12px 0 3px}
.fun-card p{margin:0;color:var(--muted);font-size:11px}
.card-btn{display:block;margin-top:12px;padding:9px 8px;border-radius:9px;background:var(--primary);color:#fff;font-size:12px;font-weight:800}

/* Future mobile section */
.mobile-future-section{margin-top:10px}
.coming-soon{background:#fff3cc;color:#8a6500;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:800}
.mobile-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.mobile-preview>div{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:24px;text-align:center;font-size:38px;box-shadow:var(--shadow)}

/* GENERAL / SHARED STYLES — selector: .mobile-preview strong */
.mobile-preview strong {display:block;font-size:15px;margin-top:8px}

/* GENERAL / SHARED STYLES — selector: .mobile-preview span */
.mobile-preview span {display:block;font-size:15px;margin-top:8px}

.mobile-preview span{font-size:12px;color:var(--muted)}

/* Normal WordPress Pages: content + independent widget sidebar */
.page-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}
.page-content-main{min-width:0}
.normal-page-content{min-width:0}
.normal-page-content h1{margin-top:0;line-height:1.2}
.page-content-layout .page-sidebar{width:300px;min-width:0;margin-top:0;position:sticky;top:18px}
.page-content-layout .page-sidebar .widget{box-sizing:border-box;width:100%;margin-bottom:18px}
@media(max-width:900px){.page-content-layout{grid-template-columns:minmax(0,1fr);gap:24px}.page-content-layout .page-sidebar{position:static;width:100%;max-width:none}.page-content-layout .page-sidebar .widget{max-width:100%}}

/* Pages + Footer */
.page-content{padding:50px 0;min-height:50vh}
.page-content h1{font-size:38px}
.post-card{padding:20px;background:var(--surface);border-radius:var(--radius);margin-bottom:15px}
.error-page{text-align:center}
.error-page h1{font-size:100px;margin:0}
.site-footer{margin-top:35px;background:#101b33;color:#d9e1f1;padding:45px 0 20px}
.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:30px}
.footer-grid h3{font-size:15px;color:#fff}
.footer-grid ul{list-style:none;padding:0}
.footer-grid li{margin:8px 0;font-size:13px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:25px;padding-top:18px;color:#92a0b8;font-size:12px}

/* Responsive */
@media(max-width:1100px){
    .hero-inner{grid-template-columns:1fr 1fr}
    .hero-benefits{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}
    .card-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:800px){
    .primary-nav{display:none}
    .menu-toggle{display:block}
    .mobile-nav.open{display:block;border-top:1px solid var(--border);background:var(--surface)}
    .mobile-nav ul{display:block;padding:10px 16px}
    .mobile-nav a{display:block;padding:13px 5px;font-weight:700}
    .hero-inner{grid-template-columns:1fr;padding:28px;min-height:auto}
    .hero h1{font-size:38px}
    .hero-art{height:150px}
    .hero-brain{font-size:90px}
    .hero-benefits{grid-template-columns:1fr}
    .card-grid{grid-template-columns:repeat(2,1fr);gap:12px}
    
/* GENERAL / SHARED STYLES — selector: .card-icon */
.card-icon {height:110px}

/* GENERAL / SHARED STYLES — selector: .card-image */
.card-image {height:110px}

    .mobile-preview{grid-template-columns:repeat(2,1fr)}
    .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
    .container{width:min(calc(100% - 20px),var(--container))}
    .header-inner{height:64px}
    .brand-icon{font-size:30px}
    .site-brand strong{font-size:20px}
    .site-brand small{display:none}
    .hero{padding-top:10px}
    .hero-inner{border-radius:18px;padding:22px}
    .hero h1{font-size:32px}
    .section-head h2{font-size:20px}
    .section-head p{font-size:12px}
    .section-head>a{white-space:nowrap}
    .fun-card{padding:9px}
    .fun-card h3{font-size:13px}
    .mobile-preview>div{padding:18px 8px}
    .footer-grid{grid-template-columns:1fr}
}

/* v1.1 Header improvements */
.mobile-site-link{color:var(--primary)!important}
.search-panel{display:none;padding:12px 0;border-top:1px solid var(--border);background:var(--surface)}
.search-panel.open{display:block}
.fun-search-form{display:flex;gap:8px}
.fun-search-form input{flex:1;padding:13px 15px;border:1px solid var(--border);border-radius:12px;background:var(--bg);color:var(--text);font-size:15px}
.fun-search-form button{border:0;border-radius:12px;padding:0 22px;background:var(--primary);color:#fff;font-weight:700;cursor:pointer}

/* GAMES SYSTEM */
.game-page{padding:35px 0 55px}.game-single{max-width:1100px;margin:auto}.game-header{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:22px}.game-header h1{font-size:42px;margin:5px 0}.game-header p{color:var(--muted);margin:0;max-width:700px}.game-breadcrumb{font-weight:800;color:var(--primary);font-size:14px}.game-player-wrap{background:#0d1422;padding:12px;border-radius:20px;box-shadow:var(--shadow)}.game-player{display:block;width:100%;border:0;border-radius:12px;background:#0d1422}
/* GAMES SECTION — selector: .game-empty */
.game-empty {background:var(--surface);border:1px dashed var(--border);border-radius:20px;padding:55px 25px;text-align:center}

/* GENERAL / SHARED STYLES — selector: .empty-state */
.empty-state {background:var(--surface);border:1px dashed var(--border);border-radius:20px;padding:55px 25px;text-align:center}

/* GAMES SECTION — selector: .game-empty>span */
.game-empty>span {font-size:52px}

/* GENERAL / SHARED STYLES — selector: .empty-state>span */
.empty-state>span {font-size:52px}

/* GAMES SECTION — selector: .game-empty p */
.game-empty p {color:var(--muted)}

/* GENERAL / SHARED STYLES — selector: .empty-state p */
.empty-state p {color:var(--muted)}
.game-details{margin-top:30px;background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:25px}.game-featured{margin-bottom:25px}.game-featured img{border-radius:14px;width:100%}.fun-archive-head{margin-bottom:30px;padding:25px;border-radius:20px;background:var(--surface);border:1px solid var(--border)}.fun-archive-head h1{display:inline;margin:0;font-size:38px}.fun-archive-head p{margin:8px 0 0;color:var(--muted)}.archive-icon{font-size:34px;margin-right:8px}.archive-card-grid{grid-template-columns:repeat(4,1fr)}@media(max-width:850px){.game-header{display:block}.game-header .btn{margin-top:15px}.game-header h1{font-size:32px}.game-player-wrap{padding:7px;border-radius:14px}.game-player{height:500px!important}.archive-card-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.game-page{padding:20px 0 35px}.game-header h1{font-size:28px}.game-player{height:430px!important}.game-details{padding:18px}}


/* FUNONLINE HTML5 GAME PLAYER v1.3 */
.game-player-shell{
    background:#101827;
    border-radius:20px;
    overflow:hidden;
    box-shadow:var(--shadow);
    border:1px solid rgba(255,255,255,.08);
}
.game-player-topbar{
    min-height:52px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 14px 0 18px;
    background:#172237;
    color:#fff;
}
.game-player-title{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:800;
    min-width:0;
}
.game-player-title span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.game-player-actions{display:flex;gap:8px}
.game-action-btn{
    width:36px;height:36px;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(255,255,255,.08);
    color:#fff;
    border-radius:10px;
    cursor:pointer;
    font-size:20px;
    line-height:1;
}
.game-action-btn:hover{background:rgba(255,255,255,.18)}
.game-player-wrap{position:relative;background:#070b12}
.game-loading{
    position:absolute;
    inset:0;
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:#fff;
    background:#0b1220;
    transition:opacity .25s ease,visibility .25s ease;
}
.game-loading.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
.game-loading span{font-size:13px;color:#aebbd0}
.game-loader{
    width:38px;height:38px;
    border-radius:50%;
    border:4px solid rgba(255,255,255,.18);
    border-top-color:#fff;
    animation:funSpin .8s linear infinite;
}
@keyframes funSpin{to{transform:rotate(360deg)}}
.game-player-shell .game-player-wrap{padding:0;border-radius:0;box-shadow:none}
.game-player-shell .game-player{
    width:100%;
    display:block;
    border:0;
    border-radius:0;
    background:#070b12;
}
.game-mobile-note{
    display:none;
    padding:10px 15px;
    font-size:12px;
    text-align:center;
    color:#9facbf;
    background:#101827;
}
.game-player-shell.is-fullscreen{
    width:100vw!important;
    height:100vh!important;
    max-width:none!important;
    border-radius:0;
    display:flex;
    flex-direction:column;
}
.game-player-shell.is-fullscreen .game-player-wrap{flex:1}
.game-player-shell.is-fullscreen .game-player{
    height:100%!important;
    min-height:0!important;
}
.game-external-box{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:22px;
    border-radius:18px;
    background:var(--surface);
    border:1px solid var(--border);
}
.game-external-box>div{display:flex;flex-direction:column;gap:4px}
.game-external-box span{color:var(--muted);font-size:14px}
.related-games{margin-top:40px}
.related-games .section-head{margin-bottom:18px}
@media(max-width:850px){
    .game-player-shell{border-radius:15px}
    .game-player-topbar{min-height:48px;padding:0 10px 0 13px}
    .game-player{height:min(72vh,560px)!important}
    .game-mobile-note{display:block}
}
@media(max-width:480px){
    .game-player{height:62vh!important;min-height:380px}
    .game-action-btn{width:34px;height:34px}
    .game-external-box{display:block}
    .game-external-box .btn{margin-top:15px;width:100%;text-align:center}
}


/* FUNONLINE QUIZ SYSTEM v1.4 */
.quiz-page{padding:35px 0 55px}
.quiz-single{max-width:900px;margin:auto}
.quiz-header{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-bottom:28px}
.quiz-badge{font-size:13px;font-weight:900;letter-spacing:.08em;color:var(--primary)}
.quiz-header h1{font-size:42px;margin:8px 0}
.quiz-header p{margin:0;color:var(--muted);max-width:620px}
.quiz-thumb{width:220px;flex:0 0 220px}
.quiz-thumb img{width:100%;border-radius:18px;display:block}
.quiz-app{background:var(--surface);border:1px solid var(--border);border-radius:22px;padding:26px;box-shadow:var(--shadow)}
.quiz-top{margin-bottom:25px}
.quiz-progress-text{font-size:14px;font-weight:800;margin-bottom:10px;color:var(--muted)}
.quiz-progress{height:9px;background:var(--bg);border-radius:999px;overflow:hidden}
.quiz-progress span{display:block;width:0;height:100%;background:var(--primary);border-radius:999px;transition:width .3s ease}
.quiz-card h2{font-size:27px;line-height:1.35;margin:0 0 25px}
.quiz-options{display:grid;gap:12px}
.quiz-option{width:100%;padding:17px 18px;text-align:left;border:1px solid var(--border);background:var(--bg);border-radius:14px;color:var(--text);font:inherit;font-weight:700;cursor:pointer;transition:.18s}
.quiz-option:hover:not(:disabled){transform:translateY(-1px);border-color:var(--primary)}
.quiz-option.is-selected{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 12%,var(--surface));box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 22%,transparent);position:relative}
.quiz-option.is-selected::after{content:"✓ Selected";float:right;margin-left:12px;color:var(--primary);font-size:.86em;font-weight:800}
.quiz-option:disabled{cursor:default}
.quiz-option.correct{border-color:#22a06b;background:rgba(34,160,107,.12)}
.quiz-option.wrong{border-color:#d84b4b;background:rgba(216,75,75,.12)}
.quiz-feedback{min-height:25px;margin:18px 0 12px;font-weight:800}
.correct-feedback{color:#198754}.wrong-feedback{color:#d84b4b}
.quiz-next{margin-top:8px}.quiz-next:disabled{opacity:.5;cursor:not-allowed}
.quiz-result{text-align:center;padding:25px 10px}
.result-icon{font-size:70px}.quiz-result h2{font-size:34px;margin:8px 0}
.quiz-result p{color:var(--muted);margin-bottom:6px}
.result-score{font-size:52px;font-weight:900;color:var(--primary)}
.result-percent{display:inline-block;margin-top:8px;padding:7px 12px;border-radius:999px;background:var(--bg);color:var(--primary);font-weight:900}.result-breakdown{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin:16px 0 8px;color:var(--muted);font-size:14px}.result-breakdown b{color:var(--text);font-size:18px;margin-right:4px}.result-message{margin:12px auto 22px;font-weight:700;max-width:500px}
.result-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.quiz-about{margin-top:30px;background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:25px}
.quiz-about h2{margin-top:0}
.quiz-empty{background:var(--surface);border:1px dashed var(--border);border-radius:20px;padding:55px 25px;text-align:center}
.quiz-empty>span{font-size:52px}
@media(max-width:700px){
    .quiz-page{padding:20px 0 35px}
    .quiz-header{display:block}
    .quiz-header h1{font-size:31px}
    .quiz-thumb{width:100%;max-width:360px;margin-top:20px}
    .quiz-app{padding:18px;border-radius:17px}
    .quiz-card h2{font-size:23px}
    .quiz-option{padding:15px}
    .result-score{font-size:44px}
}


/* FunOnline Tools System v1.9 additions */

/* TOOLS SECTION — selector: .tool-form select */
.tool-form select {width:100%;border:1px solid var(--border);border-radius:12px;padding:14px;background:var(--bg);color:var(--text);font:inherit;box-sizing:border-box}

/* TOOLS SECTION — selector: .tool-form textarea */
.tool-form textarea {width:100%;border:1px solid var(--border);border-radius:12px;padding:14px;background:var(--bg);color:var(--text);font:inherit;box-sizing:border-box}

.tool-form textarea{resize:vertical;min-height:110px}

/* TOOLS SECTION — selector: .tool-form select:focus */
.tool-form select:focus {outline:2px solid rgba(0,0,0,.08);outline-offset:1px}

/* TOOLS SECTION — selector: .tool-form textarea:focus */
.tool-form textarea:focus {outline:2px solid rgba(0,0,0,.08);outline-offset:1px}

/* TOOLS SECTION — selector: .tool-form input:focus */
.tool-form input:focus {outline:2px solid rgba(0,0,0,.08);outline-offset:1px}



/* FunOnline v2.0 */
.card-actions{display:flex;gap:7px;align-items:center;margin-top:12px}.card-actions .card-btn{flex:1;margin-top:0}
/* GENERAL / SHARED STYLES — selector: .card-save */
.card-save {border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:9px;padding:8px 10px;cursor:pointer;font-weight:800}

/* GENERAL / SHARED STYLES — selector: .content-action */
.content-action {border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:9px;padding:8px 10px;cursor:pointer;font-weight:800}

/* GENERAL / SHARED STYLES — selector: .card-save.saved */
.card-save.saved {color:var(--primary)}

/* GENERAL / SHARED STYLES — selector: .content-action.saved */
.content-action.saved {color:var(--primary)}

.fun-page{padding:35px 0 55px}.fun-single{max-width:1000px;margin:auto}.fun-header{margin-bottom:22px}.fun-badge{font-weight:800;color:var(--primary);font-size:13px}.fun-header h1{font-size:42px;margin:7px 0}.fun-header p{color:var(--muted)}.fun-app{background:var(--surface);border:1px solid var(--border);border-radius:22px;padding:24px;box-shadow:var(--shadow)}.fun-card-app{text-align:center;max-width:700px;margin:auto}.fun-big-emoji{font-size:80px;margin-bottom:8px}.fun-card-app h2{margin:5px 0;font-size:28px}
/* FUN SECTION — selector: .fun-card-app p */
.fun-card-app p {color:var(--muted)}

/* FUN SECTION — selector: .fun-card-app small */
.fun-card-app small {color:var(--muted)}
.fun-action{margin:15px 0}.fun-result{margin:16px 0;padding:20px;border-radius:16px;background:var(--bg);font-size:20px}.fun-result strong{font-size:30px}
/* FUN SECTION — selector: .fun-input */
.fun-input {width:100%;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:12px;padding:13px;font:inherit}

/* FUN SECTION — selector: .fun-two-inputs input */
.fun-two-inputs input {width:100%;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:12px;padding:13px;font:inherit}
.fun-two-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:600px;margin:15px auto}.content-actions{display:flex;gap:10px;margin:15px 0}.content-action{padding:10px 16px}.fun-about{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:25px;margin-top:20px}.fun-about h2{margin-top:0}.archive-header{margin-bottom:25px}.archive-header h1{margin:0 0 8px}.archive-header p{color:var(--muted)}.post-card .card-actions{margin-top:12px}
@media(max-width:600px){.fun-app{padding:16px}.fun-header h1{font-size:32px}.fun-two-inputs{grid-template-columns:1fr}.fun-big-emoji{font-size:65px}.fun-result strong{font-size:25px}}

/* v2.1 search, saved items and history */
.fun-search-form select{padding:0 12px;border:1px solid var(--border);border-radius:12px;background:var(--bg);color:var(--text);font-size:14px}
.card-actions{display:flex;gap:8px;align-items:center;margin-top:12px}.card-actions .card-btn{flex:1;margin-top:0}.card-save{border:1px solid var(--border);background:var(--surface);color:var(--text);padding:11px 13px;border-radius:10px;font-weight:700;cursor:pointer}.card-save.saved{color:#b88600;background:#fff8dc}
.header-link{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;font-size:19px}.header-link:hover{background:var(--surface)}
.local-page{padding:35px 0 55px}.local-toolbar{display:flex;justify-content:flex-end;margin:0 0 15px}.local-empty{margin-top:15px}.local-card .local-icon{display:flex;align-items:center;justify-content:center;background:var(--bg);font-size:45px;min-height:150px}.content-action{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:10px;font-weight:700;cursor:pointer}.content-action.saved{background:#fff8dc;color:#8a6500}
@media(max-width:700px){.fun-search-form{flex-wrap:wrap}.fun-search-form input{min-width:0;flex:1 1 100%;height:46px}.fun-search-form select{height:46px;flex:1}.fun-search-form button{height:46px}.header-link{display:none}}


/* FunOnline v2.2.2 - controlled UI polish (built on the stable v2.1 UI) */
.content-section{padding:28px 0}
.content-section + .content-section{padding-top:20px}
.section-head{margin-bottom:18px}
.section-head h2{font-size:25px;letter-spacing:-.01em}
.section-head>a{padding:8px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);transition:background .18s ease,border-color .18s ease,transform .18s ease}
.section-head>a:hover{background:var(--bg);border-color:var(--primary);transform:translateY(-1px)}
.fun-card{padding:13px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.fun-card:hover{border-color:rgba(36,107,219,.25);box-shadow:0 12px 34px rgba(27,45,80,.11)}
.fun-card h3{line-height:1.35}
.card-image{background:linear-gradient(135deg,#eef5ff,#faf0ff)}
.card-btn{transition:background .18s ease,transform .18s ease}
.card-btn:hover{background:var(--primary-dark);transform:translateY(-1px)}
.card-save{transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}
.card-save:hover{border-color:var(--primary);transform:translateY(-1px)}

/* GENERAL / SHARED STYLES — selector: .card-save.saved */
.card-save.saved {background:#fff8dc;color:#8a6500;border-color:#ead79a}

/* GENERAL / SHARED STYLES — selector: .content-action.saved */
.content-action.saved {background:#fff8dc;color:#8a6500;border-color:#ead79a}


/* GENERAL / SHARED STYLES — selector: .dark-mode .card-save.saved */
.dark-mode .card-save.saved {background:#3a321d;color:#ffd968;border-color:#65572b}

/* GENERAL / SHARED STYLES — selector: .dark-mode .content-action.saved */
.dark-mode .content-action.saved {background:#3a321d;color:#ffd968;border-color:#65572b}

.archive-card-grid{grid-template-columns:repeat(4,1fr);gap:18px}

/* FUN SECTION — selector: .fun-archive-head */
.fun-archive-head {box-shadow:var(--shadow)}

/* SEARCH / ARCHIVE SECTION — selector: .archive-header */
.archive-header {box-shadow:var(--shadow)}

.fun-archive-head{padding:28px 30px}
.local-page{padding:42px 0 60px}
.local-page .fun-archive-head{margin-bottom:20px}
.local-toolbar{margin-bottom:18px}
.local-toolbar .content-action{padding:10px 14px}
.local-empty{grid-column:1/-1}
.empty-state{box-shadow:var(--shadow)}
.post-card{border:1px solid var(--border);box-shadow:var(--shadow)}
.page-content{padding-top:42px;padding-bottom:60px}
.search-panel .container{padding-top:2px;padding-bottom:2px}

/* FUN SECTION — selector: .fun-search-form input */
.fun-search-form input {min-height:46px}

/* FUN SECTION — selector: .fun-search-form select */
.fun-search-form select {min-height:46px}

/* FUN SECTION — selector: .fun-search-form button */
.fun-search-form button {min-height:46px}

.fun-search-form button{transition:background .18s ease,transform .18s ease}
.fun-search-form button:hover{background:var(--primary-dark);transform:translateY(-1px)}

/* HEADER / NAVIGATION SECTION — selector: .header-link */
.header-link {transition:background .18s ease,color .18s ease,transform .18s ease}

/* HEADER / NAVIGATION SECTION — selector: .header-actions button */
.header-actions button {transition:background .18s ease,color .18s ease,transform .18s ease}


/* HEADER / NAVIGATION SECTION — selector: .header-link:hover */
.header-link:hover {transform:translateY(-1px)}

/* HEADER / NAVIGATION SECTION — selector: .header-actions button:hover */
.header-actions button:hover {transform:translateY(-1px)}


/* Consistent single-content action row */
.content-actions{flex-wrap:wrap}
.content-action{min-height:42px;padding:10px 15px;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.content-action:hover{border-color:var(--primary);transform:translateY(-1px)}

@media(max-width:1100px){.archive-card-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){
    .content-section{padding:22px 0}
    .section-head{align-items:flex-end}
    .section-head h2{font-size:22px}
    .archive-card-grid{grid-template-columns:repeat(2,1fr);gap:14px}
    .fun-archive-head{padding:22px}
    
/* GENERAL / SHARED STYLES — selector: .local-page */
.local-page {padding-top:28px;padding-bottom:42px}

/* GENERAL / SHARED STYLES — selector: .page-content */
.page-content {padding-top:28px;padding-bottom:42px}

}
@media(max-width:480px){
    .content-section{padding:18px 0}
    .section-head{gap:10px}
    .section-head h2{font-size:19px}
    .section-head>a{padding:7px 9px;font-size:12px}
    .archive-card-grid{gap:12px}
    .fun-archive-head{padding:18px;border-radius:17px}
    .fun-archive-head h1{font-size:28px}
    
/* GENERAL / SHARED STYLES — selector: .local-page */
.local-page {padding-top:20px;padding-bottom:35px}

/* GENERAL / SHARED STYLES — selector: .page-content */
.page-content {padding-top:20px;padding-bottom:35px}

}

@media(prefers-reduced-motion:reduce){
    
/* FUN SECTION — selector: .fun-card */
.fun-card {transition:none}

/* GENERAL / SHARED STYLES — selector: .card-btn */
.card-btn {transition:none}

/* GENERAL / SHARED STYLES — selector: .card-save */
.card-save {transition:none}

/* GENERAL / SHARED STYLES — selector: .content-action */
.content-action {transition:none}

/* GENERAL / SHARED STYLES — selector: .section-head>a */
.section-head>a {transition:none}

/* HEADER / NAVIGATION SECTION — selector: .header-link */
.header-link {transition:none}

/* HEADER / NAVIGATION SECTION — selector: .header-actions button */
.header-actions button {transition:none}

/* FUN SECTION — selector: .fun-search-form button */
.fun-search-form button {transition:none}

}

/* FunOnline v2.3 - Categories & filtering */
.category-filter{display:flex;align-items:end;gap:10px;margin:0 0 24px;padding:14px 16px;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow)}
.category-filter label{display:flex;align-items:center;gap:10px;font-weight:800;font-size:13px;flex:1}
.category-filter label span{white-space:nowrap}
.category-filter select{width:100%;max-width:360px;min-height:42px;padding:9px 12px;border:1px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text);font:inherit}
.category-filter select:focus{outline:2px solid rgba(36,107,219,.16);outline-offset:1px}

/* GENERAL / SHARED STYLES — selector: .category-clear */
.category-clear {display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 13px;border:1px solid var(--border);border-radius:10px;background:var(--surface);font-weight:800}

/* GENERAL / SHARED STYLES — selector: .category-back */
.category-back {display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 13px;border:1px solid var(--border);border-radius:10px;background:var(--surface);font-weight:800}


/* GENERAL / SHARED STYLES — selector: .category-clear:hover */
.category-clear:hover {border-color:var(--primary);color:var(--primary)}

/* GENERAL / SHARED STYLES — selector: .category-back:hover */
.category-back:hover {border-color:var(--primary);color:var(--primary)}

.card-categories{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.card-categories a{display:inline-flex;padding:4px 8px;border-radius:999px;background:var(--bg);border:1px solid var(--border);font-size:11px;font-weight:800;color:var(--muted)}
.card-categories a:hover{color:var(--primary);border-color:var(--primary)}
.category-hero{display:flex;align-items:center;justify-content:space-between;gap:20px}
.category-hero>div{min-width:0}
.category-page .navigation.pagination{margin-top:28px}
.category-page .nav-links{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.category-page .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:0 11px;border:1px solid var(--border);border-radius:10px;background:var(--surface);font-weight:800}
.category-page .page-numbers.current{background:var(--primary);color:#fff;border-color:var(--primary)}
@media(max-width:700px){
 .category-filter{align-items:stretch;flex-direction:column}
 .category-filter label{align-items:stretch;flex-direction:column;gap:7px}
 .category-filter select{max-width:none}
 .category-hero{align-items:flex-start;flex-direction:column}
 .category-back{width:100%}
}


/* FunOnline v2.4 SEO breadcrumbs */
.funonline-breadcrumbs{width:min(1120px,calc(100% - 32px));margin:0 auto;padding:10px 0 4px;display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.5;color:var(--muted,#6b7280);overflow-x:auto;white-space:nowrap;scrollbar-width:none}.funonline-breadcrumbs::-webkit-scrollbar{display:none}.funonline-breadcrumbs a{color:inherit;text-decoration:none}.funonline-breadcrumbs a:hover{text-decoration:underline}.funonline-breadcrumbs span[aria-current="page"]{font-weight:600;color:var(--text,#111827);overflow:hidden;text-overflow:ellipsis}.funonline-breadcrumb-sep{opacity:.55}
@media (max-width:640px){.funonline-breadcrumbs{width:min(100% - 24px,1120px);padding-top:8px;font-size:12px}}

/* FunOnline v2.9 - Daily Fun System */
.daily-fun-section{padding:34px 0 24px;background:linear-gradient(180deg,var(--bg),var(--surface))}
.daily-fun-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.daily-fun-head h2{margin:5px 0 6px;font-size:30px;line-height:1.15}
.daily-fun-head p{margin:0;color:var(--muted);max-width:650px}
.daily-date{display:inline-flex;align-items:center;min-height:38px;padding:7px 12px;border:1px solid var(--border);border-radius:8px;background:rgb(234 237 255);font-size:12px;font-weight:800;color:rgb(19 27 46);white-space:nowrap}
.daily-date i {color:rgb(53 37 205);font-size:13px}
.dark-mode .daily-date {background:var(--surface)}
.dark-mode .daily-date, .dark-mode .daily-date i {color:var(--muted)}
.daily-fun-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.daily-fun-card{display:flex;flex-direction:column;padding:20px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow);min-height:270px}
.daily-card-icon{font-size:30px;margin-bottom:10px}
.daily-card-label{font-size:11px;font-weight:400;text-transform:uppercase;letter-spacing:.08em}
.daily-fun-card h3{font-size:19px;line-height:1.3;margin:0 0 8px}
.daily-fun-card p{font-size:14px;line-height:1.65;color:var(--muted);margin:0 0 14px}
.daily-fun-card .card-btn{margin-top:auto;align-self:flex-start}
.daily-answer{margin-top:auto;border-top:1px solid var(--border);padding-top:12px;font-size:13px}
.daily-answer summary{cursor:pointer;font-weight:800;color:var(--primary)}
.daily-answer strong{display:block;margin-top:8px;color:var(--text)}
.daily-fact-note{margin-top:auto;font-size:12px;font-weight:800;color:var(--muted)}
@media(max-width:1000px){.daily-fun-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.daily-fun-section{padding:24px 0 16px}.daily-fun-head{align-items:flex-start;flex-direction:column;gap:10px}.daily-fun-head h2{font-size:25px}.daily-date{min-height:34px}.daily-fun-grid{grid-template-columns:1fr;gap:12px}.daily-fun-card{min-height:0;padding:18px}}


/* FunOnline v3.0 - Daily content is managed from WordPress admin. */

/* FunOnline v3.1 - Daily Puzzle */
.daily-fun-grid{grid-template-columns:repeat(5,1fr)}
.daily-hint{margin:0 0 10px;border-top:1px solid var(--border);padding-top:10px;font-size:12px}
.daily-hint summary{cursor:pointer;font-weight:800;color:var(--muted)}
.daily-hint span{display:block;margin-top:7px;color:var(--text);line-height:1.5}
.daily-explanation{display:block;margin-top:8px;color:var(--muted);font-size:12px;line-height:1.5}
@media(max-width:1100px){.daily-fun-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.daily-fun-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.daily-fun-grid{grid-template-columns:1fr}}


/* FunOnline v3.2 - Daily Poll */
.daily-poll-options{display:flex;flex-direction:column;gap:8px;margin-top:auto}.daily-poll-option{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text);font:inherit;font-size:13px;font-weight:600;text-align:left;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}.daily-poll-option:hover:not(:disabled){border-color:var(--primary);transform:translateY(-1px)}.daily-poll-option:disabled{opacity:.8;cursor:default}.daily-poll-result{margin-top:10px;font-size:12px;line-height:1.5;font-weight:700;color:var(--muted);min-height:18px}
@media(max-width:1100px){.daily-fun-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.daily-fun-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.daily-fun-grid{grid-template-columns:1fr}}

/* v3.3 Daily Challenge */
.daily-challenge-options{display:grid;gap:8px;margin:12px 0}.daily-challenge-option{width:100%;text-align:left;padding:10px 12px;border:1px solid rgba(0,0,0,.12);border-radius:10px;background:#fff;cursor:pointer}.daily-challenge-option:disabled{cursor:default;opacity:.85}.daily-challenge-option.selected{font-weight:700}.daily-challenge-result{margin:10px 0;line-height:1.5}.daily-challenge-share{margin-top:4px}.daily-challenge-share[hidden]{display:none}

/* FunOnline v3.4 - India content expansion */
.india-spotlight-section{padding-top:8px}.india-spotlight-section .section-head h2 span{font-size:.9em}


/* FunOnline v3.5.1 - UI/UX polish
   Targeted visual improvements only. Existing functionality and component markup are preserved. */
:root{
    --focus:rgba(36,107,219,.24);
    --section-space:34px;
}

/* Accessibility + interaction consistency */
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}

/* GENERAL / SHARED STYLES — selector: button */
button {transition:box-shadow .18s ease,border-color .18s ease,background-color .18s ease,color .18s ease,transform .18s ease}

/* GENERAL / SHARED STYLES — selector: a */
a {transition:box-shadow .18s ease,border-color .18s ease,background-color .18s ease,color .18s ease,transform .18s ease}

/* GENERAL / SHARED STYLES — selector: input */
input {transition:box-shadow .18s ease,border-color .18s ease,background-color .18s ease,color .18s ease,transform .18s ease}

/* GENERAL / SHARED STYLES — selector: select */
select {transition:box-shadow .18s ease,border-color .18s ease,background-color .18s ease,color .18s ease,transform .18s ease}

/* GENERAL / SHARED STYLES — selector: textarea */
textarea {transition:box-shadow .18s ease,border-color .18s ease,background-color .18s ease,color .18s ease,transform .18s ease}


/* Header polish */
.primary-nav a{position:relative}

/* HEADER / NAVIGATION SECTION — selector: .primary-nav .current-menu-item>a */
.primary-nav .current-menu-item>a {color:var(--primary);background:var(--bg)}

/* GENERAL / SHARED STYLES — selector: .primary-nav .current_page_item>a */
.primary-nav .current_page_item>a {color:var(--primary);background:var(--bg)}

/* HEADER / NAVIGATION SECTION — selector: .primary-nav .current-menu-ancestor>a */
.primary-nav .current-menu-ancestor>a {color:var(--primary);background:var(--bg)}


/* HEADER / NAVIGATION SECTION — selector: .primary-nav .current-menu-item>a:after */
.primary-nav .current-menu-item>a:after {content:"";position:absolute;left:14px;right:14px;bottom:5px;height:2px;border-radius:2px;background:var(--primary)}

/* GENERAL / SHARED STYLES — selector: .primary-nav .current_page_item>a:after */
.primary-nav .current_page_item>a:after {content:"";position:absolute;left:14px;right:14px;bottom:5px;height:2px;border-radius:2px;background:var(--primary)}

/* HEADER / NAVIGATION SECTION — selector: .primary-nav .current-menu-ancestor>a:after */
.primary-nav .current-menu-ancestor>a:after {content:"";position:absolute;left:14px;right:14px;bottom:5px;height:2px;border-radius:2px;background:var(--primary)}

.header-actions{align-items:center}

/* HEADER / NAVIGATION SECTION — selector: .header-actions button */
.header-actions button {background:transparent}

/* HEADER / NAVIGATION SECTION — selector: .header-link */
.header-link {background:transparent}


/* HEADER / NAVIGATION SECTION — selector: .header-actions button:hover */
.header-actions button:hover {background:var(--bg);color:var(--primary)}

/* HEADER / NAVIGATION SECTION — selector: .header-link:hover */
.header-link:hover {background:var(--bg);color:var(--primary)}

.mobile-quick-links{display:flex;gap:8px;padding:10px 16px 14px;border-top:1px solid var(--border)}
.mobile-quick-links a{flex:1;display:flex;align-items:center;justify-content:center;min-height:42px;padding:9px 10px;border:1px solid var(--border);border-radius:10px;background:var(--bg);font-size:13px;font-weight:800}
.mobile-quick-links a:hover{border-color:var(--primary);color:var(--primary)}
.mobile-quick-links a i {margin-right:6px}

/* Hero */
.hero{padding:18px 0 8px}
.hero-inner{box-shadow:0 18px 45px rgba(28,46,96,.16)}
.btn-primary{box-shadow:0 8px 18px rgba(0,0,0,.12)}
.btn-primary:hover{transform:translateY(-2px);filter:brightness(1.02)}
.hero-benefits div{border:1px solid rgba(255,255,255,.10)}

/* Homepage content rhythm */
.content-section{padding:30px 0}
.content-section + .content-section{padding-top:22px}
.section-head{align-items:flex-end}
.section-head>div{min-width:0}
.section-head>a{white-space:nowrap}
.card-grid{align-items:stretch}
.fun-card{height:100%;display:flex;flex-direction:column}

/* FUN SECTION — selector: .fun-card .card-image */
.fun-card .card-image {flex:0 0 auto}

/* FUN SECTION — selector: .fun-card .card-icon */
.fun-card .card-icon {flex:0 0 auto}

.fun-card h3{min-height:2.7em;display:flex;align-items:center;justify-content:center}
.fun-card p{min-height:1.4em}
.fun-card .card-actions{margin-top:auto}
.fun-card>.card-btn{margin-top:auto}
.card-actions .card-save{flex:0 0 auto}

/* Daily Fun: six cards = balanced 3 x 2 desktop grid */
.daily-fun-section{padding:36px 0 28px}
.daily-fun-grid{grid-template-columns:repeat(3,1fr);gap:18px}
.daily-fun-card{min-height:285px;padding:22px}
.daily-fun-card:hover{transform:translateY(-3px);border-color:rgba(36,107,219,.22);box-shadow:0 12px 34px rgba(27,45,80,.10)}
.daily-card-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:var(--bg);font-size:27px;margin-bottom:12px}
.daily-card-label{/*margin-bottom:8px*/}
.daily-fun-card h3{font-size:18px}

/* GENERAL / SHARED STYLES — selector: .daily-challenge-option */
.daily-challenge-option {min-height:42px}

/* GENERAL / SHARED STYLES — selector: .daily-poll-option */
.daily-poll-option {min-height:42px}


/* GENERAL / SHARED STYLES — selector: .daily-challenge-option:hover:not(:disabled) */
.daily-challenge-option:hover:not(:disabled) {border-color:var(--primary);background:var(--surface);transform:translateY(-1px)}

/* GENERAL / SHARED STYLES — selector: .daily-poll-option:hover:not(:disabled) */
.daily-poll-option:hover:not(:disabled) {border-color:var(--primary);background:var(--surface);transform:translateY(-1px)}

.daily-challenge-result{padding:9px 11px;border-radius:10px;background:var(--bg);font-size:13px;font-weight:800}
.daily-poll-result{padding:7px 9px;border-radius:9px;background:var(--bg)}

/* Archive/filter consistency */
.category-filter{box-shadow:0 5px 18px rgba(27,45,80,.06)}
.category-filter select{cursor:pointer}

/* SEARCH / ARCHIVE SECTION — selector: .archive-card-grid */
.archive-card-grid {align-items:stretch}

/* GENERATORS SECTION — selector: .generator-grid */
.generator-grid {align-items:stretch}

.generator-list-card{height:100%}
.generator-list-card:hover{border-color:rgba(36,107,219,.22);box-shadow:0 12px 34px rgba(27,45,80,.10)}
.generator-list-body{display:flex;flex-direction:column;flex:1}
.generator-list-body p{min-height:2.9em}
.generator-use-btn{margin-top:auto}

/* Single content pages */

/* GAMES SECTION — selector: .game-header */
.game-header {position:relative}

/* QUIZ SECTION — selector: .quiz-header */
.quiz-header {position:relative}

/* TOOLS SECTION — selector: .tool-header */
.tool-header {position:relative}

/* FUN SECTION — selector: .fun-header */
.fun-header {position:relative}

/* GENERATORS SECTION — selector: .generator-header */
.generator-header {position:relative}


/* GAMES SECTION — selector: .game-details */
.game-details {box-shadow:0 5px 20px rgba(27,45,80,.05)}

/* QUIZ SECTION — selector: .quiz-about */
.quiz-about {box-shadow:0 5px 20px rgba(27,45,80,.05)}

/* TOOLS SECTION — selector: .tool-about */
.tool-about {box-shadow:0 5px 20px rgba(27,45,80,.05)}

/* FUN SECTION — selector: .fun-about */
.fun-about {box-shadow:0 5px 20px rgba(27,45,80,.05)}

/* GENERATORS SECTION — selector: .generator-about */
.generator-about {box-shadow:0 5px 20px rgba(27,45,80,.05)}

.content-actions{margin-top:18px}
.content-action{min-height:44px}

/* Generator UX */
.generator-app{box-shadow:0 12px 34px rgba(27,45,80,.08)}
.generator-primary{min-height:46px;box-shadow:0 5px 14px rgba(36,107,219,.14)}
.generator-primary:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(36,107,219,.18)}
.generator-output{position:relative}
.generator-output[hidden]{display:none}
.generator-about{margin-bottom:10px}

/* Footer */
.site-footer{padding-top:50px}
.footer-grid{align-items:start}
.footer-grid ul{margin:0}
.footer-grid a{display:inline-block}
.footer-grid a:hover{color:#fff;transform:translateX(2px)}
.footer-note{color:#92a0b8;font-size:13px;line-height:1.6}

/* Dark mode refinements */
.dark-mode .mobile-quick-links a{background:var(--surface)}

/* HEADER / NAVIGATION SECTION — selector: .dark-mode .primary-nav .current-menu-item>a */
.dark-mode .primary-nav .current-menu-item>a {background:var(--surface)}

/* GENERAL / SHARED STYLES — selector: .dark-mode .primary-nav .current_page_item>a */
.dark-mode .primary-nav .current_page_item>a {background:var(--surface)}

/* HEADER / NAVIGATION SECTION — selector: .dark-mode .primary-nav .current-menu-ancestor>a */
.dark-mode .primary-nav .current-menu-ancestor>a {background:var(--surface)}

.dark-mode .daily-challenge-option{background:var(--bg);color:var(--text);border-color:var(--border)}
.dark-mode .daily-challenge-option:hover:not(:disabled){background:var(--surface)}

@media(max-width:1100px){
    .daily-fun-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:800px){
    .header-inner{gap:10px}
    .header-actions{gap:3px}
    .daily-fun-grid{grid-template-columns:repeat(2,1fr)}
    .daily-fun-card{min-height:300px;padding:18px}
}
@media(max-width:600px){
    .hero{padding-top:10px}
    .hero-inner{box-shadow:0 12px 30px rgba(28,46,96,.14)}
    .content-section{padding:22px 0}
    .daily-fun-section{padding:25px 0 18px}
    .daily-fun-grid{grid-template-columns:1fr;gap:12px}
    .daily-fun-card{min-height:0}
    .daily-fun-card h3{font-size:18px}
    .fun-card h3{min-height:0}
    .footer-note{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
    .hero-float{animation:none}
}


/* FunOnline v3.5.2 - unified controls + modern forms */
:root{
    --control-height:46px;
    --control-radius:12px;
}

/* Modern form controls */

/* GENERAL / SHARED STYLES — selector: input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]) */
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]) {
    min-height:var(--control-height);
    box-sizing:border-box;
    border:1px solid var(--border);
    border-radius:var(--control-radius);
    background:var(--surface);
    color:var(--text);
    font:inherit;
    padding:11px 14px;
    box-shadow:0 1px 2px rgba(27,45,80,.04);
    outline:none;
}

/* GENERAL / SHARED STYLES — selector: select */
select {
    min-height:var(--control-height);
    box-sizing:border-box;
    border:1px solid var(--border);
    border-radius:var(--control-radius);
    background:var(--surface);
    color:var(--text);
    font:inherit;
    padding:11px 14px;
    box-shadow:0 1px 2px rgba(27,45,80,.04);
    outline:none;
}

/* GENERAL / SHARED STYLES — selector: textarea */
textarea {
    min-height:var(--control-height);
    box-sizing:border-box;
    border:1px solid var(--border);
    border-radius:var(--control-radius);
    background:var(--surface);
    color:var(--text);
    font:inherit;
    padding:11px 14px;
    box-shadow:0 1px 2px rgba(27,45,80,.04);
    outline:none;
}


select{
    appearance:none;
    -webkit-appearance:none;
    padding-right:40px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 13px center;
    background-size:16px;
    cursor:pointer;
}

textarea{min-height:110px;resize:vertical}


/* GENERAL / SHARED STYLES — selector: input::placeholder */
input::placeholder {color:var(--muted);opacity:.8}

/* GENERAL / SHARED STYLES — selector: textarea::placeholder */
textarea::placeholder {color:var(--muted);opacity:.8}


/* GENERAL / SHARED STYLES — selector: input:hover:not([type="checkbox"]):not([type="radio"]) */
input:hover:not([type="checkbox"]):not([type="radio"]) {border-color:rgba(36,107,219,.38)}

/* GENERAL / SHARED STYLES — selector: select:hover */
select:hover {border-color:rgba(36,107,219,.38)}

/* GENERAL / SHARED STYLES — selector: textarea:hover */
textarea:hover {border-color:rgba(36,107,219,.38)}


/* GENERAL / SHARED STYLES — selector: input:focus:not([type="checkbox"]):not([type="radio"]) */
input:focus:not([type="checkbox"]):not([type="radio"]) {
    border-color:var(--primary);
    box-shadow:0 0 0 4px var(--focus),0 2px 8px rgba(27,45,80,.05);
}

/* GENERAL / SHARED STYLES — selector: select:focus */
select:focus {
    border-color:var(--primary);
    box-shadow:0 0 0 4px var(--focus),0 2px 8px rgba(27,45,80,.05);
}

/* GENERAL / SHARED STYLES — selector: textarea:focus */
textarea:focus {
    border-color:var(--primary);
    box-shadow:0 0 0 4px var(--focus),0 2px 8px rgba(27,45,80,.05);
}


/* Search bar */
.fun-search-form{align-items:stretch;gap:10px}
.fun-search-form input{min-width:0;flex:1;height:var(--control-height);padding:11px 15px}
.fun-search-form select{height:var(--control-height);min-width:145px}
.fun-search-form button{
    min-height:var(--control-height);
    padding:0 18px;
    border:1px solid var(--primary);
    border-radius:var(--control-radius);
    background:var(--primary);
    color:#fff;
    font:inherit;
    font-weight:800;
    cursor:pointer;
}
.fun-search-form button:hover{background:var(--primary-dark);border-color:var(--primary-dark);transform:translateY(-1px)}

/* Archive filters */
.category-filter{
    align-items:stretch;
    gap:14px;
    padding:16px;
}
.category-filter label{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:7px;
    min-width:0;
}
.category-filter label span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:900}
.category-filter select{max-width:none;width:100%;height:var(--control-height);min-height:var(--control-height);padding:10px 40px 10px 13px}

/* One shared CTA style across the public site */

/* GENERAL / SHARED STYLES — selector: .btn */
.btn {
    min-height:44px;
    box-sizing:border-box;
    border-radius:var(--control-radius);
    font:inherit;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    cursor:pointer;
    transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}

/* GENERAL / SHARED STYLES — selector: .card-btn */
.card-btn {
    min-height:44px;
    box-sizing:border-box;
    border-radius:var(--control-radius);
    font:inherit;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    cursor:pointer;
    transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}

/* GENERAL / SHARED STYLES — selector: .content-action */
.content-action {
    min-height:44px;
    box-sizing:border-box;
    border-radius:var(--control-radius);
    font:inherit;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    cursor:pointer;
    transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}

/* QUIZ SECTION — selector: .quiz-share */
.quiz-share {
    min-height:44px;
    box-sizing:border-box;
    border-radius:var(--control-radius);
    font:inherit;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    cursor:pointer;
    transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}

/* GENERAL / SHARED STYLES — selector: .category-clear */
.category-clear {
    min-height:44px;
    box-sizing:border-box;
    border-radius:var(--control-radius);
    font:inherit;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    cursor:pointer;
    transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}

/* GENERAL / SHARED STYLES — selector: .category-back */
.category-back {
    min-height:44px;
    box-sizing:border-box;
    border-radius:var(--control-radius);
    font:inherit;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    cursor:pointer;
    transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}

/* GENERATORS SECTION — selector: .generator-use-btn */
.generator-use-btn {
    min-height:44px;
    box-sizing:border-box;
    border-radius:var(--control-radius);
    font:inherit;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    cursor:pointer;
    transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}

/* GENERATORS SECTION — selector: .generator-primary */
.generator-primary {
    min-height:44px;
    box-sizing:border-box;
    border-radius:var(--control-radius);
    font:inherit;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    cursor:pointer;
    transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}

/* GENERATORS SECTION — selector: .generator-secondary */
.generator-secondary {
    min-height:44px;
    box-sizing:border-box;
    border-radius:var(--control-radius);
    font:inherit;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    cursor:pointer;
    transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}


/* Primary actions */

/* GENERAL / SHARED STYLES — selector: .btn-primary */
.btn-primary {
    border:1px solid var(--primary);
    background:var(--primary);
    color:#fff;
    box-shadow:0 5px 14px rgba(36,107,219,.14);
}

/* GENERAL / SHARED STYLES — selector: .card-btn */
.card-btn {
    border:1px solid var(--primary);
    background:var(--primary);
    color:#fff;
    box-shadow:0 5px 14px rgba(36,107,219,.14);
}

/* GENERATORS SECTION — selector: .generator-primary */
.generator-primary {
    border:1px solid var(--primary);
    background:var(--primary);
    color:#fff;
    box-shadow:0 5px 14px rgba(36,107,219,.14);
}

/* GENERATORS SECTION — selector: .generator-use-btn */
.generator-use-btn {
    border:1px solid var(--primary);
    background:var(--primary);
    color:#fff;
    box-shadow:0 5px 14px rgba(36,107,219,.14);
}

/* FUN SECTION — selector: .fun-search-form button */
.fun-search-form button {
    border:1px solid var(--primary);
    background:var(--primary);
    color:#fff;
    box-shadow:0 5px 14px rgba(36,107,219,.14);
}


/* GENERAL / SHARED STYLES — selector: .btn-primary:hover */
.btn-primary:hover {
    background:var(--primary-dark);
    border-color:var(--primary-dark);
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(36,107,219,.18);
}

/* GENERAL / SHARED STYLES — selector: .card-btn:hover */
.card-btn:hover {
    background:var(--primary-dark);
    border-color:var(--primary-dark);
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(36,107,219,.18);
}

/* GENERATORS SECTION — selector: .generator-primary:hover */
.generator-primary:hover {
    background:var(--primary-dark);
    border-color:var(--primary-dark);
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(36,107,219,.18);
}

/* GENERATORS SECTION — selector: .generator-use-btn:hover */
.generator-use-btn:hover {
    background:var(--primary-dark);
    border-color:var(--primary-dark);
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(36,107,219,.18);
}

/* FUN SECTION — selector: .fun-search-form button:hover */
.fun-search-form button:hover {
    background:var(--primary-dark);
    border-color:var(--primary-dark);
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(36,107,219,.18);
}

.btn{margin-top:10px;padding:0 20px}
.card-btn{width:100%;padding:0 12px;margin-top:12px}
.generator-use-btn{padding:0 14px;text-decoration:none}

/* GENERATORS SECTION — selector: .generator-primary */
.generator-primary {width:100%;padding:0 18px}

/* GENERATORS SECTION — selector: .generator-secondary */
.generator-secondary {width:100%;padding:0 18px}


/* Secondary actions */

/* GENERAL / SHARED STYLES — selector: .content-action */
.content-action {
    border:1px solid var(--border);
    background:var(--surface);
    color:var(--text);
    box-shadow:0 2px 8px rgba(27,45,80,.04);
}

/* QUIZ SECTION — selector: .quiz-share */
.quiz-share {
    border:1px solid var(--border);
    background:var(--surface);
    color:var(--text);
    box-shadow:0 2px 8px rgba(27,45,80,.04);
}

/* GENERAL / SHARED STYLES — selector: .category-clear */
.category-clear {
    border:1px solid var(--border);
    background:var(--surface);
    color:var(--text);
    box-shadow:0 2px 8px rgba(27,45,80,.04);
}

/* GENERAL / SHARED STYLES — selector: .category-back */
.category-back {
    border:1px solid var(--border);
    background:var(--surface);
    color:var(--text);
    box-shadow:0 2px 8px rgba(27,45,80,.04);
}

/* GENERATORS SECTION — selector: .generator-secondary */
.generator-secondary {
    border:1px solid var(--border);
    background:var(--surface);
    color:var(--text);
    box-shadow:0 2px 8px rgba(27,45,80,.04);
}


/* GENERAL / SHARED STYLES — selector: .content-action:hover */
.content-action:hover {
    border-color:var(--primary);
    color:var(--primary);
    background:var(--bg);
    transform:translateY(-1px);
}

/* QUIZ SECTION — selector: .quiz-share:hover */
.quiz-share:hover {
    border-color:var(--primary);
    color:var(--primary);
    background:var(--bg);
    transform:translateY(-1px);
}

/* GENERAL / SHARED STYLES — selector: .category-clear:hover */
.category-clear:hover {
    border-color:var(--primary);
    color:var(--primary);
    background:var(--bg);
    transform:translateY(-1px);
}

/* GENERAL / SHARED STYLES — selector: .category-back:hover */
.category-back:hover {
    border-color:var(--primary);
    color:var(--primary);
    background:var(--bg);
    transform:translateY(-1px);
}

/* GENERATORS SECTION — selector: .generator-secondary:hover */
.generator-secondary:hover {
    border-color:var(--primary);
    color:var(--primary);
    background:var(--bg);
    transform:translateY(-1px);
}

.content-action{padding:0 15px}
.quiz-share{padding:0 17px}

/* GENERAL / SHARED STYLES — selector: .category-clear */
.category-clear {padding:0 14px}

/* GENERAL / SHARED STYLES — selector: .category-back */
.category-back {padding:0 14px}

.generator-secondary{margin-top:10px}

/* Archive card consistency */
.generator-archive-card{height:100%}
.generator-archive-card .generator-card-icon{flex:0 0 110px}
.generator-archive-card .generator-card-icon span{font-size:48px}
.generator-archive-card .card-actions{margin-top:auto}

/* Generator archive stylesheet is now also loaded on the archive; keep its cards on the same system. */
.generators-archive{padding-top:35px}

/* Selection controls stay distinct from CTA buttons, but use the same modern control language. */

/* GENERAL / SHARED STYLES — selector: .daily-challenge-option */
.daily-challenge-option {
    border-radius:var(--control-radius);
    border-color:var(--border);
    background:var(--surface);
    color:var(--text);
    box-shadow:0 1px 2px rgba(27,45,80,.03);
}

/* GENERAL / SHARED STYLES — selector: .daily-poll-option */
.daily-poll-option {
    border-radius:var(--control-radius);
    border-color:var(--border);
    background:var(--surface);
    color:var(--text);
    box-shadow:0 1px 2px rgba(27,45,80,.03);
}

/* QUIZ SECTION — selector: .quiz-option */
.quiz-option {
    border-radius:var(--control-radius);
    border-color:var(--border);
    background:var(--surface);
    color:var(--text);
    box-shadow:0 1px 2px rgba(27,45,80,.03);
}


/* GENERAL / SHARED STYLES — selector: .daily-challenge-option:focus-visible */
.daily-challenge-option:focus-visible {outline:3px solid var(--focus);outline-offset:2px}

/* GENERAL / SHARED STYLES — selector: .daily-poll-option:focus-visible */
.daily-poll-option:focus-visible {outline:3px solid var(--focus);outline-offset:2px}

/* QUIZ SECTION — selector: .quiz-option:focus-visible */
.quiz-option:focus-visible {outline:3px solid var(--focus);outline-offset:2px}


@media(max-width:700px){
    .fun-search-form{flex-wrap:wrap}
    .fun-search-form input{flex:1 1 100%;width:100%}
    .fun-search-form select{flex:1;min-width:0}
    .fun-search-form button{flex:0 0 auto}
    .category-filter{padding:14px}
    .category-filter label{width:100%}
    .generator-archive-card .generator-card-icon{flex-basis:110px}
}

@media(max-width:480px){
    
/* FUN SECTION — selector: .fun-search-form select */
.fun-search-form select {flex:1 1 100%;width:100%}

/* FUN SECTION — selector: .fun-search-form button */
.fun-search-form button {flex:1 1 100%;width:100%}

    .btn{padding:0 16px}
}

.india-topic-nav{margin:0 0 34px;padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:20px}
.india-topic-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.india-topic-chip{display:inline-flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface-2,var(--background));color:var(--text);font-weight:800;text-decoration:none;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.india-topic-chip small{min-width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--primary);color:#fff;font-size:11px}
.india-topic-chip:hover{transform:translateY(-2px);border-color:var(--primary);box-shadow:var(--shadow)}
.india-content-section{margin:0 0 38px}
.india-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}
.india-section-heading h2{margin:0 0 4px}
.india-section-heading p{margin:0;color:var(--muted)}
.india-section-heading .section-link{white-space:nowrap}
@media(max-width:650px){.india-section-heading{align-items:flex-start;flex-direction:column}.india-section-heading .section-link{margin-top:-4px}.india-topic-nav{padding:18px}.india-topic-list{gap:8px}.india-topic-chip{padding:9px 12px;font-size:14px}}


/* FunOnline v3.5.9 - Independent India content system */

/* INDIA SECTION — selector: .india-landing-page .india-hero */
.india-landing-page .india-hero {margin-bottom:28px;}

/* INDIA SECTION — selector: .india-category-page .india-hero */
.india-category-page .india-hero {margin-bottom:28px;}


/* INDIA SECTION — selector: .india-category-section */
.india-category-section {margin:32px 0 44px;}

/* INDIA SECTION — selector: .india-latest-section */
.india-latest-section {margin:32px 0 44px;}

.india-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.india-category-card{text-decoration:none;display:flex;flex-direction:column;min-height:210px;}
.india-category-card p{flex:1;}
.india-category-card .card-btn{align-self:flex-start;}
.single-india-content{max-width:900px;margin:0 auto;padding-bottom:48px;}
.single-content-card{background:var(--card-bg,#fff);border:1px solid rgba(0,0,0,.08);border-radius:18px;padding:28px;box-shadow:0 8px 28px rgba(0,0,0,.06);}
.single-content-head h1{margin:8px 0 14px;}
.single-content-head .archive-icon{font-size:2rem;}
.content-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:22px;}

/* GENERAL / SHARED STYLES — selector: .content-meta span */
.content-meta span {font-size:.86rem;padding:6px 10px;border-radius:999px;background:rgba(0,0,0,.05);text-decoration:none;}

/* GENERAL / SHARED STYLES — selector: .content-meta a */
.content-meta a {font-size:.86rem;padding:6px 10px;border-radius:999px;background:rgba(0,0,0,.05);text-decoration:none;}

.single-featured-image img{width:100%;height:auto;border-radius:14px;display:block;margin:0 0 24px;}
.single-content-body{font-size:1.05rem;line-height:1.75;}
@media(max-width:900px){.india-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.india-category-grid{grid-template-columns:1fr;}.single-content-card{padding:20px;border-radius:14px;}}


/* FunOnline v3.6 - account UI */
.account-page{max-width:1000px}
/* ACCOUNT / DASHBOARD SECTION — selector: .account-card */
.account-card {background:var(--card-bg,#fff);border:1px solid var(--border,#e8e8e8);border-radius:20px;padding:28px;box-shadow:0 10px 30px rgba(0,0,0,.05)}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-dashboard */
.account-dashboard {background:var(--card-bg,#fff);border:1px solid var(--border,#e8e8e8);border-radius:20px;padding:28px;box-shadow:0 10px 30px rgba(0,0,0,.05)}
.account-card{max-width:620px;margin:30px auto}
/* ACCOUNT / DASHBOARD SECTION — selector: .account-card h1 */
.account-card h1 {margin:8px 0}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-dashboard h1 */
.account-dashboard h1 {margin:8px 0}
.account-card h2{margin-top:0}.account-form{display:grid;gap:16px;margin-top:22px}.account-form label{display:grid;gap:7px;font-weight:700}.account-form input{width:100%;box-sizing:border-box;border:1px solid var(--border,#dfe3e8);border-radius:12px;padding:12px 14px;background:var(--input-bg,#fff);color:inherit;font:inherit}.account-form input:disabled{opacity:.7}.account-switch{margin:20px 0 0;text-align:center}.account-message{padding:12px 14px;border-radius:12px;margin:15px 0}.account-error{background:#fff1f1;border:1px solid #ffd0d0}.account-success{background:#effbf3;border:1px solid #c8efd3}.account-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.account-stat{display:flex;flex-direction:column;gap:5px;padding:16px;border:1px solid var(--border,#e8e8e8);border-radius:14px;margin-top:12px;text-decoration:none;color:inherit}.account-stat span{font-size:.9rem;opacity:.72}.account-text-link{font-size:.82rem!important;font-weight:700}
/* ACCOUNT / DASHBOARD SECTION — selector: .dark-mode .account-card */
.dark-mode .account-card {background:#171a20;border-color:#2b3039}

/* ACCOUNT / DASHBOARD SECTION — selector: .dark-mode .account-dashboard */
.dark-mode .account-dashboard {background:#171a20;border-color:#2b3039}
.dark-mode .account-form input{background:#101318;border-color:#303640}.dark-mode .account-error{background:#321d20;border-color:#623137}.dark-mode .account-success{background:#193022;border-color:#2d5c3b}@media(max-width:700px){
/* ACCOUNT / DASHBOARD SECTION — selector: .account-card */
.account-card {padding:20px;border-radius:16px}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-dashboard */
.account-dashboard {padding:20px;border-radius:16px}
.account-grid{grid-template-columns:1fr}.account-head{align-items:flex-start;flex-direction:column}.account-head .content-action{width:100%;text-align:center}.account-text-link{font-size:.75rem!important}}


/* FunOnline v3.7 — Score & Achievements */
.account-progress-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.account-score-card{max-width:none;margin:0}.account-points{font-size:clamp(2.4rem,5vw,3.6rem);font-weight:850;line-height:1.1;margin:14px 0;color:var(--accent,#5b55e7)}.account-points small{font-size:1rem;font-weight:700}.account-progress-stats{display:flex;flex-wrap:wrap;gap:12px}.account-progress-stats span{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border:1px solid var(--border,#e8e8e8);border-radius:12px;font-size:.82rem}.account-progress-stats strong{font-size:1.15rem}.achievement-list{display:grid;gap:12px}.achievement-badge{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--border,#e8e8e8);border-radius:14px}.achievement-badge>span{font-size:1.8rem}.achievement-badge div{display:grid;gap:4px}.achievement-badge small{opacity:.72}
/* ACCOUNT / DASHBOARD SECTION — selector: .dark-mode .account-progress-stats span */
.dark-mode .account-progress-stats span {border-color:#303640}

/* GENERAL / SHARED STYLES — selector: .dark-mode .achievement-badge */
.dark-mode .achievement-badge {border-color:#303640}
@media(max-width:700px){.account-progress-grid{grid-template-columns:1fr}.account-progress-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.account-progress-stats span{padding:9px 7px;font-size:.72rem}}

/* FunOnline v3.8 - User Progress */
.account-progress-extra{margin:20px 0}.progress-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.progress-stat-row span{display:flex;flex-direction:column;gap:4px;padding:14px;border:1px solid var(--border,#e8e8e8);border-radius:14px}.progress-stat-row strong{font-size:1.25rem}.progress-stat-row small{opacity:.7}.achievement-progress{display:grid;gap:8px;margin-top:22px}.achievement-progress>div:not(.progress-track){display:flex;justify-content:space-between;gap:12px}.progress-track{height:9px;background:var(--border,#e8e8e8);border-radius:99px;overflow:hidden}.progress-track span{display:block;height:100%;border-radius:inherit;background:var(--accent,#5b55e7)}.continue-card{display:flex;flex-direction:column;gap:7px;padding:18px;border:1px solid var(--border,#e8e8e8);border-radius:14px;color:inherit;text-decoration:none}.continue-card span{font-size:.9rem;opacity:.72}
/* GENERAL / SHARED STYLES — selector: .dark-mode .progress-stat-row span */
.dark-mode .progress-stat-row span {border-color:#303640}

/* GENERAL / SHARED STYLES — selector: .dark-mode .continue-card */
.dark-mode .continue-card {border-color:#303640}
.dark-mode .progress-track{background:#303640}@media(max-width:700px){.progress-stat-row{grid-template-columns:1fr}.account-progress-extra{margin-top:16px}}

/* FunOnline v3.9 — Leaderboard */
.leaderboard-page{max-width:1000px}.leaderboard-shell{background:var(--card-bg,#fff);border:1px solid var(--border,#e8e8e8);border-radius:20px;padding:28px;box-shadow:0 10px 30px rgba(0,0,0,.05)}.leaderboard-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.leaderboard-head h1{margin:8px 0}.leaderboard-tabs{display:flex;gap:8px;margin:20px 0;padding:5px;background:var(--input-bg,#f5f6f8);border-radius:14px}.leaderboard-tabs a{flex:1;text-align:center;padding:11px 14px;border-radius:10px;text-decoration:none;color:inherit;font-weight:700}.leaderboard-tabs a.active{background:var(--card-bg,#fff);box-shadow:0 2px 10px rgba(0,0,0,.08)}.leaderboard-me{display:flex;justify-content:space-between;gap:15px;padding:14px 16px;margin-bottom:14px;border:1px solid var(--border,#e8e8e8);border-radius:14px}.leaderboard-me span{opacity:.7}.leaderboard-list{display:grid;gap:8px}.leaderboard-row{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:14px;padding:15px 16px;border:1px solid var(--border,#e8e8e8);border-radius:14px}.leaderboard-row.is-current{border-color:#b9c8ff;background:rgba(80,100,220,.06)}.leaderboard-rank{font-weight:800}.leaderboard-name{font-weight:700}.leaderboard-name small{margin-left:8px;font-size:.75rem;opacity:.65}.leaderboard-points{white-space:nowrap}.leaderboard-empty{text-align:center;padding:40px 15px}.leaderboard-empty h2{margin:0 0 8px}.leaderboard-note{text-align:center;font-size:.85rem;opacity:.65;margin:20px 0 0}.dark-mode .leaderboard-shell{background:#171a20;border-color:#2b3039}.dark-mode .leaderboard-tabs{background:#101318}.dark-mode .leaderboard-tabs a.active{background:#20242c}.dark-mode .leaderboard-row.is-current{border-color:#46558d;background:rgba(80,100,220,.12)}@media(max-width:700px){.leaderboard-shell{padding:20px;border-radius:16px}.leaderboard-head{align-items:flex-start;flex-direction:column}.leaderboard-head .content-action{width:100%;text-align:center}.leaderboard-row{grid-template-columns:45px 1fr auto;padding:13px 12px}.leaderboard-points{font-size:.9rem}.leaderboard-me{flex-direction:column;gap:4px}}

/* v4.0 Advanced Search & Discovery */
.advanced-search-filters{display:grid;grid-template-columns:minmax(220px,1fr) repeat(3,minmax(140px,180px)) auto;gap:10px;margin:0 0 18px;padding:14px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}

/* SEARCH / ARCHIVE SECTION — selector: .advanced-search-filters input */
.advanced-search-filters input {width:100%;min-height:46px;padding:10px 13px;border:1px solid var(--border);border-radius:12px;background:var(--bg);color:var(--text);font-size:14px;box-sizing:border-box}

/* SEARCH / ARCHIVE SECTION — selector: .advanced-search-filters select */
.advanced-search-filters select {width:100%;min-height:46px;padding:10px 13px;border:1px solid var(--border);border-radius:12px;background:var(--bg);color:var(--text);font-size:14px;box-sizing:border-box}

.advanced-search-filters button{min-height:46px;padding:0 20px;border:1px solid var(--primary);border-radius:12px;background:var(--primary);color:#fff;font-weight:700;cursor:pointer}
.advanced-search-filters button:hover{background:var(--primary-dark);border-color:var(--primary-dark)}
.search-meta{margin:4px 0 16px;color:var(--muted);font-size:14px}
@media(max-width:900px){.advanced-search-filters{grid-template-columns:1fr 1fr}.advanced-search-filters input{grid-column:1/-1}}
@media(max-width:560px){.advanced-search-filters{grid-template-columns:1fr}.advanced-search-filters input{grid-column:auto}.advanced-search-filters button{width:100%}}

/* FunOnline v4.0.1 — Advanced Search UI fixes */
.advanced-search-filters{grid-template-columns:minmax(220px,1fr) repeat(3,minmax(140px,180px)) auto;align-items:stretch}
.advanced-search-filters select:disabled{opacity:.62;cursor:not-allowed}
.search-meta{display:flex;align-items:center;gap:6px;margin:2px 0 18px;padding:10px 13px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--muted)}
.search-meta strong{color:var(--text);font-size:15px}.search-meta-range{margin-left:auto;color:var(--muted);font-size:13px}
.search-pagination{margin-top:28px}
.search-pagination .navigation.pagination{display:flex;justify-content:center;align-items:center;gap:7px}
.search-pagination .nav-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px}
.search-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);text-decoration:none;font-weight:800;box-sizing:border-box}
.search-pagination .page-numbers:hover{border-color:var(--primary);color:var(--primary)}
.search-pagination .page-numbers.current{background:var(--primary);border-color:var(--primary);color:#fff}
.search-pagination .page-numbers.dots{border-color:transparent;background:transparent;pointer-events:none}
@media(max-width:900px){.advanced-search-filters{grid-template-columns:1fr 1fr}.advanced-search-filters input{grid-column:1/-1}.advanced-search-filters button{grid-column:1/-1}}
@media(max-width:560px){.advanced-search-filters{grid-template-columns:1fr}
/* SEARCH / ARCHIVE SECTION — selector: .advanced-search-filters input */
.advanced-search-filters input {grid-column:auto}

/* SEARCH / ARCHIVE SECTION — selector: .advanced-search-filters button */
.advanced-search-filters button {grid-column:auto}
.search-pagination .page-numbers{min-width:38px;height:38px;padding:0 9px}.search-meta{flex-wrap:wrap}.search-meta-range{width:100%;margin-left:0;margin-top:2px}}

/* FunOnline v4.1 — Ratings & Feedback */
.card-rating{display:flex;align-items:center;gap:7px;margin:7px 0 2px;font-size:12px;color:var(--muted);min-height:18px}.rating-stars{display:inline-flex;gap:1px;line-height:1;color:#c8cdd5;letter-spacing:0}.rating-star{font-size:15px}.rating-star.is-full{color:#f2b01e}.rating-summary{display:flex;align-items:center;gap:9px;margin-top:8px;color:var(--muted)}.rating-summary strong{color:var(--text);font-size:16px}.rating-head h2{margin:0}.funonline-rating-box{padding:24px;}.rating-form{margin-top:18px;padding-top:18px;border-top:1px solid var(--border)}.rating-form-label{margin:0 0 7px;font-weight:800}.rating-input{display:inline-flex;flex-direction:row-reverse;gap:3px;margin-bottom:13px}.rating-input input{position:absolute;opacity:0;pointer-events:none}.rating-input label{font-size:30px;line-height:1;color:#c8cdd5;cursor:pointer;transition:color .15s ease,transform .15s ease}
/* GENERAL / SHARED STYLES — selector: .rating-input label:hover */
.rating-input label:hover {color:#f2b01e}

/* GENERAL / SHARED STYLES — selector: .rating-input label:hover~label */
.rating-input label:hover~label {color:#f2b01e}

/* GENERAL / SHARED STYLES — selector: .rating-input input:checked~label */
.rating-input input:checked~label {color:#f2b01e}
.rating-input label:hover{transform:scale(1.06)}.rating-form textarea{display:block;width:100%;box-sizing:border-box;min-height:105px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--input-bg,#fff);color:var(--text);font:inherit;resize:vertical}.rating-form .content-action{margin-top:12px}.rating-form .content-action:disabled{opacity:.65;cursor:wait}.rating-form-message{min-height:20px;margin:9px 0 0;color:var(--muted);font-size:13px;font-weight:700}
/* GENERAL / SHARED STYLES — selector: .rating-pending-note */
.rating-pending-note {margin:10px 0 0;padding:10px 12px;border-radius:10px;background:var(--bg);color:var(--muted);font-size:13px}

/* GENERAL / SHARED STYLES — selector: .rating-login-note */
.rating-login-note {margin:10px 0 0;padding:10px 12px;border-radius:10px;background:var(--bg);color:var(--muted);font-size:13px}
.rating-feedback-list{margin-top:22px;padding-top:20px;border-top:1px solid var(--border)}.rating-feedback-list h3{margin:0 0 12px;font-size:17px}.rating-feedback-item{padding:13px 0;border-top:1px solid var(--border)}.rating-feedback-item:first-of-type{border-top:0;padding-top:0}.rating-feedback-item>div{display:flex;align-items:center;gap:9px}.rating-feedback-item>div strong{font-size:13px}.rating-feedback-item p{margin:7px 0 0;line-height:1.6;color:var(--muted);font-size:14px}.dark-mode .rating-form textarea{background:#101318;border-color:#303640}
/* GENERAL / SHARED STYLES — selector: .dark-mode .rating-pending-note */
.dark-mode .rating-pending-note {background:#101318}

/* GENERAL / SHARED STYLES — selector: .dark-mode .rating-login-note */
.dark-mode .rating-login-note {background:#101318}
.dark-mode .rating-star{color:#555b66}.dark-mode .rating-star.is-full{color:#ffd35a}@media(max-width:600px){.funonline-rating-box{padding:18px;border-radius:15px}.rating-input label{font-size:28px}.card-rating{font-size:11px}}



/* FunOnline v4.3 — Notifications */
.notification-link{position:relative}.notification-link>span:first-child{font-size:16px}.notification-badge{position:absolute;top:-3px;right:-3px;min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:#e53935;color:#fff;font-size:10px;font-weight:800;line-height:17px;text-align:center;box-sizing:border-box}.account-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px}.account-section-head h2{margin:0}.account-section-note{margin:5px 0 0;font-size:13px;opacity:.7}.notification-list{display:grid;gap:9px}.notification-item{display:grid;grid-template-columns:42px 1fr;gap:12px;padding:14px;border:1px solid var(--border,#e8e8e8);border-radius:14px}.notification-item.is-unread{border-color:#cbd5ff;background:rgba(80,100,220,.045)}.notification-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:var(--bg,#f5f6f8);font-size:20px}.notification-title-row{display:flex;justify-content:space-between;gap:12px}.notification-title-row time{font-size:11px;opacity:.6;white-space:nowrap}.notification-body p{margin:5px 0 8px;color:var(--muted);font-size:14px;line-height:1.5}.notification-actions{display:flex;flex-wrap:wrap;gap:12px}
/* GENERAL / SHARED STYLES — selector: .notification-actions a */
.notification-actions a {border:0;background:none;padding:0;color:var(--primary);font:inherit;font-size:12px;font-weight:800;cursor:pointer;text-decoration:none}

/* GENERAL / SHARED STYLES — selector: .notification-actions button */
.notification-actions button {border:0;background:none;padding:0;color:var(--primary);font:inherit;font-size:12px;font-weight:800;cursor:pointer;text-decoration:none}
.notification-empty{margin:0;padding:22px;text-align:center;opacity:.7}.dark-mode .notification-item{border-color:#303640}.dark-mode .notification-item.is-unread{border-color:#46558d;background:rgba(80,100,220,.10)}.dark-mode .notification-icon{background:#101318}@media(max-width:600px){.account-section-head{align-items:flex-start;flex-direction:column}.notification-item{grid-template-columns:34px 1fr;padding:12px}.notification-icon{width:34px;height:34px;font-size:17px}.notification-title-row{align-items:flex-start;flex-direction:column;gap:3px}}

/* FunOnline v4.7 — Homepage redesign based on supplied final design */
.funonline-ad{box-sizing:border-box}
.funonline-ad-header{width:min(calc(100% - 32px),var(--container));margin:8px auto 4px;text-align:center;overflow:hidden}

/* HEADER / NAVIGATION SECTION — selector: .funonline-ad-header>iframe */
.funonline-ad-header>iframe {max-width:100%}

/* HEADER / NAVIGATION SECTION — selector: .funonline-ad-header img */
.funonline-ad-header img {max-width:100%}

/* HEADER / NAVIGATION SECTION — selector: .funonline-ad-header ins */
.funonline-ad-header ins {max-width:100%}

.home-section{padding:10px 0}
.home-hero{padding:8px 0 12px}
.home-hero-inner{position:relative;min-height:292px;border-radius:12px;overflow:hidden;background:linear-gradient(110deg,#102b66 0%,#183f8e 38%,#6b3a78 100%);color:#fff;display:grid;grid-template-columns:1.18fr .95fr .72fr;align-items:stretch;box-shadow:0 5px 20px rgba(19,42,90,.12)}
.home-hero-main{position:relative;z-index:3;padding:28px 22px 26px 26px;display:flex;flex-direction:column;justify-content:center}
.home-hero-eyebrow{align-self:flex-start;display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:linear-gradient(90deg,#e83e9d,#824be0);font-size:11px;font-weight:800;letter-spacing:.2px}
.home-hero-main h1{font-size:31px;line-height:1.08;margin:13px 0 9px;letter-spacing:-.5px}
.home-hero-main h1 strong{color:#ffd12f}
.home-hero-main p{max-width:430px;margin:0;color:#eef3ff;font-size:12px;line-height:1.5}
.home-primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;align-self:flex-start;margin-top:17px;padding:10px 17px;border-radius:9px;background:#1678f2;color:#fff;font-size:12px;font-weight:800;box-shadow:0 5px 15px rgba(0,0,0,.16)}
.home-primary-btn span{font-size:17px;line-height:1}
.home-hero-visual{position:relative;min-height:292px;overflow:hidden;background:linear-gradient(180deg,#efb35e 0%,#e88b4e 34%,#425f86 58%,#19385d 100%)}
.home-hero-visual:before{content:"";position:absolute;width:180px;height:180px;right:12%;top:7%;border-radius:50%;background:radial-gradient(circle,#ffd87c 0 35%,rgba(255,216,124,.4) 36%,transparent 69%);filter:blur(1px)}
.home-hero-sun{position:absolute;inset:auto 0 0;height:52%;background:linear-gradient(180deg,transparent,#274b6b 35%,#102b4d 100%);clip-path:polygon(0 55%,18% 45%,33% 63%,49% 32%,64% 53%,80% 28%,100% 47%,100% 100%,0 100%)}
.home-hero-hills{position:absolute;inset:auto -5% 0;height:44%;background:#173e5b;clip-path:polygon(0 68%,12% 54%,25% 72%,40% 47%,55% 72%,70% 45%,83% 65%,100% 44%,100% 100%,0 100%)}
.home-hero-person{position:absolute;left:48%;bottom:15%;font-size:66px;filter:drop-shadow(0 8px 5px rgba(0,0,0,.35));transform:scaleX(-1)}
.home-hero-spark{position:absolute;color:#fff8c9;font-size:20px;opacity:.8}.spark-1{top:18%;left:19%}.spark-2{top:32%;right:17%}
.home-hero-benefits{position:relative;z-index:3;display:flex;flex-direction:column;justify-content:center;gap:9px;padding:20px 16px 20px 2px}
.home-hero-benefits div{padding:11px 12px;border-radius:10px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(4px)}

/* HOMEPAGE SECTION — selector: .home-hero-benefits b */
.home-hero-benefits b {display:block}

/* HOMEPAGE SECTION — selector: .home-hero-benefits span */
.home-hero-benefits span {display:block}
.home-hero-benefits b{font-size:11px}.home-hero-benefits span{margin-top:3px;color:#dce7ff;font-size:9px}
.home-article-layout{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(320px,.94fr);gap:22px}
.home-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.home-section-title h2{margin:0;font-size:16px;line-height:1.2}.home-section-title a{color:var(--primary);font-size:10px;font-weight:800;white-space:nowrap}.home-section-title p{margin:3px 0 0;color:var(--muted);font-size:10px}

/* HOMEPAGE SECTION — selector: .home-featured-article */
.home-featured-article {min-width:0}

/* HOMEPAGE SECTION — selector: .home-latest-articles */
.home-latest-articles {min-width:0}
.home-featured-article>article{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:0 0 12px;overflow:hidden}.home-featured-image{height:158px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#dce9ff,#f6e9ff);overflow:hidden}.home-featured-image img{width:100%;height:100%;object-fit:cover}.home-featured-image span{font-size:50px}.home-article-category{margin:9px 12px 0;color:#1d5ac8;font-size:9px;font-weight:800;text-transform:uppercase}.home-featured-article h3{font-size:18px;line-height:1.2;margin:4px 12px}
/* HOMEPAGE SECTION — selector: .home-featured-article h3 a:hover */
.home-featured-article h3 a:hover {color:var(--primary)}

/* HOMEPAGE SECTION — selector: .home-latest-item h3 a:hover */
.home-latest-item h3 a:hover {color:var(--primary)}
.home-featured-article p{margin:5px 12px;color:var(--muted);font-size:10px}.home-article-meta{display:flex;gap:12px;flex-wrap:wrap;margin:7px 12px 0;color:var(--muted);font-size:9px}.home-latest-articles{padding-left:1px}.home-latest-item{display:grid;grid-template-columns:72px 1fr;gap:10px;padding:7px 0;border-bottom:1px solid var(--border)}.home-latest-item:last-child{border-bottom:0;margin-bottom:0;}.home-latest-thumb{width:72px;height:52px;border-radius:7px;overflow:hidden;background:#edf3ff;display:flex;align-items:center;justify-content:center}.home-latest-thumb img{width:100%;height:100%;object-fit:cover}.home-latest-thumb span{font-size:23px}.home-latest-cat{font-size:8px;color:#2768cf;font-weight:800;text-transform:uppercase}.home-latest-item h3{font-size:11px;line-height:1.25;margin:2px 0}.home-latest-meta{font-size:8px;color:var(--muted)}
.home-empty-article{padding:20px;border:1px dashed var(--border);border-radius:10px;background:var(--surface);display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:11px}.home-empty-article strong{color:var(--text);font-size:13px}
.home-daily{padding-top:8px}.home-daily .container{background:linear-gradient(180deg,#f0f6ff,#eef5ff);border-radius:10px;padding:11px 12px 13px}.home-daily-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.home-daily-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:8px 7px;text-align:center;min-width:0;box-shadow:0 3px 12px rgba(32,61,111,.05)}.home-daily-icon{width:32px;height:32px;margin:0 auto 5px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#f1f5ff;font-size:19px}.home-daily-card>span{display:block;font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-daily-card small{display:block;color:var(--muted);font-size:8px;margin-top:2px}.home-daily-card a{display:inline-block;margin-top:5px;color:var(--primary);font-size:8px;font-weight:800}
.home-mid-ad{padding-top:7px;padding-bottom:7px}.home-mid-ad .funonline-ad{min-height:0;text-align:center;overflow:hidden}.home-list-section{padding-top:8px}.home-card-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.home-content-card{min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:9px;overflow:hidden;box-shadow:0 3px 12px rgba(32,61,111,.04)}.home-content-thumb{height:92px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eef5ff,#fbf0ff);overflow:hidden}.home-content-thumb img{width:100%;height:100%;object-fit:cover}.home-content-thumb span{font-size:35px}.home-content-card-body{padding:7px 8px 8px}.home-content-card h3{margin:0;font-size:10px;line-height:1.25}.home-content-card h3 a:hover{color:var(--primary)}.home-card-type{display:block;color:var(--muted);font-size:8px;margin-top:3px}.home-card-difficulty{display:inline-block;margin-top:3px;padding:2px 5px;border-radius:999px;font-size:7px;font-weight:800}.home-card-link{display:block;margin-top:6px;padding:5px 6px;text-align:center;border-radius:6px;background:#edf4ff;color:#1c5fc8;font-size:8px;font-weight:800}.home-card-link span{font-size:10px}
.home-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.home-mini-section{min-width:0;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 6px 17px rgba(24, 44, 84, .09);}.home-mini-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.home-mini-card{min-width:0;padding:9px 5px 8px;text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:8px}.home-mini-card:hover{border-color:#b8cdf7;transform:translateY(-1px)}.home-mini-icon{width:27px;height:27px;margin:auto;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#f2f6ff;color:var(--primary);font-size:15px}
/* HOMEPAGE SECTION — selector: .home-mini-card strong */
.home-mini-card strong {display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* HOMEPAGE SECTION — selector: .home-mini-card small */
.home-mini-card small {display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-mini-card strong{font-size:8px;margin-top:5px}.home-mini-card small{font-size:7px;color:var(--muted);margin-top:1px}
.home-india{padding-bottom:15px}.home-india-layout{display:grid;grid-template-columns:190px minmax(0,1fr) 240px;gap:12px;align-items:stretch;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:7px;overflow:hidden}.home-india-image{min-height:110px;border-radius:7px;overflow:hidden;background:#edf3ff;display:flex;align-items:center;justify-content:center}.home-india-image img{width:100%;height:100%;object-fit:cover}.home-india-image span{font-size:45px}.home-india-copy{padding:8px 5px}.home-india-copy>span{font-size:8px;color:#2566cf;font-weight:800}.home-india-copy h3{font-size:14px;line-height:1.25;margin:4px 0}.home-india-copy p{margin:0;color:var(--muted);font-size:9px;line-height:1.45}.home-more-btn{display:inline-flex;margin:8px 0 0;padding:5px 9px;border-radius:7px;background:#eaf3ff;color:#1c61cb;font-size:8px;font-weight:800}.home-india-ad{min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f5f7fb;border-radius:7px}.home-india-ad .funonline-ad{width:100%;height:100%;display:flex;align-items:center;justify-content:center;text-align:center}.home-india-ad:empty{display:none}
.home-daily .daily-fun-head{margin-bottom:8px}.home-daily .daily-fun-head h2{font-size:16px;margin:0}.home-daily .daily-fun-head p{font-size:9px;margin:2px 0 0;color:var(--muted)}.home-daily .daily-date{font-size:8px}.home-daily .daily-fun-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.home-daily .daily-fun-card{padding:8px 7px;border-radius:8px;min-width:0}.home-daily .daily-card-icon{width:30px;height:30px;font-size:17px;margin-bottom:4px}.home-daily .daily-card-label{font-size:8px}.home-daily .daily-fun-card h3{font-size:9px}.home-daily .daily-fun-card p{font-size:8px}.home-daily .daily-fun-card .card-btn{font-size:13px;padding:5px 6px;margin-top:6px}
/* HOMEPAGE SECTION — selector: .home-daily .daily-challenge-options */
.home-daily .daily-challenge-options {gap:3px}

/* HOMEPAGE SECTION — selector: .home-daily .daily-poll-options */
.home-daily .daily-poll-options {gap:3px}

/* HOMEPAGE SECTION — selector: .home-daily .daily-challenge-option */
.home-daily .daily-challenge-option {font-size:7px;padding:4px}

/* HOMEPAGE SECTION — selector: .home-daily .daily-poll-option */
.home-daily .daily-poll-option {font-size:7px;padding:4px}

/* HOMEPAGE SECTION — selector: .home-daily .daily-answer summary */
.home-daily .daily-answer summary {font-size:10px}

/* HOMEPAGE SECTION — selector: .home-daily .daily-hint summary */
.home-daily .daily-hint summary {font-size:8px}

@media(max-width:1050px){.home-hero-inner{grid-template-columns:1.15fr .9fr}.home-hero-benefits{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);padding:0 12px 13px}
/* HOMEPAGE SECTION — selector: .home-daily-grid */
.home-daily-grid {grid-template-columns:repeat(3,minmax(0,1fr))}

/* FUN SECTION — selector: .home-daily .daily-fun-grid */
.home-daily .daily-fun-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
.home-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-india-layout{grid-template-columns:160px minmax(0,1fr) 200px}}
@media(max-width:800px){.home-article-layout{grid-template-columns:1fr}.home-featured-image{height:210px}.home-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-two-columns{grid-template-columns:1fr}.home-mini-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.home-india-layout{grid-template-columns:130px 1fr}.home-india-ad{display:none}.home-hero-inner{grid-template-columns:1fr}.home-hero-visual{min-height:180px}.home-hero-main{padding-bottom:16px}.home-hero-benefits{grid-column:auto;grid-template-columns:1fr;padding:0 14px 14px}.home-hero-benefits div{padding:9px}
/* HOMEPAGE SECTION — selector: .home-daily-grid */
.home-daily-grid {grid-template-columns:repeat(2,minmax(0,1fr))}

/* FUN SECTION — selector: .home-daily .daily-fun-grid */
.home-daily .daily-fun-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){.container{width:min(calc(100% - 20px),var(--container))}.funonline-ad-header{width:calc(100% - 20px)}.home-hero-main h1{font-size:28px}.home-hero-main p{font-size:11px}.home-hero-visual{min-height:150px}.home-hero-person{font-size:50px}.home-featured-image{height:175px}.home-latest-item{grid-template-columns:64px 1fr}.home-latest-thumb{width:64px;height:48px}.home-card-grid{gap:7px}.home-content-thumb{height:88px}.home-content-card-body{padding:6px}.home-content-card h3{font-size:9px}.home-two-columns{gap:12px}.home-mini-grid{gap:5px}.home-mini-card{padding:7px 3px}.home-mini-card strong{font-size:7px}.home-india-layout{grid-template-columns:1fr}.home-india-image{height:145px}
/* HOMEPAGE SECTION — selector: .home-daily-grid */
.home-daily-grid {grid-template-columns:repeat(2,minmax(0,1fr))}

/* FUN SECTION — selector: .home-daily .daily-fun-grid */
.home-daily .daily-fun-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.home-daily .daily-fun-card{min-height:150px}}

/* v4.7 Articles basic archive */
.articles-basic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.articles-basic-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}.articles-basic-image{height:170px;background:#eef4ff;display:flex;align-items:center;justify-content:center;overflow:hidden}.articles-basic-image img{width:100%;height:100%;object-fit:cover}.articles-basic-image span{font-size:42px}.articles-basic-body{padding:14px}.articles-basic-body>span{font-size:9px;color:var(--primary);font-weight:800;text-transform:uppercase}.articles-basic-body h2{font-size:17px;line-height:1.25;margin:5px 0}.articles-basic-body p{font-size:11px;color:var(--muted);margin:0 0 8px}.articles-basic-body small{font-size:9px;color:var(--muted)}@media(max-width:800px){.articles-basic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.articles-basic-grid{grid-template-columns:1fr}.articles-basic-image{height:190px}}

/* FunOnline v4.7.1 — Homepage refinement */
/* Header scales continuously with available browser width so 100%–125% zoom stays inside the layout. */
.header-inner{min-width:0;gap:clamp(8px,1.3vw,20px)}
.header-left{min-width:0;flex:0 1 auto}
.site-brand{min-width:0}
.brand-icon{font-size:clamp(25px,2.5vw,36px)}
.site-brand strong{font-size:clamp(18px,1.7vw,24px)}
.site-brand small{font-size:clamp(7px,.72vw,10px)}
.primary-nav{min-width:0;flex:1 1 auto}
.primary-nav ul{justify-content:center;gap:clamp(2px,.45vw,8px);flex-wrap:nowrap}
.primary-nav li{min-width:0}
.primary-nav a{padding:clamp(7px,.75vw,12px) clamp(7px,1vw,15px);font-size:clamp(10px,1vw,14px);white-space:nowrap}
.header-actions{flex:0 0 auto;gap:clamp(2px,.45vw,8px)}

/* HEADER / NAVIGATION SECTION — selector: .header-actions button */
.header-actions button {width:clamp(30px,2.8vw,42px);height:clamp(30px,2.8vw,42px);font-size:clamp(15px,1.1vw,24px);flex:0 0 auto}

/* HEADER / NAVIGATION SECTION — selector: .header-link */
.header-link {width:clamp(30px,2.8vw,42px);height:clamp(30px,2.8vw,42px);font-size:clamp(15px,1.1vw,24px);flex:0 0 auto}

.account-text-link{font-size:clamp(9px,1vw,13px)!important}
@media(max-width:1120px){.header-inner{gap:8px}.primary-nav a{padding-left:6px;padding-right:6px}
/* HEADER / NAVIGATION SECTION — selector: .header-actions button */
.header-actions button {width:32px;height:32px}

/* HEADER / NAVIGATION SECTION — selector: .header-link */
.header-link {width:32px;height:32px}
}
@media(max-width:980px){.primary-nav a{font-size:10px;padding-left:5px;padding-right:5px}.site-brand small{display:none}.brand-icon{font-size:27px}.site-brand strong{font-size:19px}}

/* Hero: use the supplied design's central landscape/person image instead of the CSS illustration. */
.home-hero-inner{min-height:306px;grid-template-columns:1.16fr .92fr .86fr;background:#15376e}
.home-hero-main{padding:32px 24px 30px 28px}
.home-hero-main h1{font-size:clamp(31px,2.7vw,42px)}
.home-hero-main p{font-size:clamp(12px,1vw,14px)}
.home-hero-visual{min-height:306px;background-image:url("../images/hero-reference.jpg");background-size:cover;background-position:center center}
.home-hero-visual:before{display:none}
/* HOMEPAGE SECTION — selector: .home-hero-sun */
.home-hero-sun {display:none}

/* HOMEPAGE SECTION — selector: .home-hero-hills */
.home-hero-hills {display:none}

/* HOMEPAGE SECTION — selector: .home-hero-person */
.home-hero-person {display:none}

/* HOMEPAGE SECTION — selector: .home-hero-spark */
.home-hero-spark {display:none}

.home-hero-benefits{gap:12px;padding:22px 18px 22px 4px}
.home-hero-benefits div{padding:14px 15px;border-radius:12px}
.home-hero-benefits b{font-size:clamp(13px,1.15vw,16px)}
.home-hero-benefits span{font-size:clamp(10px,.9vw,12px);margin-top:4px}

/* Daily Fun: requested 3 top cards + 3 bottom cards. */
.daily-fun-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.daily-fun-card{min-height:0;padding:14px;border-radius:12px}
.daily-card-icon{width:34px;height:34px;font-size:18px;margin-bottom:5px}
.daily-card-label{font-size:12px}
.daily-fun-card h3{font-size:18px;line-height:1.3;font-weight:500}
.daily-fun-card p{font-size:10px;line-height:1.4}
.daily-fun-card .card-btn{font-size:13px;padding:7px 8px;margin-top:8px}

/* GENERAL / SHARED STYLES — selector: .daily-challenge-options */
.daily-challenge-options {gap:4px}

/* GENERAL / SHARED STYLES — selector: .daily-poll-options */
.daily-poll-options {gap:4px}


/* GENERAL / SHARED STYLES — selector: .daily-challenge-option */
.daily-challenge-option {font-size:12px;padding:6px}

/* GENERAL / SHARED STYLES — selector: .daily-poll-option */
.daily-poll-option {font-size:12px;padding:6px}


/* GENERAL / SHARED STYLES — selector: .daily-answer summary */
.daily-answer summary {font-size:10px}

/* GENERAL / SHARED STYLES — selector: .daily-hint summary */
.daily-hint summary {font-size:10px}


/* Games + Quizzes: larger, readable cards. */
.home-card-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.home-content-card{border-radius:12px}
.home-content-thumb{height:126px}
.home-content-thumb span{font-size:42px}
.home-content-card-body{padding:10px 11px 11px}
.home-content-card h3{font-size:14px;line-height:1.3;min-height:36px}
.home-card-type{font-size:10px;margin-top:4px}
.home-card-difficulty{font-size:8px;margin-top:4px}
.home-card-link{font-size:11px;padding:7px 8px;margin-top:8px;border-radius:8px}

/* Tools + Generators: exactly 3 cards per row, titles may use two lines. */
.home-two-columns{gap:20px}
.home-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px;margin-bottom:10px;padding:0 10px;}
.home-mini-card{min-height:88px;padding:10px 7px}
.home-mini-icon{width:30px;height:30px;font-size:16px;margin-bottom:10px;}
.home-mini-card strong{font-size:10px;line-height:1.25;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:5px}
.home-mini-card small{font-size:8px;margin-top:2px}

/* India Spotlight: keep the ad slot visible even when no ad code is currently enabled. */
.home-india-layout{grid-template-columns:190px minmax(0,1fr) 300px;gap:14px}
.home-india-ad{min-height:130px;background:#f5f7fb;border:1px dashed var(--border)}
.home-india-ad:empty{display:flex}
.home-india-ad:empty::before{content:"Ad";font-size:11px;color:var(--muted);font-weight:800;letter-spacing:.4px}

@media(max-width:1050px){
    .home-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .home-india-layout{grid-template-columns:160px minmax(0,1fr) 250px}
}
@media(max-width:900px){
    .daily-fun-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .home-two-columns{grid-template-columns:1fr}
}
@media(max-width:800px){
    .home-hero-inner{grid-template-columns:1fr}
    .home-hero-visual{min-height:210px;order:2}
    .home-hero-main{order:1}
    .home-hero-benefits{order:3;grid-column:auto;display:grid;grid-template-columns:repeat(3,1fr);padding:10px 14px 14px}
    .home-hero-benefits div{padding:10px}
    .home-india-layout{grid-template-columns:130px 1fr}
    .home-india-ad{grid-column:1/-1;min-height:110px}
}
@media(max-width:600px){
    .daily-fun-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    .daily-fun-card{padding:10px}
    .home-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    .home-content-thumb{height:110px}
    .home-content-card-body{padding:8px}
    .home-content-card h3{font-size:12px;min-height:31px}
    .home-card-type{font-size:9px}
    .home-card-link{font-size:10px}
    .home-mini-grid{gap:7px}
    .home-mini-card{min-height:82px}
}
@media(max-width:480px){
    
/* ACCOUNT / DASHBOARD SECTION — selector: .header-actions .account-text-link */
.header-actions .account-text-link {display:none}

/* HEADER / NAVIGATION SECTION — selector: .header-actions .header-link[href*="favorites"] */
.header-actions .header-link[href*="favorites"] {display:none}

/* HEADER / NAVIGATION SECTION — selector: .header-actions .header-link[href*="history"] */
.header-actions .header-link[href*="history"] {display:none}

    .home-hero-main h1{font-size:29px}
    .home-hero-benefits{grid-template-columns:1fr}
    .home-hero-visual{min-height:180px}
    .daily-fun-grid{grid-template-columns:1fr 1fr}
    .home-india-layout{grid-template-columns:1fr}
    .home-india-image{height:145px}
}

/* FunOnline v4.7.2 — Homepage typography, metadata and card refinements */
.home-hero-visual{background-image:url("../images/hero-reference.jpg");background-size:cover;background-position:center center}
.home-hero-main h1{font-size:clamp(31px,2.7vw,42px)}
.home-hero-benefits b{font-size:clamp(15px,1.25vw,18px)}
.home-hero-benefits span{font-size:clamp(11px,1vw,13px)}
.home-section-title h2{font-size:20px}
.home-section-title p{font-size:13px}
.home-featured-article h3{font-size:22px}
.home-featured-article p{font-size:13px}
.home-article-meta{font-size:10px}

/* ARTICLES SECTION — selector: .home-article-category a */
.home-article-category a {color:inherit;text-decoration:none}

/* HOMEPAGE SECTION — selector: .home-latest-cat a */
.home-latest-cat a {color:inherit;text-decoration:none}


/* ARTICLES SECTION — selector: .home-article-category a:hover */
.home-article-category a:hover {color:var(--primary);text-decoration:underline}

/* HOMEPAGE SECTION — selector: .home-latest-cat a:hover */
.home-latest-cat a:hover {color:var(--primary);text-decoration:underline}

.home-latest-item h3{font-size:13px}
.home-latest-meta{font-size:10px}
.meta-icon{font-size:1em;line-height:1}

/* HOMEPAGE SECTION — selector: .home-card-type */
.home-card-type {display:none!important}

/* HOMEPAGE SECTION — selector: .home-card-difficulty */
.home-card-difficulty {display:none!important}

.home-card-category{display:block;font-size:10px;line-height:1.25;color:var(--primary);font-weight:800;text-decoration:none;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-card-category:hover{text-decoration:underline}
.daily-poll-options{margin-top:10px}
.daily-fun-card p{font-size:13px}
.home-daily .daily-fun-card p{font-size:13px}
.home-mini-card strong{font-size:12px}
.home-mini-card small{font-size:9px}
.home-india-layout{grid-template-columns:minmax(0,1fr) 300px;gap:14px;background:transparent;border:0;padding:0;overflow:visible}
.home-india-post{display:grid;grid-template-columns:190px minmax(0,1fr);gap:0;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:7px;overflow:hidden}
.home-india-ad{min-height:130px;background:#f5f7fb;border:1px dashed var(--border);border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.home-india-ad .funonline-ad{width:100%;height:100%;display:flex;align-items:center;justify-content:center;text-align:center}
.home-india-ad:empty{display:flex}
.home-india-ad:empty::before{content:"Ad";font-size:11px;color:var(--muted);font-weight:800;letter-spacing:.4px}
@media(max-width:1050px){
  .home-india-layout{grid-template-columns:minmax(0,1fr) 250px}
  .home-india-post{grid-template-columns:160px minmax(0,1fr)}
}
@media(max-width:800px){
  .home-india-layout{grid-template-columns:1fr}
  .home-india-post{grid-template-columns:130px minmax(0,1fr)}
  .home-india-ad{min-height:110px}
}
@media(max-width:600px){
  .home-section-title h2{font-size:19px}
  .home-section-title p{font-size:12px}
  .home-featured-article h3{font-size:20px}
  .home-featured-article p{font-size:13px}
  .home-latest-item h3{font-size:13px}
  
/* HOMEPAGE SECTION — selector: .home-latest-meta */
.home-latest-meta {font-size:10px}

/* ARTICLES SECTION — selector: .home-article-meta */
.home-article-meta {font-size:10px}

  .home-mini-card strong{font-size:12px}
  .home-mini-card small{font-size:9px}
  .home-india-post{grid-template-columns:1fr}
  .home-india-image{height:145px}
}

/* FunOnline v4.7.3 — Homepage hero image and India layout refinement */
.home-hero-inner{
  background-image:linear-gradient(90deg,rgba(10,28,65,.84) 0%,rgba(10,28,65,.52) 48%,rgba(10,28,65,.24) 100%),url("../images/hero-banner-image.webp");
  background-size:cover;
  background-position:center center;
}
.home-hero-visual{background:transparent!important}

/* HOMEPAGE SECTION — selector: .home-hero-visual:before */
.home-hero-visual:before {display:none!important}

/* HOMEPAGE SECTION — selector: .home-hero-sun */
.home-hero-sun {display:none!important}

/* HOMEPAGE SECTION — selector: .home-hero-hills */
.home-hero-hills {display:none!important}

/* HOMEPAGE SECTION — selector: .home-hero-person */
.home-hero-person {display:none!important}

/* HOMEPAGE SECTION — selector: .home-hero-spark */
.home-hero-spark {display:none!important}

.home-india-copy h3{font-size:16px}
.home-india-copy p{font-size:13px}
.home-india-meta-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}
.home-india-meta-row .home-article-meta{margin:0;align-items:center}
.home-india-meta-row .home-more-btn{margin:0;padding:7px 12px;font-size:10px;white-space:nowrap}
@media(max-width:600px){
  .home-india-meta-row{gap:8px}
  .home-india-meta-row .home-article-meta{font-size:10px;gap:8px}
  .home-india-meta-row .home-more-btn{padding:6px 10px;font-size:9px}
}

/* FunOnline Homepage — final visual polish
 * Purpose: unify spacing, readable typography and a consistent blue/indigo + warm accent palette.
 * Structure/content remains unchanged.
 */
:root{
    --fo-blue:#2563eb;
    --fo-blue-dark:#173f8f;
    --fo-navy:#102b66;
    --fo-indigo:#5b3cc4;
    --fo-pink:#e83e9d;
    --fo-yellow:#fbbf24;
    --fo-orange:#f59e0b;
    --fo-soft:#f5f8ff;
}

/* Global homepage rhythm */
.home-section{padding:16px 0}
.home-articles{padding-top:12px;padding-bottom:18px}
.home-section-title{margin-bottom:12px}
.home-section-title h2{font-size:24px;line-height:1.25;font-weight:800;letter-spacing:-.15px;color:var(--text)}
.home-mini-section h2 {font-size:20px}
.home-section-title p{font-size:12px;line-height:1.45;color:var(--muted)}
.home-section-title>a{font-size:11px;color:var(--fo-blue);font-weight:800}

/* Hero */
.home-hero{padding:12px 0 16px}
.home-hero-inner{
    min-height:306px;
    border-radius:14px;
    box-shadow:0 10px 28px rgba(16,43,102,.12);
    background-color:var(--fo-navy);
}
.home-hero-main{padding:34px 26px 32px 30px}
.home-hero-eyebrow{
    padding:6px 11px;
    background:linear-gradient(90deg,var(--fo-pink),var(--fo-indigo));
    font-size:11px;
    letter-spacing:.25px;
}
.home-hero-main h1{font-size:clamp(32px,2.7vw,42px);line-height:1.1;margin:14px 0 10px;letter-spacing:-.65px}
.home-hero-main h1 strong{color:var(--fo-yellow)}
.home-hero-main p{font-size:13px;line-height:1.55;color:#f3f6ff;max-width:440px}
.home-primary-btn{margin-top:18px;padding:10px 17px;border-radius:9px;background:var(--fo-blue);font-size:12px;box-shadow:0 7px 18px rgba(0,0,0,.18);transition:transform .18s ease,background .18s ease}
.home-primary-btn:hover{background:#1d4ed8;transform:translateY(-1px)}
.home-hero-benefits{gap:11px;padding:22px 18px 22px 5px}
.home-hero-benefits div{padding:13px 14px;border-radius:11px;background:rgb(7, 35, 76, 0.5);border:1px solid rgb(6, 30, 66, 0.16)}
.home-hero-benefits b{font-size:14px;line-height:1.3}
.home-hero-benefits span{font-size:11px;line-height:1.35;margin-top:4px;color:#e4ebff}

/* Articles */
.home-article-layout{gap:24px}
.home-featured-article>article{border-radius:12px;padding-bottom:14px;box-shadow:0 4px 15px rgba(24,44,84,.05)}
.home-featured-image{height:218px}
.home-article-category{margin:10px 14px 0;font-size:10px;color:var(--fo-blue)}
.home-featured-article h3{font-size:22px;line-height:1.25;margin:5px 14px}
.home-featured-article h3 a{color:var(--text)}
.home-featured-article p{font-size:13px;line-height:1.55;margin:6px 14px;color:var(--muted)}
.home-article-meta{font-size:10.5px;line-height:1.35;margin:9px 14px 0;gap:12px;color:var(--muted)}
.home-latest-item{grid-template-columns:78px 1fr;gap:11px;padding:9px 0}
.home-latest-thumb{width:78px;height:56px;border-radius:8px}
.home-latest-cat{font-size:9.5px;line-height:1.2}
.home-latest-item h3{font-size:14px;line-height:1.35;margin:0 0 6px}
.home-latest-meta{font-size:10px;line-height:1.35;color:var(--muted)}
.home-latest-item{border-color:#e8edf5}

/* Today's Fun */
.home-daily{padding-top:14px;padding-bottom:18px}
.home-daily .daily-fun-head{margin-bottom:11px}
.home-daily .daily-fun-head h2{font-size:20px;margin:0}
.home-daily .daily-fun-head p{font-size:11px;margin-top:3px}
.home-daily .daily-date{font-size:10px}
.home-daily .daily-fun-grid{gap:10px}
.home-daily .daily-fun-card{
    padding:12px 11px;
    border-radius:10px;
    min-height:150px;
    background:#fff;
    box-shadow:0 4px 14px rgba(24,44,84,.06);
}
.home-daily .daily-card-icon{width:32px;height:32px;font-size:17px;margin-bottom:5px}
.home-daily .daily-card-label{font-size:9px}
.home-daily .daily-fun-card h3{font-size:12px;line-height:1.3;margin-bottom:5px}
.home-daily .daily-fun-card p{font-size:11px;line-height:1.45;color:var(--muted);margin-bottom:8px}
.home-daily .daily-fun-card .card-btn{font-size:13px;padding:7px 8px;border-radius:8px;margin-top:auto}

/* HOMEPAGE SECTION — selector: .home-daily .daily-challenge-options */
.home-daily .daily-challenge-options {gap:4px;margin-top:8px}

/* HOMEPAGE SECTION — selector: .home-daily .daily-poll-options */
.home-daily .daily-poll-options {gap:4px;margin-top:8px}


/* HOMEPAGE SECTION — selector: .home-daily .daily-challenge-option */
.home-daily .daily-challenge-option {font-size:9px;padding:6px 7px;border-radius:7px}

/* HOMEPAGE SECTION — selector: .home-daily .daily-poll-option */
.home-daily .daily-poll-option {font-size:9px;padding:6px 7px;border-radius:7px}


/* HOMEPAGE SECTION — selector: .home-daily .daily-answer summary */
.home-daily .daily-answer summary {font-size:9px}

/* HOMEPAGE SECTION — selector: .home-daily .daily-hint summary */
.home-daily .daily-hint summary {font-size:9px}


/* Games + Quizzes */
.home-list-section{padding-top:17px;padding-bottom:17px}
.home-card-grid{gap:12px}
.home-content-card{border-radius:11px;box-shadow:0 4px 14px rgba(24,44,84,.055)}
.home-content-thumb{height:124px}
.home-content-card-body{padding:10px 10px 11px}
.home-content-card h3{font-size:13px;line-height:1.3;min-height:34px}
.home-card-category{font-size:10px;line-height:1.3;margin-top:4px}
.home-card-link{font-size:10.5px;padding:7px 8px;border-radius:8px;margin-top:8px;background:var(--fo-blue)}
.home-card-link:hover{background:#1d4ed8}

/* Tools + Generators */
.home-tools-generators{padding-top:17px;padding-bottom:18px}
.home-two-columns{gap:20px}
.home-mini-section .home-section-title{margin-bottom:9px;background:var(--bg);padding:10px;border-radius:8px 8px 0 0;border-bottom:1px solid var(--border);}
.home-mini-card{min-height:90px;padding:10px 8px;border-radius:10px;box-shadow:0 3px 12px rgba(24,44,84,.05)}
.home-mini-icon{width:30px;height:30px;font-size:16px}
.home-mini-card strong{font-size:11px;line-height:1.3;margin-top:5px}
.home-mini-card small{font-size:9px;line-height:1.25;margin-top:2px}

/* India Spotlight */
.home-india{padding-top:17px;padding-bottom:20px}
.home-india-layout{gap:14px}
.home-india-post{border-radius:11px;padding:7px;box-shadow:0 4px 14px rgba(24,44,84,.055)}
.home-india-image{border-radius:8px}
.home-india-copy{padding:9px 10px}
.home-india-copy h3{font-size:16px;line-height:1.3;margin:3px 0 6px}
.home-india-copy p{font-size:12px;line-height:1.5;margin:0;color:var(--muted)}
.home-india-meta-row{margin-top:10px;gap:10px}
.home-india-meta-row .home-article-meta{font-size:10px;gap:8px}
.home-india-meta-row .home-more-btn{padding:7px 11px;font-size:13px;border-radius:8px;background:#eaf2ff;color:var(--fo-blue);align-items:center}
.home-india-meta-row .home-more-btn:hover{background:#dce9ff}
.home-india-ad{border-radius:11px;background:#f7f9fd}

/* Consistent focus/hover treatment */

/* HOMEPAGE SECTION — selector: .home-featured-article h3 a */
.home-featured-article h3 a {transition:color .18s ease,transform .18s ease}

/* HOMEPAGE SECTION — selector: .home-latest-item h3 a */
.home-latest-item h3 a {transition:color .18s ease,transform .18s ease}

/* HOMEPAGE SECTION — selector: .home-content-card h3 a */
.home-content-card h3 a {transition:color .18s ease,transform .18s ease}

/* HOMEPAGE SECTION — selector: .home-mini-card */
.home-mini-card {transition:color .18s ease,transform .18s ease}


/* HOMEPAGE SECTION — selector: .home-featured-article h3 a:hover */
.home-featured-article h3 a:hover {color:var(--fo-blue)}

/* HOMEPAGE SECTION — selector: .home-latest-item h3 a:hover */
.home-latest-item h3 a:hover {color:var(--fo-blue)}

/* HOMEPAGE SECTION — selector: .home-content-card h3 a:hover */
.home-content-card h3 a:hover {color:var(--fo-blue)}


/* HOMEPAGE SECTION — selector: .home-content-card:hover */
.home-content-card:hover {transform:translateY(-2px)}

/* HOMEPAGE SECTION — selector: .home-mini-card:hover */
.home-mini-card:hover {transform:translateY(-2px)}


/* Mobile readability and spacing */
@media(max-width:800px){
    .home-section{padding:14px 0}
    .home-hero{padding:9px 0 13px}
    .home-hero-main{padding:27px 22px 24px}
    .home-hero-main h1{font-size:31px}
    .home-hero-main p{font-size:12.5px}
    .home-hero-benefits{gap:8px;padding:10px 13px 13px}
    .home-hero-benefits div{padding:10px 11px}
    .home-hero-benefits b{font-size:12px}
    .home-hero-benefits span{font-size:10px}
    .home-article-layout{gap:18px}
    .home-featured-image{height:205px}
    .home-latest-item{grid-template-columns:74px 1fr}
    .home-latest-thumb{width:74px;height:54px}
    .home-daily .daily-fun-grid{gap:9px}
    .home-content-thumb{height:112px}
    .home-india-post{grid-template-columns:145px minmax(0,1fr)}
}

@media(max-width:600px){
    .home-section-title h2{font-size:18px}
    .home-section-title>a{font-size:10px}
    .home-hero-main h1{font-size:29px}
    .home-hero-main p{font-size:12px}
    .home-hero-benefits{grid-template-columns:1fr 1fr}
    .home-hero-benefits div{padding:9px}
    .home-hero-benefits b{font-size:11px}
    .home-hero-benefits span{font-size:9.5px}
    .home-featured-image{height:180px}
    .home-featured-article h3{font-size:19px}
    .home-featured-article p{font-size:12.5px}
    
/* ARTICLES SECTION — selector: .home-article-meta */
.home-article-meta {font-size:9.5px}

/* HOMEPAGE SECTION — selector: .home-latest-meta */
.home-latest-meta {font-size:9.5px}

    .home-latest-item h3{font-size:12.5px}
    .home-daily .daily-fun-card{padding:10px;min-height:145px}
    .home-daily .daily-fun-card h3{font-size:11.5px}
    .home-daily .daily-fun-card p{font-size:10.5px}
    .home-content-thumb{height:105px}
    .home-content-card h3{font-size:12px;min-height:31px}
    .home-card-category{font-size:9.5px}
    .home-card-link{font-size:10px}
    .home-mini-card strong{font-size:11px}
    .home-mini-card small{font-size:8.5px}
    .home-india-post{grid-template-columns:1fr}
    .home-india-image{height:150px}
    .home-india-copy{padding:9px 4px 4px}
    .home-india-copy h3{font-size:15px}
    .home-india-copy p{font-size:12px}
}

@media(max-width:480px){
    .home-hero-benefits{grid-template-columns:1fr}
    .home-hero-benefits div{padding:9px 10px}
    .home-hero-main h1{font-size:28px}
    .home-featured-image{height:170px}
    .home-featured-article h3{font-size:18px}
    .home-latest-item{grid-template-columns:68px 1fr;gap:9px}
    .home-latest-thumb{width:68px;height:50px}
    .home-daily .daily-fun-grid{gap:7px}
    .home-daily .daily-fun-card{padding:9px 8px}
    .home-daily .daily-fun-card h3{font-size:11px}
    .home-daily .daily-fun-card p{font-size:10px}
    .home-content-thumb{height:96px}
}

/* Fix: Game + Quiz card action button text readability */
.home-content-card .home-card-link{
    color:#ffffff;
    opacity:1;
    text-shadow:none;
}
.home-content-card .home-card-link:hover{
    color:#ffffff;
}

/* FunOnline v4.8 — Single Article + Widget Sidebar */
.single-article-page{padding:20px 0 55px}
.single-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.single-article{min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}
.single-article-hero{position:relative;min-height:auto;background:#eaf0fa;overflow:hidden}
.single-article-featured-image{display:block;width:100%;height:430px;object-fit:cover}
.single-article-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,15,35,.03) 20%,rgba(5,15,35,.78) 100%);pointer-events:none}
.single-article-hero-overlay{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:30px 32px;color:#fff}
.single-article-category{display:inline-flex;align-items:center;color:#fff;background:var(--primary);text-decoration:none;font-size:12px;font-weight:800;line-height:1;border-radius:999px;padding:7px 11px;margin-bottom:10px;text-transform:uppercase;letter-spacing:.2px}
.single-article-category:hover{color:#fff;filter:brightness(.95)}

/* ARTICLES SECTION — selector: .single-article-hero-overlay h1 */
.single-article-hero-overlay h1 {font-size:36px;line-height:1.12;margin:0;letter-spacing:-.4px}

/* ARTICLES SECTION — selector: .single-article-no-image-head h1 */
.single-article-no-image-head h1 {font-size:36px;line-height:1.12;margin:0;letter-spacing:-.4px}

.single-article-no-image-head{padding:30px 32px 12px}
.single-article-no-image-head .single-article-category{color:#fff}
.single-article-meta-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 22px;border-bottom:1px solid var(--border);background:var(--surface)}
.single-article-meta{display:flex;flex-wrap:wrap;gap:7px 16px;color:var(--muted);font-size:12px;align-items:center}.single-meta-icon{font-size:12px;margin-right:4px;vertical-align:-1px}
.single-article-meta span:not(:last-child):after{content:"·";margin-left:16px;color:var(--border)}
.single-article-actions{display:flex;align-items:center;gap:8px}
.single-action{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:9px;padding:8px 11px;font:inherit;font-size:12px;font-weight:700;text-decoration:none;cursor:pointer}
.single-action:hover{border-color:var(--primary);color:var(--primary)}
.single-action.saved{background:#fff8dc;color:#8a6500;border-color:#ead79a}
.single-article-content{padding:20px 20px 8px;font-size:14px;line-height:1.8;color:var(--text)}
.single-article-content>*:first-child{margin-top:0}
.single-article-content img{max-width:100%;height:auto;border-radius:10px}
.single-article-content h2{font-size:25px;line-height:1.25;margin:28px 0 10px}
.single-article-content h3{font-size:21px;line-height:1.3;margin:24px 0 9px}
.single-article-content p{margin:0 0 17px}
.single-article-content a{color:var(--primary)}
.single-article-tags{display:flex;flex-wrap:wrap;gap:7px;padding:15px 30px 0}
.single-article-tags a{border:1px solid var(--border);background:var(--bg);border-radius:999px;padding:6px 10px;color:var(--muted);font-size:11px;text-decoration:none}
.single-article-tags a:hover{color:var(--primary);border-color:var(--primary)}
.single-article-share{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:20px 30px;border-bottom:1px solid var(--border)}
.single-article-share>span{font-size:12px;font-weight:800;color:var(--muted);margin-right:2px}

/* ARTICLES SECTION — selector: .single-article-share a */
.single-article-share a {border:0;border-radius:8px;padding:8px 11px;color:#fff;font-size:11px;font-weight:800;text-decoration:none;cursor:pointer}

/* GENERAL / SHARED STYLES — selector: .single-share-more */
.single-share-more {border:0;border-radius:8px;padding:8px 11px;color:#fff;font-size:11px;font-weight:800;text-decoration:none;cursor:pointer}

.share-whatsapp{background:#25d366}.share-x{background:#111}.share-facebook{background:#1877f2}.single-share-more{background:var(--primary)}
.single-article-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:20px 30px;border-bottom:1px solid var(--border)}
.single-article-nav-item a{display:flex;flex-direction:column;gap:5px;height:100%;padding:14px;border:1px solid var(--border);border-radius:11px;background:var(--bg);color:var(--text);text-decoration:none}
.single-article-nav-item.next{text-align:right}
.single-article-nav-item span{font-size:10px;color:var(--muted);font-weight:800;text-transform:uppercase}
.single-article-nav-item strong{font-size:13px;line-height:1.35}
.single-article-nav-item a:hover{border-color:var(--primary);color:var(--primary)}
.single-related-articles{padding:22px 30px;border-bottom:1px solid var(--border)}
.single-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.single-section-title h2{font-size:21px;margin:0}
.single-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.single-related-card{min-width:0;border:1px solid var(--border);border-radius:11px;overflow:hidden;background:var(--surface)}
.single-related-image{height:105px;display:flex;align-items:center;justify-content:center;background:var(--bg);overflow:hidden}
.single-related-image img{width:100%;height:100%;object-fit:cover}.single-related-image span{font-size:35px}
.single-related-body{padding:10px}.single-related-cat{font-size:9px;color:var(--primary);font-weight:800;text-transform:uppercase;text-decoration:none}.single-related-body h3{font-size:13px;line-height:1.3;margin:4px 0}.single-related-body h3 a{color:var(--text);text-decoration:none}.single-related-body h3 a:hover{color:var(--primary)}.single-related-body small{font-size:9px;color:var(--muted)}
.single-empty{color:var(--muted);font-size:13px}
.single-comments{padding:24px 30px}.single-comments .comments-title{font-size:21px}
/* GENERAL / SHARED STYLES — selector: .single-comments .comment-form-comment textarea */
.single-comments .comment-form-comment textarea {width:100%;box-sizing:border-box;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:9px;padding:11px;font:inherit}

/* GENERAL / SHARED STYLES — selector: .single-comments input[type="text"] */
.single-comments input[type="text"] {width:100%;box-sizing:border-box;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:9px;padding:11px;font:inherit}

/* GENERAL / SHARED STYLES — selector: .single-comments input[type="email"] */
.single-comments input[type="email"] {width:100%;box-sizing:border-box;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:9px;padding:11px;font:inherit}

/* GENERAL / SHARED STYLES — selector: .single-comments input[type="url"] */
.single-comments input[type="url"] {width:100%;box-sizing:border-box;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:9px;padding:11px;font:inherit}
.single-comments .form-submit input{border:0;background:var(--primary);color:#fff;border-radius:9px;padding:10px 16px;font-weight:800;cursor:pointer}
.article-sidebar{min-width:0;position:sticky;top:18px;width:300px}.article-sidebar>.funonline-ad-sidebar{width:300px;min-height:250px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}
/* ARTICLES SECTION — selector: .article-sidebar>.funonline-ad-sidebar iframe */
.article-sidebar>.funonline-ad-sidebar iframe {max-width:100%;max-height:250px}

/* ARTICLES SECTION — selector: .article-sidebar>.funonline-ad-sidebar img */
.article-sidebar>.funonline-ad-sidebar img {max-width:100%;max-height:250px}

/* ARTICLES SECTION — selector: .article-sidebar>.funonline-ad-sidebar ins */
.article-sidebar>.funonline-ad-sidebar ins {max-width:100%;max-height:250px}
.article-sidebar>.funonline-ad-sidebar>div{max-width:100%}.article-sidebar .widget{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:17px;margin:0 0 15px;box-shadow:var(--shadow)}.article-sidebar .widget-title{font-size:17px;margin:0 0 12px;padding-bottom:9px;border-bottom:1px solid var(--border)}.article-sidebar .widget ul{margin:0;padding:0;list-style:none}.article-sidebar .widget li{padding:8px 0;border-bottom:1px solid var(--border);font-size:13px}.article-sidebar .widget li:last-child{border-bottom:0}.article-sidebar .widget a{color:var(--text);text-decoration:none}.article-sidebar .widget a:hover{color:var(--primary)}.widget-placeholder p{font-size:12px;color:var(--muted);line-height:1.55;margin:0}
.single-article-page+.site-footer{margin-top:0}
@media(max-width:900px){.single-article-layout{grid-template-columns:1fr}.article-sidebar{position:static;width:100%}.article-sidebar>.funonline-ad-sidebar{max-width:300px}.single-article-featured-image{height:360px}.single-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.single-article{border-radius:12px}.single-article-featured-image{height:270px}.single-article-hero-overlay{padding:20px}
/* ARTICLES SECTION — selector: .single-article-hero-overlay h1 */
.single-article-hero-overlay h1 {font-size:27px}

/* ARTICLES SECTION — selector: .single-article-no-image-head h1 */
.single-article-no-image-head h1 {font-size:27px}
.single-article-no-image-head{padding:22px 20px 8px}.single-article-meta-row{align-items:flex-start;flex-direction:column;padding:13px 18px}.single-article-meta{font-size:11px}.single-article-meta span:not(:last-child):after{margin-left:10px}.single-article-actions{width:100%}.single-action{flex:1}.single-article-content{padding:22px 18px 6px;font-size:15px;line-height:1.75}
/* ARTICLES SECTION — selector: .single-article-tags */
.single-article-tags {padding-left:18px;padding-right:18px}

/* ARTICLES SECTION — selector: .single-article-share */
.single-article-share {padding-left:18px;padding-right:18px}
.single-article-nav{padding:16px 18px;grid-template-columns:1fr}.single-article-nav-item.next{text-align:left}.single-related-articles{padding:20px 18px}.single-related-grid{grid-template-columns:1fr}.single-related-image{height:160px}.single-comments{padding:20px 18px}.single-article-category{font-size:10px;padding:6px 9px}}

/* FunOnline v4.8.2 — shared single-page layout for Games, Quizzes, Tools, Generators, Fun and India */
.single-section-page{padding:16px 0 52px}
.single-section-page>.container{max-width:1200px}
.single-section-page .funonline-breadcrumbs{margin:0 0 20px}
.single-section-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.single-section-layout>article{min-width:0}
.single-section-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px 16px;padding:12px 18px;margin:0 0 20px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--muted);font-size:12px;line-height:1.5}
.single-section-meta>span{display:inline-flex;align-items:center;gap:4px}
.single-section-meta .single-meta-icon{font-size:12px}
.single-section-layout .article-sidebar{width:300px;min-width:300px;margin-top:0;position:sticky;top:18px}
.single-section-layout .article-sidebar>.funonline-ad-sidebar{box-sizing:border-box;width:300px;min-width:300px;height:250px;min-height:250px;max-height:250px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;overflow:hidden;text-align:center}

/* ARTICLES SECTION — selector: .single-section-layout .article-sidebar>.funonline-ad-sidebar iframe */
.single-section-layout .article-sidebar>.funonline-ad-sidebar iframe {display:block;max-width:300px;max-height:250px}

/* ARTICLES SECTION — selector: .single-section-layout .article-sidebar>.funonline-ad-sidebar img */
.single-section-layout .article-sidebar>.funonline-ad-sidebar img {display:block;max-width:300px;max-height:250px}

/* ARTICLES SECTION — selector: .single-section-layout .article-sidebar>.funonline-ad-sidebar ins */
.single-section-layout .article-sidebar>.funonline-ad-sidebar ins {display:block;max-width:300px;max-height:250px}

.single-section-layout .article-sidebar>.funonline-ad-sidebar>div{max-width:300px;max-height:250px}
.single-section-layout .article-sidebar .widget{box-sizing:border-box;width:300px}

/* GAMES SECTION — selector: .single-section-page .game-single */
.single-section-page .game-single {margin:0}

/* QUIZ SECTION — selector: .single-section-page .quiz-single */
.single-section-page .quiz-single {margin:0}

/* TOOLS SECTION — selector: .single-section-page .tool-single */
.single-section-page .tool-single {margin:0}

/* GENERATORS SECTION — selector: .single-section-page .generator-single */
.single-section-page .generator-single {margin:0}

/* FUN SECTION — selector: .single-section-page .fun-single */
.single-section-page .fun-single {margin:0}

/* GENERAL / SHARED STYLES — selector: .single-section-page .single-content-card */
.single-section-page .single-content-card {margin:0}

@media(max-width:900px){.single-section-page{padding-top:20px}.single-section-layout{grid-template-columns:1fr;gap:20px}.single-section-layout .article-sidebar{position:static;width:100%;min-width:0}.single-section-layout .article-sidebar>.funonline-ad-sidebar{margin-left:auto;margin-right:auto}.single-section-layout .article-sidebar .widget{width:100%;margin-left:auto;margin-right:auto}.single-section-meta{margin-bottom:16px}}
@media(max-width:560px){.single-section-page{padding-top:16px}.single-section-page .funonline-breadcrumbs{margin-bottom:14px}.single-section-meta{padding:10px 13px;gap:5px 12px;font-size:11px}.single-section-layout{gap:16px}}


/* FunOnline v4.8.3 — unified single-section layout and actions */
.single-section-layout>article{
    box-sizing:border-box;max-width:none!important;width:100%;min-width:0;
    background:var(--surface);border:1px solid var(--border);border-radius:16px;
    box-shadow:var(--shadow);overflow:hidden;padding:28px;
}

/* GAMES SECTION — selector: .single-section-page .game-single */
.single-section-page .game-single {margin:0;max-width:none!important}

/* QUIZ SECTION — selector: .single-section-page .quiz-single */
.single-section-page .quiz-single {margin:0;max-width:none!important}

/* TOOLS SECTION — selector: .single-section-page .tool-single */
.single-section-page .tool-single {margin:0;max-width:none!important}

/* GENERATORS SECTION — selector: .single-section-page .generator-single */
.single-section-page .generator-single {margin:0;max-width:none!important}

/* FUN SECTION — selector: .single-section-page .fun-single */
.single-section-page .fun-single {margin:0;max-width:none!important}

.single-section-meta{justify-content:space-between;gap:12px 18px;margin:0 0 24px;padding:13px 0 16px;border:0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);border-radius:0;background:transparent}
.single-section-meta-details{display:flex;flex-wrap:wrap;align-items:center;gap:7px 16px;min-width:0}
.single-section-meta-details>span{display:inline-flex;align-items:center;gap:4px}
.single-section-meta .single-article-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;flex-shrink:0}
.single-section-meta .single-action{white-space:nowrap;min-height:36px;padding:7px 11px}

/* GAMES SECTION — selector: .single-section-layout .game-header */
.single-section-layout .game-header {margin:0 0 20px;}

/* QUIZ SECTION — selector: .single-section-layout .quiz-header */
.single-section-layout .quiz-header {margin:0 0 20px;}

/* TOOLS SECTION — selector: .single-section-layout .tool-header */
.single-section-layout .tool-header {margin:0 0 20px;}

/* FUN SECTION — selector: .single-section-layout .fun-header */
.single-section-layout .fun-header {margin:0 0 20px;}

/* GENERATORS SECTION — selector: .single-section-layout .generator-header */
.single-section-layout .generator-header {margin:0 0 20px;}


/* GAMES SECTION — selector: .single-section-layout .game-header h1 */
.single-section-layout .game-header h1 {font-size:36px;line-height:1.18}

/* QUIZ SECTION — selector: .single-section-layout .quiz-header h1 */
.single-section-layout .quiz-header h1 {font-size:36px;line-height:1.18}

/* TOOLS SECTION — selector: .single-section-layout .tool-header h1 */
.single-section-layout .tool-header h1 {font-size:36px;line-height:1.18}

/* FUN SECTION — selector: .single-section-layout .fun-header h1 */
.single-section-layout .fun-header h1 {font-size:36px;line-height:1.18}

/* GENERATORS SECTION — selector: .single-section-layout .generator-header h1 */
.single-section-layout .generator-header h1 {font-size:36px;line-height:1.18}


/* GAMES SECTION — selector: .single-section-layout .game-details */
.single-section-layout .game-details {margin:24px 0 0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}

/* QUIZ SECTION — selector: .single-section-layout .quiz-about */
.single-section-layout .quiz-about {margin:24px 0 0;font-size:15px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}

/* TOOLS SECTION — selector: .single-section-layout .tool-about */
.single-section-layout .tool-about {margin:24px 0 0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}

/* FUN SECTION — selector: .single-section-layout .fun-about */
.single-section-layout .fun-about {margin:24px 0 0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}

/* GENERATORS SECTION — selector: .single-section-layout .generator-about */
.single-section-layout .generator-about {margin:24px 0 0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}

.single-section-layout .single-content-head{margin-bottom:20px}
.single-section-layout .single-featured-image img{border-radius:12px;margin-bottom:20px}
.single-section-layout .single-content-body{padding:0}
.single-section-layout .single-article-share{padding:20px 0;margin-top:22px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.single-section-layout .single-article-nav{padding:20px 0;margin-top:20px}
.single-section-layout .related-games{margin-top:28px;padding-top:22px;border-top:1px solid var(--border)}
.single-section-layout .funonline-rating-box{margin-top:26px}
.single-section-layout .generator-title-header{display:block}
.single-section-layout .generator-title-header .tool-badge{margin-bottom:0}
.single-section-layout .generator-title-header h1{margin:8px 0}
.single-section-layout .generator-title-header p{margin:0;color:var(--muted);max-width:650px}
.single-section-layout .article-sidebar{margin-top:0}
@media(max-width:900px){
    .single-section-layout>article{padding:22px}
    .single-section-meta{align-items:flex-start;flex-direction:column}
    .single-section-meta .single-article-actions{width:100%}
    .single-section-meta .single-action{flex:0 0 auto}
}
@media(max-width:560px){
    .single-section-layout>article{padding:17px;border-radius:12px}
    
/* GAMES SECTION — selector: .single-section-layout .game-header h1 */
.single-section-layout .game-header h1 {font-size:28px}

/* QUIZ SECTION — selector: .single-section-layout .quiz-header h1 */
.single-section-layout .quiz-header h1 {font-size:28px}

/* TOOLS SECTION — selector: .single-section-layout .tool-header h1 */
.single-section-layout .tool-header h1 {font-size:28px}

/* FUN SECTION — selector: .single-section-layout .fun-header h1 */
.single-section-layout .fun-header h1 {font-size:28px}

/* GENERATORS SECTION — selector: .single-section-layout .generator-header h1 */
.single-section-layout .generator-header h1 {font-size:28px}

    .single-section-meta-details{gap:6px 12px;font-size:11px}
    .single-section-meta .single-article-actions{display:grid;grid-template-columns:1fr 1fr}
    .single-section-meta .single-action{width:100%;box-sizing:border-box}
    .single-section-layout .single-article-share{gap:7px}
}
/* Flatten the section-level app wrappers so each single page has one main surface. */

/* QUIZ SECTION — selector: .single-section-layout .quiz-app */
.single-section-layout .quiz-app {
    background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;
}

/* TOOLS SECTION — selector: .single-section-layout .tool-app */
.single-section-layout .tool-app {
    background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;
}

/* FUN SECTION — selector: .single-section-layout .fun-app */
.single-section-layout .fun-app {
    background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;
}

.single-section-layout .tool-card{max-width:720px;margin:0;}


/* FunOnline v4.8.4 — single section width/background/rating polish */
.single-section-page>.container{max-width:var(--container);}
.single-section-layout{grid-template-columns:minmax(0,1fr) 300px;gap:28px;}
.single-section-layout>article{
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    padding:0!important;
    overflow:visible!important;
}
.single-section-layout .article-sidebar{margin-top:0;}
.single-section-layout .funonline-rating-box{
    margin:28px 0 0!important;
    padding:20px 0 0!important;
    border:0!important;
    border-top:1px solid var(--border)!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
.single-section-layout .rating-form{padding-top:16px;}
.single-section-layout .rating-feedback-list{padding-top:18px;}

/* Keep section title labels as small labels, not breadcrumb-like navigation. */

/* GAMES SECTION — selector: .single-section-layout .game-breadcrumb */
.single-section-layout .game-breadcrumb {font-size:11px;letter-spacing:.04em;}

/* QUIZ SECTION — selector: .single-section-layout .quiz-badge */
.single-section-layout .quiz-badge {font-size:11px;letter-spacing:.04em;}

/* TOOLS SECTION — selector: .single-section-layout .tool-badge */
.single-section-layout .tool-badge {font-size:11px;letter-spacing:.04em;}

/* FUN SECTION — selector: .single-section-layout .fun-badge */
.single-section-layout .fun-badge {font-size:11px;letter-spacing:.04em;}

/* TOOLS SECTION — selector: .single-section-layout .generator-title-header .tool-badge */
.single-section-layout .generator-title-header .tool-badge {font-size:11px;letter-spacing:.04em;}


/* Compact More Games cards: image + game name + category only. */
.related-games .card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.related-game-compact{display:block;min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden;transition:transform .15s ease,border-color .15s ease;}
.related-game-compact:hover{transform:translateY(-2px);border-color:var(--primary);}
.related-game-compact .related-game-image{height:115px;background:var(--bg);display:flex;align-items:center;justify-content:center;overflow:hidden;}
.related-game-compact .related-game-image img{width:100%;height:100%;object-fit:cover;display:block;}
.related-game-compact .related-game-image span{font-size:34px;}
.related-game-compact .related-game-body{padding:9px 10px 10px;}
.related-game-compact .related-game-title{margin:0;font-size:13px;line-height:1.3;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.related-game-compact .related-game-category{display:block;margin-top:3px;font-size:10px;line-height:1.3;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
@media(max-width:900px){.related-games .card-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:650px){.single-section-layout{gap:20px}.related-games .card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.related-game-compact .related-game-image{height:100px}.related-game-compact .related-game-title{font-size:12px}.related-game-compact .related-game-category{font-size:9px;}}


/* FunOnline v4.8.5 — section surface, quiz centering, More Games polish */
.single-section-layout>article{
    background:var(--surface)!important;
    border:1px solid var(--border)!important;
    border-radius:16px!important;
    box-shadow:var(--shadow)!important;
    padding:28px!important;
    overflow:hidden!important;
}
.single-section-layout .quiz-app{max-width:760px;margin:0 auto;width:100%;box-sizing:border-box;}
.single-section-layout .tool-app{max-width:760px;margin:0 auto;width:100%;box-sizing:border-box;}
.related-games .card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.related-game-compact .related-game-body{padding:9px 11px 11px;}
.related-game-compact .related-game-category{display:block;margin:0 0 4px;font-size:10px;line-height:1.25;color:var(--primary);font-weight:800;}
.related-game-compact .related-game-category-label{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.related-game-compact .related-game-title{display:block;font-size:13px;line-height:1.3;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
@media(max-width:1000px){.related-games .card-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:650px){
    .single-section-layout>article{padding:18px!important;}
    .related-games .card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
    .related-game-compact .related-game-image{height:100px;}
}
/* Article rating belongs visually to the comments area. */
.single-comments .funonline-rating-box{margin-top:28px;}

/* FunOnline v4.8.6 — More Games category links and spacing; article uses rating/feedback only */
.related-game-compact .related-game-body{padding:14px 16px 15px;}
.related-game-compact .related-game-category{margin:0 0 6px;}
.related-game-compact .related-game-category-link{color:var(--primary);text-decoration:none;}
.related-game-compact .related-game-category-link:hover{text-decoration:underline;}
.related-game-compact .related-game-title{padding:0;}
.single-comments{padding:0;}
.single-comments .funonline-rating-box{margin-top:0!important;}
@media(max-width:650px){.related-game-compact .related-game-body{padding:12px 13px 13px;}}


/* FunOnline v4.8.7 — breadcrumb alignment, More Games card repair, article ratings */
.funonline-breadcrumbs{width:min(calc(100% - 32px),var(--container));max-width:var(--container);box-sizing:border-box;margin:0 auto;padding:20px 0 4px;display:flex;align-items:center;justify-content:flex-start;text-align:left;}
.single-section-page .funonline-breadcrumbs{justify-content:flex-start;text-align:left;}
.related-game-compact{display:block;min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden;transition:transform .15s ease,border-color .15s ease;}
.related-game-image-link{display:block;text-decoration:none;}
.related-game-compact .related-game-image{height:115px;background:var(--bg);display:flex;align-items:center;justify-content:center;overflow:hidden;}
.related-game-compact .related-game-image img{width:100%;height:100%;object-fit:cover;display:block;}
.related-game-body{padding:11px 14px 13px;}

/* GAMES SECTION — selector: .related-game-category-link */
.related-game-category-link {display:block;margin:0 0 6px;font-size:10px;line-height:1.25;color:var(--primary);font-weight:800;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* GAMES SECTION — selector: .related-game-category-label */
.related-game-category-label {display:block;margin:0 0 6px;font-size:10px;line-height:1.25;color:var(--primary);font-weight:800;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

.related-game-category-link:hover{text-decoration:underline;}
.related-game-title{display:block;padding:0;margin:0;font-size:13px;line-height:1.3;font-weight:800;color:var(--text);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.related-game-title:hover{color:var(--primary);}
.single-comments{padding:0;}
.single-comments .funonline-rating-box{margin-top:0!important;}
@media(max-width:650px){.funonline-breadcrumbs{width:min(calc(100% - 24px),var(--container));padding-left:0;padding-right:0}.related-game-body{padding:10px 12px 12px}.related-game-compact .related-game-image{height:100px;}}

/* FunOnline v4.8.8 — Homepage final polish
 * Cosmetic/responsive cleanup only. Existing homepage content and functionality unchanged.
 */
.home-hero-inner{
    background-position:center center;
}

/* HOMEPAGE SECTION — selector: .home-hero-main */
.home-hero-main {min-width:0}

/* HOMEPAGE SECTION — selector: .home-hero-benefits */
.home-hero-benefits {min-width:0}

.home-hero-benefits div{min-width:0;display:grid;grid-template-columns:40px 1fr;gap:10px;align-items:center;}

/* HOMEPAGE SECTION — selector: .home-hero-benefits b */
.home-hero-benefits b {display:block}
.home-hero-benefits i {width:40px;height:40px;background:#06a106;text-align:center;display:flex;justify-content:center;align-items:center;border-radius:6px;font-size:20px;}
.home-hero-benefits .ia {background:#c305c3;}
.home-hero-benefits .ib {background:#2563eb;}

/* HOMEPAGE SECTION — selector: .home-hero-benefits span */
.home-hero-benefits span {display:block;font-weight:normal;}


.home-section-title{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:14px;
}
.home-section-title>div{min-width:0}
.home-section-title>a{white-space:nowrap;flex-shrink:0}


/* HOMEPAGE SECTION — selector: .home-featured-article>article */
.home-featured-article>article {
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

/* HOMEPAGE SECTION — selector: .home-latest-item */
.home-latest-item {
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

/* HOMEPAGE SECTION — selector: .home-content-card */
.home-content-card {
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

/* HOMEPAGE SECTION — selector: .home-mini-card */
.home-mini-card {
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

/* INDIA SECTION — selector: .home-india-post */
.home-india-post {
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.home-featured-article>article:hover{
    box-shadow:0 7px 20px rgba(24,44,84,.08);
}

/* HOMEPAGE SECTION — selector: .home-content-card:hover */
.home-content-card:hover {
    box-shadow:0 6px 17px rgba(24,44,84,.09);
}

/* HOMEPAGE SECTION — selector: .home-mini-card:hover */
.home-mini-card:hover {
    box-shadow:0 6px 17px rgba(24,44,84,.09);
}


.home-content-card h3{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
}
.home-mini-card strong{
    min-height:2.6em;
    line-height:1.3;
    white-space:normal;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
}
.home-mini-card small{
    min-height:1.25em;
}

.home-daily .daily-fun-card{
    display:flex;
    flex-direction:column;
}
.home-daily .daily-fun-card .card-btn{
    margin-top:auto;
}

/* HOMEPAGE SECTION — selector: .home-daily .daily-challenge-options */
.home-daily .daily-challenge-options {
    margin-top:auto;
}

/* HOMEPAGE SECTION — selector: .home-daily .daily-poll-options */
.home-daily .daily-poll-options {
    margin-top:auto;
}


.home-latest-item{min-width:0;background:var(--surface);padding:10px;border-radius:8px;margin-bottom:8px;border:1px solid var(--border);align-items:center;box-shadow:0 4px 15px rgba(24, 44, 84, .05);transition:all ease-in-out 0.3s;}
.home-latest-item:hover{background:#f7fff1;}
.home-latest-item:nth-child(3):hover{background:#faf4ff;}
.home-latest-item:nth-child(4):hover{background:#fff4f1;}
.home-latest-item:nth-child(5):hover{background:#f1fffc;}
.dark-mode .home-latest-item:hover{background:var(--surface);}
.home-latest-item>div{min-width:0}

/* HOMEPAGE SECTION — selector: .home-latest-item h3 */
.home-latest-item h3 {overflow-wrap:anywhere}

/* HOMEPAGE SECTION — selector: .home-latest-cat */
.home-latest-cat {overflow-wrap:anywhere}

/* HOMEPAGE SECTION — selector: .home-latest-meta */
.home-latest-meta {overflow-wrap:anywhere}


.home-india-post:hover{
    box-shadow:0 7px 18px rgba(24,44,84,.08);
}
.home-india-meta-row .home-article-meta{
    min-width:0;
    flex-wrap:wrap;
}

.home-mid-ad .funonline-ad{
    border-radius:10px;
}


/* HOMEPAGE SECTION — selector: .home-featured-article h3 a:focus-visible */
.home-featured-article h3 a:focus-visible {
    outline:3px solid rgba(37,99,235,.25);
    outline-offset:2px;
    border-radius:5px;
}

/* HOMEPAGE SECTION — selector: .home-latest-item h3 a:focus-visible */
.home-latest-item h3 a:focus-visible {
    outline:3px solid rgba(37,99,235,.25);
    outline-offset:2px;
    border-radius:5px;
}

/* HOMEPAGE SECTION — selector: .home-content-card a:focus-visible */
.home-content-card a:focus-visible {
    outline:3px solid rgba(37,99,235,.25);
    outline-offset:2px;
    border-radius:5px;
}

/* HOMEPAGE SECTION — selector: .home-mini-card:focus-visible */
.home-mini-card:focus-visible {
    outline:3px solid rgba(37,99,235,.25);
    outline-offset:2px;
    border-radius:5px;
}

/* HOMEPAGE SECTION — selector: .home-section-title>a:focus-visible */
.home-section-title>a:focus-visible {
    outline:3px solid rgba(37,99,235,.25);
    outline-offset:2px;
    border-radius:5px;
}

/* INDIA SECTION — selector: .home-india-post a:focus-visible */
.home-india-post a:focus-visible {
    outline:3px solid rgba(37,99,235,.25);
    outline-offset:2px;
    border-radius:5px;
}


@media(max-width:800px){
    .home-section-title{align-items:center}
    .home-hero-inner{background-position:center center}
    .home-article-layout{gap:18px}
    .home-two-columns{gap:16px}
}

@media(max-width:600px){
    .home-section-title{gap:8px}
    .home-section-title>a{font-size:10px}
    .home-mini-card strong{min-height:2.55em}
    .home-india-meta-row{align-items:flex-end}
    .home-india-meta-row .home-article-meta{flex:1;min-width:0}
}

@media(max-width:480px){
    .home-section-title{align-items:center}
    .home-section-title p{max-width:230px}
    .home-india-meta-row{align-items:center}
    .home-india-meta-row .home-article-meta{gap:6px}
    .home-india-meta-row .home-more-btn{flex-shrink:0}
}


/* FunOnline v4.9 — Articles archive, categories and pagination */
.articles-archive-head{margin-bottom:16px}
.articles-archive-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px}
.articles-kicker{font-size:10px;font-weight:900;letter-spacing:.08em;color:var(--primary);margin-bottom:5px}
.articles-archive-head h1{font-size:32px;line-height:1.15;margin:0}

/* ARTICLES SECTION — selector: .articles-archive-head p */
.articles-archive-head p {margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.55}

/* GENERAL / SHARED STYLES — selector: .category-description */
.category-description {margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.55}

.category-description p{margin:0}
.articles-count-badge{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 13px;border-radius:999px;background:var(--bg);border:1px solid var(--border);font-size:11px;font-weight:800;color:var(--muted)}
.articles-category-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.articles-category-chip{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);font-size:11px;font-weight:800;text-decoration:none;transition:all .18s ease}
.articles-category-chip span{font-size:9px;color:var(--muted);font-weight:700}
.articles-category-chip:hover{border-color:var(--primary);color:var(--primary);transform:translateY(-1px)}
.articles-category-chip.is-active{background:var(--primary);border-color:var(--primary);color:#fff}
.articles-category-chip.is-active span{color:#dfe9ff}
.articles-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.articles-list{min-width:0}
.article-list-item{display:grid;grid-template-columns:112px minmax(0,1fr);gap:15px;align-items:center;padding:13px 0;border-bottom:1px solid var(--border);min-width:0}
.article-list-item:first-child{padding-top:0}
.article-list-thumb{width:112px;height:76px;border-radius:9px;background:linear-gradient(135deg,#e8f1ff,#f8ecff);display:flex;align-items:center;justify-content:center;overflow:hidden;text-decoration:none}
.article-list-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.article-list-thumb span{font-size:28px}
.article-list-body{min-width:0}
.article-list-body h2{font-size:16px;line-height:1.35;margin:0 0 7px}
.article-list-body h2 a{color:var(--text);text-decoration:none}
.article-list-body h2 a:hover{color:var(--primary)}
.article-list-meta{display:flex;align-items:center;gap:11px;flex-wrap:wrap;color:var(--muted);font-size:10px;line-height:1.35}
.articles-pagination{margin-top:24px}

/* ARTICLES SECTION — selector: .articles-pagination .nav-links */
.articles-pagination .nav-links {display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}

/* ARTICLES SECTION — selector: .articles-pagination .page-numbers */
.articles-pagination .page-numbers {display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}

.articles-pagination .page-numbers{display:flex;list-style:none;border-radius:10px;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;color:var(--text);font-size:11px;font-weight:800;text-decoration:none;box-sizing:border-box}
.articles-pagination .page-numbers:hover{color:var(--primary)}
.articles-pagination ul li:hover{border-color:var(--primary);color:var(--primary)}
.articles-pagination ul li {background:var(--surface);border-radius:10px;border:1px solid var(--border);}
.page-numbers li:has(.current):hover{border-color:transparent}
.articles-pagination .page-numbers.current{background:var(--primary);color:#fff}
.articles-pagination .page-numbers.dots{border-color:transparent;background:transparent;pointer-events:none}

/* ARTICLES SECTION — selector: .articles-pagination .page-numbers.prev */
.articles-pagination .page-numbers.prev {padding-left:13px;padding-right:13px}

/* ARTICLES SECTION — selector: .articles-pagination .page-numbers.next */
.articles-pagination .page-numbers.next {padding-left:13px;padding-right:13px}

.articles-back-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 13px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font-size:11px;font-weight:800;text-decoration:none;white-space:nowrap}
.articles-back-link:hover{border-color:var(--primary);color:var(--primary)}
.articles-empty-state{grid-column:1/-1}
.articles-content-layout .article-sidebar{min-width:0;position:sticky;top:18px;width:300px}
.articles-content-layout .article-sidebar>.funonline-ad-sidebar{width:300px;min-height:250px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}

/* ARTICLES SECTION — selector: .articles-content-layout .article-sidebar>.funonline-ad-sidebar iframe */
.articles-content-layout .article-sidebar>.funonline-ad-sidebar iframe {max-width:100%;max-height:250px}

/* ARTICLES SECTION — selector: .articles-content-layout .article-sidebar>.funonline-ad-sidebar img */
.articles-content-layout .article-sidebar>.funonline-ad-sidebar img {max-width:100%;max-height:250px}

/* ARTICLES SECTION — selector: .articles-content-layout .article-sidebar>.funonline-ad-sidebar ins */
.articles-content-layout .article-sidebar>.funonline-ad-sidebar ins {max-width:100%;max-height:250px}

.articles-content-layout .article-sidebar>.funonline-ad-sidebar>div{max-width:100%}
.articles-content-layout .article-sidebar .widget{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:17px;margin:0 0 15px;box-shadow:var(--shadow)}
.articles-content-layout .article-sidebar .widget-title{font-size:17px;margin:0 0 12px;padding-bottom:9px;border-bottom:1px solid var(--border)}
.articles-content-layout .article-sidebar .widget ul{margin:0;padding:0;list-style:none}
.articles-content-layout .article-sidebar .widget li{padding:8px 0;border-bottom:1px solid var(--border);font-size:13px}
.articles-content-layout .article-sidebar .widget li:last-child{border-bottom:0}
.articles-content-layout .article-sidebar .widget a{color:var(--text);text-decoration:none}
.articles-content-layout .article-sidebar .widget a:hover{color:var(--primary)}
@media(max-width:900px){
 .articles-content-layout{grid-template-columns:1fr;gap:20px}
 .articles-content-layout .article-sidebar{position:static;width:100%}
 .articles-content-layout .article-sidebar>.funonline-ad-sidebar{max-width:300px}
 .article-list-item{grid-template-columns:105px minmax(0,1fr)}
 .article-list-thumb{width:105px;height:72px}
}
@media(max-width:620px){
 .articles-archive-title-row{align-items:flex-start;flex-direction:column;gap:10px}
 .articles-count-badge{min-height:34px}
 .articles-archive-head h1{font-size:28px}
 .articles-category-nav{gap:6px;margin-bottom:15px}
 .articles-category-chip{min-height:34px;padding:0 10px;font-size:10px}
 .article-list-item{grid-template-columns:92px minmax(0,1fr);gap:11px;padding:12px 0}
 .article-list-thumb{width:92px;height:64px;border-radius:8px}
 .article-list-body h2{font-size:14px;line-height:1.3;margin-bottom:6px}
 .article-list-meta{font-size:9px;gap:8px}
 .articles-pagination .page-numbers{min-width:37px;height:37px;padding:0 9px}
}
@media(prefers-reduced-motion:reduce){
/* ARTICLES SECTION — selector: .article-card */
.article-card {transition:none}

/* ARTICLES SECTION — selector: .articles-category-chip */
.articles-category-chip {transition:none}

/* ARTICLES SECTION — selector: .article-card-read */
.article-card-read {transition:none}
}


/* FunOnline v4.9.6 — Articles archive matches the single-post layout */
.articles-page{
    padding:20px 0 55px;
    min-height:0;
}
.articles-page .articles-content-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 300px;
    gap:24px;
    align-items:start;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
    padding:0;
    box-sizing:border-box;
}
.articles-main-card{
    min-width:0;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    overflow:hidden;
    box-shadow:var(--shadow);
}
.articles-main-card .articles-archive-head{
    margin:0;
    padding:28px 30px 18px;
}
.articles-main-card .articles-category-nav{
    margin:0;
    padding:0 30px 20px;
}
.articles-main-card .articles-list{
    padding:0 30px 28px;
}
.articles-main-card .articles-pagination{
    margin-top:24px;
}

@media(max-width:900px){
    .articles-page .articles-content-layout{grid-template-columns:1fr;gap:20px;}
    .articles-content-layout .article-sidebar{position:static;width:100%;}
}

@media(max-width:650px){
    .articles-page{padding:16px 0 42px;}
    .articles-main-card{border-radius:12px;}
    .articles-main-card .articles-archive-head{padding:22px 18px 14px;}
    .articles-main-card .articles-category-nav{padding:0 18px 16px;}
    .articles-main-card .articles-list{padding:0 18px 22px;}
}

/* Ads must never force horizontal overflow on smaller screens. */

/* GENERAL / SHARED STYLES — selector: .funonline-ad */
.funonline-ad {
    min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden;
}

/* HEADER / NAVIGATION SECTION — selector: .funonline-ad-header */
.funonline-ad-header {
    min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden;
}

/* GENERAL / SHARED STYLES — selector: .funonline-ad-sidebar */
.funonline-ad-sidebar {
    min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden;
}

/* HOMEPAGE SECTION — selector: .home-mid-ad */
.home-mid-ad {
    min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden;
}

/* INDIA SECTION — selector: .home-india-ad */
.home-india-ad {
    min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden;
}


/* GENERAL / SHARED STYLES — selector: .funonline-ad iframe */
.funonline-ad iframe {max-width:100%;box-sizing:border-box;}

/* GENERAL / SHARED STYLES — selector: .funonline-ad img */
.funonline-ad img {max-width:100%;box-sizing:border-box;}

/* GENERAL / SHARED STYLES — selector: .funonline-ad ins */
.funonline-ad ins {max-width:100%;box-sizing:border-box;}

/* GENERAL / SHARED STYLES — selector: .funonline-ad>div */
.funonline-ad>div {max-width:100%;box-sizing:border-box;}

/* HEADER / NAVIGATION SECTION — selector: .funonline-ad-header iframe */
.funonline-ad-header iframe {max-width:100%;box-sizing:border-box;}

/* HEADER / NAVIGATION SECTION — selector: .funonline-ad-header img */
.funonline-ad-header img {max-width:100%;box-sizing:border-box;}

/* HEADER / NAVIGATION SECTION — selector: .funonline-ad-header ins */
.funonline-ad-header ins {max-width:100%;box-sizing:border-box;}

/* GENERAL / SHARED STYLES — selector: .funonline-ad-sidebar iframe */
.funonline-ad-sidebar iframe {max-width:100%;box-sizing:border-box;}

/* GENERAL / SHARED STYLES — selector: .funonline-ad-sidebar img */
.funonline-ad-sidebar img {max-width:100%;box-sizing:border-box;}

/* GENERAL / SHARED STYLES — selector: .funonline-ad-sidebar ins */
.funonline-ad-sidebar ins {max-width:100%;box-sizing:border-box;}

/* GENERAL / SHARED STYLES — selector: .funonline-ad-sidebar>div */
.funonline-ad-sidebar>div {max-width:100%;box-sizing:border-box;}


@media(max-width:1050px){
    .single-section-layout{grid-template-columns:1fr!important;gap:20px;}
    .single-section-layout .article-sidebar{width:100%;min-width:0;position:static;}
    .single-section-layout .article-sidebar>.funonline-ad-sidebar{width:min(300px,100%);min-width:0;max-width:100%;margin-left:auto;margin-right:auto;}
    .single-section-layout .article-sidebar .widget{width:100%;margin-left:auto;margin-right:auto;}
    .articles-content-layout{grid-template-columns:1fr;gap:20px;}
    .articles-content-layout .article-sidebar{width:100%;position:static;}
}

@media(max-width:900px){
    .articles-page{padding:22px 20px 30px;}
    .articles-page-breadcrumb{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px;}
    .articles-content-layout .article-sidebar>.funonline-ad-sidebar{width:min(300px,100%);min-width:0;}
}

@media(max-width:620px){
    .articles-page{padding:18px 14px 26px;border-radius:12px;}
    .articles-page-breadcrumb{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px;margin-bottom:16px;}
    .funonline-ad-header{width:100%;margin-left:auto;margin-right:auto;}
    
/* HEADER / NAVIGATION SECTION — selector: .funonline-ad-header iframe */
.funonline-ad-header iframe {width:auto;max-width:100%;height:auto;}

/* HEADER / NAVIGATION SECTION — selector: .funonline-ad-header img */
.funonline-ad-header img {width:auto;max-width:100%;height:auto;}

/* HEADER / NAVIGATION SECTION — selector: .funonline-ad-header ins */
.funonline-ad-header ins {width:auto;max-width:100%;height:auto;}

}


/* FunOnline v4.9.7 — Articles page structure: header/ad/breadcrumb/archive head/content + sticky sidebar */
.articles-page{
  width:min(var(--container),calc(100% - 32px));
  margin:0 auto;
  padding:0 0 42px;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  box-sizing:border-box;
}
.articles-page .articles-archive-head{
  margin:0 0 20px;
}
.articles-page .articles-content-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:24px;
  align-items:start;
}
.articles-page .articles-main-card{
  min-width:0;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.articles-page .articles-category-nav{
  margin:0;
  padding:22px 24px 18px;
  border-bottom:1px solid var(--border);
}
.articles-page .articles-list{
  padding:0 24px 28px;
}
.articles-page .articles-pagination{
  margin-top:24px;
}
.articles-page .article-sidebar{
  width:300px;
  min-width:300px;
  position:sticky;
  top:18px;
  align-self:start;
}
@media(max-width:900px){
  .articles-page{width:min(100% - 24px,var(--container));padding-bottom:32px;}
  .articles-page .articles-content-layout{grid-template-columns:1fr;gap:20px;}
  .articles-page .article-sidebar{width:100%;min-width:0;position:static;}
  .articles-page .article-sidebar>.funonline-ad-sidebar{width:min(300px,100%);min-width:0;margin-left:auto;margin-right:auto;}
  .articles-page .article-sidebar .widget{width:100%;margin-left:auto;margin-right:auto;}
}
@media(max-width:650px){
  .articles-page{width:calc(100% - 20px);padding-bottom:26px;}
  .articles-page .articles-archive-head{margin-bottom:16px;}
  .articles-page .articles-category-nav{padding:16px 14px 14px;}
  .articles-page .articles-list{padding:0 14px 22px;}
}

/* FunOnline v4.10 — Authentication modal + account dashboard + leaderboard polish */
.auth-modal[hidden]{display:none!important}
.auth-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box}
.auth-modal-backdrop{position:absolute;inset:0;background:rgba(9,18,38,.58);backdrop-filter:blur(4px)}
.auth-modal-dialog{position:relative;width:min(100%,440px);max-height:calc(100vh - 36px);overflow:auto;background:var(--surface,#fff);color:var(--text);border:1px solid var(--border);border-radius:22px;padding:28px;box-shadow:0 24px 70px rgba(0,0,0,.24);box-sizing:border-box}
.auth-modal-close{position:absolute;right:14px;top:12px;width:36px;height:36px;border:0;border-radius:10px;background:var(--bg);color:var(--text);font-size:24px;line-height:1;cursor:pointer}
.auth-modal-icon{width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:#edf4ff;font-size:25px;margin-bottom:12px}
.auth-modal-dialog h2{margin:0 35px 6px 0;font-size:24px}
.auth-modal-subtitle{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.auth-modal-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:22px 0 18px;padding:5px;background:var(--bg);border-radius:12px}
.auth-modal-tabs button{border:0;background:transparent;color:var(--muted);padding:10px;border-radius:9px;font-weight:800;cursor:pointer}
.auth-modal-tabs button.is-active{background:var(--surface);color:var(--text);box-shadow:0 2px 10px rgba(0,0,0,.07)}
.auth-form{display:grid;gap:14px}.auth-form label{display:grid;gap:7px;font-size:13px;font-weight:800}
/* GENERAL / SHARED STYLES — selector: .auth-form input[type=text] */
.auth-form input[type=text] {width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:11px;padding:12px 13px;background:var(--input-bg,#fff);color:var(--text);font:inherit;outline:none}

/* GENERAL / SHARED STYLES — selector: .auth-form input[type=email] */
.auth-form input[type=email] {width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:11px;padding:12px 13px;background:var(--input-bg,#fff);color:var(--text);font:inherit;outline:none}

/* GENERAL / SHARED STYLES — selector: .auth-form input[type=password] */
.auth-form input[type=password] {width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:11px;padding:12px 13px;background:var(--input-bg,#fff);color:var(--text);font:inherit;outline:none}
.auth-form input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,102,207,.10)}
.auth-check{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important;font-weight:600!important;color:var(--muted)}.auth-check input{width:16px;height:16px;margin:0}.auth-submit{width:100%;justify-content:center}.auth-form-message{min-height:0;margin-bottom:10px}.auth-form-message:not(:empty){padding:11px 12px;border-radius:10px;font-size:13px;font-weight:700;background:#fff1f1;border:1px solid #ffd0d0;color:#9b3030}.auth-form-message.is-success{background:#effbf3;border-color:#c8efd3;color:#176b38}.auth-help{text-align:center;margin:16px 0 0;color:var(--muted);font-size:13px}.auth-help button{border:0;background:none;color:var(--primary);font:inherit;font-weight:800;cursor:pointer;padding:0}.mobile-auth-trigger{flex:1;display:flex;justify-content:center;border:1px solid var(--border);border-radius:10px;background:var(--bg);color:inherit;font:inherit;text-align:center;padding:9px 10px;cursor:pointer}
.account-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 20px}.account-quick-action{display:flex;flex-direction:column;gap:3px;padding:15px;border:1px solid var(--border);border-radius:14px;background:var(--surface);text-decoration:none;color:var(--text);transition:.15s ease}.account-quick-action:hover{transform:translateY(-1px);border-color:#b8cdf7;box-shadow:var(--shadow)}.account-quick-action>span{font-size:21px}.account-quick-action strong{font-size:14px}.account-quick-action small{font-size:11px;color:var(--muted)}.account-quick-primary{background:linear-gradient(135deg,#edf4ff,#fff8e7);border-color:#cbdafa}
.account-dashboard{padding:26px}
/* ACCOUNT / DASHBOARD SECTION — selector: .account-dashboard>.account-progress-grid */
.account-dashboard>.account-progress-grid {margin-top:20px}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-dashboard>.account-grid */
.account-dashboard>.account-grid {margin-top:20px}
.account-dashboard .account-card{box-shadow:none}.account-dashboard .account-score-card{background:linear-gradient(135deg,#f2f6ff,#fff)}
.leaderboard-podium{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 18px}.leaderboard-podium-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:18px 10px;border:1px solid var(--border);border-radius:15px;background:var(--surface);gap:4px}.leaderboard-podium-card.rank-1{background:linear-gradient(135deg,#fff7d9,#fff);border-color:#ead28a}.leaderboard-podium-card.rank-2{background:linear-gradient(135deg,#f2f4f7,#fff)}.leaderboard-podium-card.rank-3{background:linear-gradient(135deg,#fff0e5,#fff)}.podium-medal{font-size:28px}.leaderboard-podium-card strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboard-podium-card span:not(.podium-medal){font-weight:800;color:var(--primary)}.leaderboard-podium-card small{color:var(--muted);font-weight:700}

/* GENERAL / SHARED STYLES — selector: .dark-mode .auth-modal-dialog */
.dark-mode .auth-modal-dialog {background:#171a20}

/* GENERAL / SHARED STYLES — selector: .dark-mode .auth-modal-tabs button.is-active */
.dark-mode .auth-modal-tabs button.is-active {background:#171a20}

/* ACCOUNT / DASHBOARD SECTION — selector: .dark-mode .account-quick-action */
.dark-mode .account-quick-action {background:#171a20}

/* GENERAL / SHARED STYLES — selector: .dark-mode .leaderboard-podium-card */
.dark-mode .leaderboard-podium-card {background:#171a20}
.dark-mode .auth-modal-icon{background:#202a3c}.dark-mode .auth-form input{background:#101318}.dark-mode .auth-form-message:not(:empty){background:#321d20;border-color:#623137;color:#ffb5b5}.dark-mode .auth-form-message.is-success{background:#193022;border-color:#2d5c3b;color:#9ee0b7}.dark-mode .account-dashboard .account-score-card{background:#20252f}
@media(max-width:700px){.auth-modal{padding:10px}.auth-modal-dialog{padding:22px 18px;border-radius:18px;max-height:calc(100vh - 20px)}.account-quick-actions{grid-template-columns:1fr}.leaderboard-podium{grid-template-columns:1fr}.leaderboard-podium-card{padding:14px}.account-dashboard{padding:20px}}
body.auth-modal-open{overflow:hidden}


/* FunOnline v4.11 — Auth positioning + professional account dashboard + full-width leaderboard */
/* The auth modal is rendered outside the sticky header so backdrop-filter cannot clip a fixed dialog. */
.auth-modal{position:fixed!important;inset:0!important;width:100vw;height:100vh;min-height:100dvh;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box;overflow:auto}
.auth-modal[hidden]{display:none!important}
.auth-modal-backdrop{position:absolute;inset:0;width:100%;height:100%;background:rgba(7,16,35,.62);backdrop-filter:blur(6px)}
.auth-modal-dialog{position:relative;z-index:1;width:min(100%,460px);max-height:calc(100dvh - 40px);overflow-y:auto;margin:auto;padding:30px;border-radius:24px}
body.auth-modal-open{overflow:hidden!important}

.auth-page{max-width:980px!important}
.auth-page-shell{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:0;max-width:920px;margin:26px auto 50px;background:var(--surface);border:1px solid var(--border);border-radius:24px;overflow:hidden;box-shadow:0 18px 55px rgba(22,38,72,.10)}
.auth-page-intro{padding:42px;background:linear-gradient(145deg,#122d68 0%,#2458bd 62%,#5540a8 100%);color:#fff;display:flex;flex-direction:column;justify-content:center;min-height:430px}
.auth-page-icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:17px;background:rgba(255,255,255,.14);font-size:28px;margin-bottom:18px}
.auth-page-eyebrow{font-size:10px;font-weight:900;letter-spacing:.14em;opacity:.78}
.auth-page-intro h1{font-size:clamp(30px,4vw,42px);line-height:1.08;margin:9px 0 13px;color:#fff}
.auth-page-intro p{max-width:420px;margin:0;color:rgba(255,255,255,.82);line-height:1.65;font-size:14px}
.auth-page-benefits{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.auth-page-benefits span{padding:8px 10px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.10);border-radius:999px;font-size:11px;font-weight:800}
.auth-page-form-card{padding:38px 34px;background:var(--surface)}
.auth-page-form-card h2{margin:0 0 5px;font-size:24px}
.auth-page-form-note{margin:0;color:var(--muted);font-size:13px}
.auth-page-form-card .account-form{margin-top:22px}
.auth-page-form-card #loginform{display:grid;gap:14px;margin-top:22px}
.auth-page-form-card #loginform p{margin:0}
.auth-page-form-card #loginform label{display:grid;gap:7px;font-weight:800;font-size:13px}

/* GENERAL / SHARED STYLES — selector: .auth-page-form-card #loginform input[type=text] */
.auth-page-form-card #loginform input[type=text] {width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:12px;padding:12px 13px;background:var(--input-bg,#fff);color:var(--text);font:inherit}

/* GENERAL / SHARED STYLES — selector: .auth-page-form-card #loginform input[type=password] */
.auth-page-form-card #loginform input[type=password] {width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:12px;padding:12px 13px;background:var(--input-bg,#fff);color:var(--text);font:inherit}


/* GENERAL / SHARED STYLES — selector: .auth-page-form-card #loginform input[type=text]:focus */
.auth-page-form-card #loginform input[type=text]:focus {outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,102,207,.10)}

/* GENERAL / SHARED STYLES — selector: .auth-page-form-card #loginform input[type=password]:focus */
.auth-page-form-card #loginform input[type=password]:focus {outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,102,207,.10)}

.auth-page-form-card #loginform .login-remember label{display:flex;align-items:center;gap:8px;font-weight:600;color:var(--muted)}
.auth-page-form-card #loginform .login-remember input{width:16px;height:16px;margin:0}
.auth-page-form-card #loginform input[type=submit]{width:100%;border:1px solid var(--primary);border-radius:12px;padding:12px 16px;background:var(--primary);color:#fff;font:inherit;font-weight:800;cursor:pointer}
.auth-page-form-card #loginform input[type=submit]:hover{background:var(--primary-dark)}
.auth-page-form-card .account-switch{margin-top:20px}

.account-page{max-width:1120px!important}
.account-dashboard{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.account-dashboard-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:30px 32px;margin-bottom:18px;border:1px solid var(--border);border-radius:22px;background:linear-gradient(135deg,#f2f6ff 0%,#fff 58%,#fff8e8 100%);box-shadow:var(--shadow)}
.account-dashboard-hero .account-head{margin:0;flex:1}
.account-dashboard-hero .account-head h1{font-size:clamp(27px,3vw,36px);margin:5px 0 4px}
.account-dashboard-hero .account-head p{margin:0;color:var(--muted)}
.account-hero-badge{width:92px;height:92px;flex:0 0 92px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;border-radius:24px;background:linear-gradient(145deg,#245fca,#5a45b5);color:#fff;font-size:9px;font-weight:800;letter-spacing:.12em;box-shadow:0 12px 28px rgba(43,75,170,.22)}
.account-hero-badge strong{font-size:15px;letter-spacing:.04em;margin-top:3px}
.account-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:26px}
.account-quick-action{padding:18px 18px 17px;border-radius:16px}
.account-quick-action>span{font-size:24px}
.account-quick-action strong{font-size:15px;margin-top:2px}
.account-section-label{margin:4px 2px 12px}
.account-section-label-spaced{margin-top:28px}
.account-section-label>span{font-size:10px;font-weight:900;letter-spacing:.12em;color:var(--primary)}
.account-section-label h2{font-size:21px;margin:4px 0 0}
.account-dashboard .account-progress-grid{margin:0;gap:16px}
.account-dashboard .account-grid{gap:16px}
.account-dashboard .account-card{border-radius:18px;padding:24px;background:var(--surface);border:1px solid var(--border)}
.account-dashboard .account-score-card{background:linear-gradient(135deg,#eef4ff,#fff)}
.account-wide-card{margin-top:16px}
.dark-mode .account-dashboard-hero{background:linear-gradient(135deg,#202938,#171a20 60%,#252118)}
.dark-mode .account-dashboard .account-score-card{background:linear-gradient(135deg,#202a3a,#171a20)}

/* GENERAL / SHARED STYLES — selector: .dark-mode .auth-page-shell */
.dark-mode .auth-page-shell {background:#171a20;border-color:#2b3039}

/* GENERAL / SHARED STYLES — selector: .dark-mode .auth-page-form-card */
.dark-mode .auth-page-form-card {background:#171a20;border-color:#2b3039}


/* GENERAL / SHARED STYLES — selector: .dark-mode .auth-page-form-card #loginform input[type=text] */
.dark-mode .auth-page-form-card #loginform input[type=text] {background:#101318;border-color:#303640}

/* GENERAL / SHARED STYLES — selector: .dark-mode .auth-page-form-card #loginform input[type=password] */
.dark-mode .auth-page-form-card #loginform input[type=password] {background:#101318;border-color:#303640}


.leaderboard-page-wide{max-width:none!important;width:min(100% - 32px,1320px)}
.leaderboard-page-wide .leaderboard-shell{width:100%;box-sizing:border-box;padding:30px}
.leaderboard-page-wide .leaderboard-list{grid-template-columns:1fr 1fr;gap:10px}
.leaderboard-page-wide .leaderboard-row{min-width:0}
@media(max-width:900px){.auth-page-shell{grid-template-columns:1fr;max-width:600px}.auth-page-intro{min-height:auto;padding:30px}.auth-page-form-card{padding:30px}.leaderboard-page-wide .leaderboard-list{grid-template-columns:1fr}}
@media(max-width:700px){.auth-modal{padding:10px}.auth-modal-dialog{width:min(100%,460px);max-height:calc(100dvh - 20px);padding:22px 18px;border-radius:18px}.account-dashboard-hero{align-items:flex-start;padding:23px 20px}.account-hero-badge{width:70px;height:70px;flex-basis:70px;border-radius:18px}.account-quick-actions{grid-template-columns:1fr}.account-dashboard .account-card{padding:20px}.leaderboard-page-wide{width:min(100% - 20px,1320px)}.leaderboard-page-wide .leaderboard-shell{padding:20px}}
@media(max-width:480px){.auth-page-shell{margin-top:14px;border-radius:18px}.auth-page-intro{padding:26px 22px}.auth-page-intro h1{font-size:30px}.auth-page-benefits{display:grid;grid-template-columns:1fr}.auth-page-form-card{padding:24px 20px}.account-dashboard-hero{gap:12px}.account-dashboard-hero .account-head .content-action{width:auto}.account-hero-badge{display:none}}

/* FunOnline v4.12 — Professional full-width account dashboard redesign */
.account-page{width:min(100% - 32px,1320px)!important;max-width:none!important;padding-top:24px;padding-bottom:48px}
.account-dashboard{width:100%;box-sizing:border-box}
.account-dashboard-hero{min-height:150px;padding:28px 34px;border-radius:24px;margin-bottom:18px;background:linear-gradient(135deg,#eef4ff 0%,#ffffff 55%,#fff8e8 100%);box-shadow:0 10px 28px rgba(31,55,100,.08)}
.account-dashboard-hero .account-head{margin:0;align-items:center}
.account-dashboard-hero .account-head>div{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center}
.account-dashboard-hero .archive-icon{grid-row:1 / span 3;display:flex;width:58px;height:58px;align-items:center;justify-content:center;border-radius:17px;background:#e9f0ff;font-size:27px}
.account-hero-eyebrow{font-size:10px;font-weight:900;letter-spacing:.14em;color:var(--primary);align-self:end}
.account-dashboard-hero .account-head h1{font-size:clamp(28px,3vw,38px);line-height:1.05;margin:1px 0 2px}
.account-dashboard-hero .account-head p{margin:0;color:var(--muted);font-size:13px}
.account-logout-btn{min-width:100px;justify-content:center}

.account-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 30px}
.account-quick-action{min-height:92px;padding:18px 20px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:0 6px 18px rgba(27,45,80,.05);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.account-quick-action:hover{transform:translateY(-2px);border-color:rgba(36,107,219,.3);box-shadow:0 12px 26px rgba(27,45,80,.09)}
.account-quick-action span{font-size:22px}
.account-quick-action strong{font-size:14px}
.account-quick-action small{font-size:11px;color:var(--muted)}

.account-section-label{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 2px 13px;padding-top:2px}
.account-section-label-spaced{margin-top:32px}
.account-section-label>span{font-size:10px;font-weight:900;letter-spacing:.14em;color:var(--primary)}
.account-section-label h2{font-size:22px;margin:0;color:var(--text)}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-progress-grid */
.account-progress-grid {grid-template-columns:1.05fr .95fr;gap:16px}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-dashboard .account-grid */
.account-dashboard .account-grid {grid-template-columns:1.05fr .95fr;gap:16px}

.account-dashboard .account-card{border-radius:20px;padding:25px;background:var(--surface);box-shadow:0 7px 22px rgba(27,45,80,.055);border:1px solid var(--border)}
.account-score-card{position:relative;overflow:hidden;padding:27px!important;background:linear-gradient(135deg,#edf4ff 0%,#fff 72%)!important}
.account-score-card:after{content:"";position:absolute;width:150px;height:150px;right:-55px;top:-55px;border-radius:50%;background:rgba(91,85,231,.08)}
.account-score-card .archive-icon{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:13px;background:#fff;font-size:21px;box-shadow:0 4px 12px rgba(27,45,80,.07)}
.account-score-card h2{font-size:15px;margin:14px 0 0}
.account-points{font-size:clamp(2.8rem,5vw,4rem);font-weight:900;letter-spacing:-.05em;color:var(--accent,#5b55e7);margin:8px 0 18px}
.account-points small{font-size:13px;letter-spacing:0;font-weight:800;color:var(--muted)}
.account-progress-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.account-progress-stats span{padding:12px 13px;background:rgba(255,255,255,.75);border:1px solid rgba(36,107,219,.1);border-radius:13px;font-size:11px;color:var(--muted)}
.account-progress-stats strong{display:block;font-size:19px;color:var(--text);margin-bottom:2px}
.account-dashboard .account-progress-grid>section:nth-child(2){background:linear-gradient(135deg,#fffdf6,#fff)}
.account-dashboard .account-progress-grid>section:nth-child(2)>h2{font-size:17px;margin-bottom:16px}
.achievement-list{grid-template-columns:1fr 1fr;gap:10px}
.achievement-badge{min-height:62px;padding:12px 13px;border-radius:14px;background:var(--bg);border:1px solid var(--border);transition:transform .18s ease,border-color .18s ease}
.achievement-badge:hover{transform:translateY(-1px);border-color:rgba(36,107,219,.25)}
.achievement-badge>span{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:var(--surface);font-size:20px}
.achievement-badge strong{font-size:12px}
.achievement-badge small{font-size:10px;line-height:1.4;color:var(--muted)}

.account-progress-extra{margin:0!important}
.account-progress-extra .account-card{min-height:260px}
.account-progress-extra .account-card>h2{font-size:17px;margin:0 0 18px}
.progress-stat-row{grid-template-columns:repeat(3,1fr);gap:10px}
.progress-stat-row span{padding:13px;border-radius:13px;background:var(--bg);border:1px solid var(--border)}
.progress-stat-row strong{font-size:20px}
.progress-stat-row small{font-size:10px;color:var(--muted)}
.achievement-progress{margin-top:22px;gap:9px}
.achievement-progress>div:not(.progress-track){font-size:11px;font-weight:800}
.progress-track{height:8px}
.continue-card{min-height:105px;justify-content:center;padding:20px;border-radius:16px;background:linear-gradient(135deg,#f4f7ff,#fff);border:1px solid #dfe7f7;transition:transform .18s ease,box-shadow .18s ease}
.continue-card:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(27,45,80,.08)}
.continue-card strong{font-size:15px}
.continue-card span{font-size:11px;color:var(--muted)}

.account-wide-card{width:100%;box-sizing:border-box;margin-top:18px}
.account-modern-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.account-modern-head h2{font-size:20px;margin:3px 0 4px}
.account-card-eyebrow{display:block;font-size:9px;font-weight:900;letter-spacing:.14em;color:var(--primary)}
.account-section-note{margin:0;color:var(--muted);font-size:11px;line-height:1.5}
.account-notifications{padding:24px!important}
.account-notifications .notification-list{display:grid;gap:9px}
.account-notifications .notification-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:13px;padding:14px;border:1px solid var(--border);border-radius:15px;background:var(--bg);transition:border-color .18s ease,background .18s ease}
.account-notifications .notification-item.is-unread{background:#f5f8ff;border-color:#d8e4ff}
.account-notifications .notification-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:var(--surface);font-size:19px}
.account-notifications .notification-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.account-notifications .notification-title-row strong{font-size:12px}
.account-notifications .notification-title-row time{font-size:9px;color:var(--muted);white-space:nowrap}
.account-notifications .notification-body p{margin:5px 0 8px;font-size:11px;line-height:1.5;color:var(--muted)}
.account-notifications .notification-actions{display:flex;gap:12px;flex-wrap:wrap}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-notifications .notification-actions a */
.account-notifications .notification-actions a {font-size:10px;font-weight:800;color:var(--primary);background:none;border:0;padding:0;cursor:pointer}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-notifications .notification-actions button */
.account-notifications .notification-actions button {font-size:10px;font-weight:800;color:var(--primary);background:none;border:0;padding:0;cursor:pointer}

.notification-empty{padding:22px;border:1px dashed var(--border);border-radius:14px;text-align:center;color:var(--muted);font-size:12px}

.account-profile-card{padding:25px!important}
.account-profile-form{margin-top:0}
.account-profile-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.account-profile-fields label{gap:7px;font-size:12px}
.account-profile-fields input{min-height:46px}
.account-profile-fields small{font-size:9px;color:var(--muted);font-weight:500}
.account-profile-actions{display:flex;justify-content:flex-end;margin-top:16px}
.account-profile-actions .content-action{min-width:130px}

.dark-mode .account-dashboard-hero{background:linear-gradient(135deg,#202938 0%,#171a20 60%,#252118 100%)}
.dark-mode .account-score-card{background:linear-gradient(135deg,#202a3a,#171a20)!important}
.dark-mode .account-dashboard .account-progress-grid>section:nth-child(2){background:#1b1d22}

/* ACCOUNT / DASHBOARD SECTION — selector: .dark-mode .account-progress-stats span */
.dark-mode .account-progress-stats span {background:#101318;border-color:#303640}

/* GENERAL / SHARED STYLES — selector: .dark-mode .progress-stat-row span */
.dark-mode .progress-stat-row span {background:#101318;border-color:#303640}

/* GENERAL / SHARED STYLES — selector: .dark-mode .achievement-badge */
.dark-mode .achievement-badge {background:#101318;border-color:#303640}

/* GENERAL / SHARED STYLES — selector: .dark-mode .notification-item */
.dark-mode .notification-item {background:#101318;border-color:#303640}

.dark-mode .account-notifications .notification-item.is-unread{background:#182236;border-color:#30456e}
.dark-mode .continue-card{background:#1a2230;border-color:#303e58}

@media(max-width:900px){
 
/* ACCOUNT / DASHBOARD SECTION — selector: .account-progress-grid */
.account-progress-grid {grid-template-columns:1fr}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-dashboard .account-grid */
.account-dashboard .account-grid {grid-template-columns:1fr}

 .achievement-list{grid-template-columns:1fr 1fr}
 .account-profile-fields{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
 .account-page{width:min(100% - 20px,1320px)!important;padding-top:16px}
 .account-dashboard-hero{padding:22px 20px;border-radius:19px}
 .account-dashboard-hero .account-head>div{grid-template-columns:auto 1fr}
 .account-dashboard-hero .archive-icon{width:48px;height:48px;font-size:23px;border-radius:14px}
 .account-quick-actions{grid-template-columns:1fr;gap:10px}
 .account-quick-action{min-height:0;padding:15px 16px}
 .account-section-label{display:block;margin-bottom:11px}
 .account-section-label h2{font-size:20px;margin-top:3px}
 .account-dashboard .account-card{padding:20px}
 
/* ACCOUNT / DASHBOARD SECTION — selector: .account-progress-stats */
.account-progress-stats {grid-template-columns:1fr 1fr 1fr}

/* GENERAL / SHARED STYLES — selector: .progress-stat-row */
.progress-stat-row {grid-template-columns:1fr 1fr 1fr}

 .achievement-list{grid-template-columns:1fr}
 .account-modern-head{align-items:flex-start;flex-direction:column}
 .account-modern-head .content-action{width:100%}
 .account-notifications{padding:20px!important}
 .account-notifications .notification-item{grid-template-columns:36px minmax(0,1fr);gap:10px;padding:12px}
 .account-notifications .notification-icon{width:36px;height:36px}
 .account-notifications .notification-title-row{align-items:flex-start;flex-direction:column;gap:2px}
 .account-profile-fields{grid-template-columns:1fr}
 .account-profile-actions .content-action{width:100%}
}

/* FunOnline v4.13 — Account activity, notifications & profile final layout */
.account-progress-extra{grid-template-columns:1fr 1fr!important;align-items:stretch!important;gap:18px!important}
.account-progress-extra .account-card{min-height:340px!important;box-sizing:border-box;display:flex;flex-direction:column}
.account-progress-extra .account-card>h2{font-size:21px!important;margin:0 0 22px!important}
.progress-stat-row{gap:12px!important}
.progress-stat-row span{min-height:74px;padding:16px!important;display:flex;justify-content:center!important}
.progress-stat-row strong{font-size:25px!important;line-height:1.1}
.progress-stat-row small{font-size:11px!important;margin-top:4px}
.achievement-progress{margin-top:28px!important;gap:10px!important}
.achievement-progress>div:not(.progress-track){font-size:12px!important}
.progress-track{height:10px!important}
.continue-card{flex:1;min-height:185px!important;padding:28px!important;justify-content:center;align-items:flex-start;gap:10px!important;background:linear-gradient(135deg,#eef4ff 0%,#fff 100%)!important;border-radius:18px!important;border:1px solid #dbe5f7!important}
.continue-card strong{font-size:20px!important;line-height:1.35}
.continue-card span{font-size:12px!important}

.account-notifications{padding:28px!important;margin-top:20px!important}
.account-notifications .account-modern-head{align-items:center;margin-bottom:20px!important;padding-bottom:17px;border-bottom:1px solid var(--border)}
.account-notifications .account-modern-head h2{font-size:22px!important;margin:4px 0 5px!important}
.account-notifications .notification-list{grid-template-columns:1fr 1fr;gap:12px!important}
.account-notifications .notification-item{min-height:105px;box-sizing:border-box;padding:16px!important;grid-template-columns:46px minmax(0,1fr)!important;gap:14px!important;background:var(--bg)}
.account-notifications .notification-icon{width:46px!important;height:46px!important;border-radius:14px!important;font-size:21px!important}
.account-notifications .notification-title-row strong{font-size:13px!important}
.account-notifications .notification-title-row time{font-size:9px!important}
.account-notifications .notification-body p{font-size:11px!important;line-height:1.55!important}
.account-profile-card{padding:28px!important;margin-top:20px!important}
.account-profile-card .account-modern-head{padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid var(--border)}
.account-profile-card .account-modern-head h2{font-size:22px!important}
.account-profile-fields{grid-template-columns:repeat(3,1fr)!important;gap:18px!important}
.account-profile-fields label{padding:16px;border:1px solid var(--border);border-radius:15px;background:var(--bg);font-size:12px!important}
.account-profile-fields input{margin-top:2px;min-height:48px!important;background:var(--surface)!important}
.account-profile-fields small{font-size:10px!important}
.account-profile-actions{margin-top:18px!important}

@media(max-width:900px){
 .account-progress-extra{grid-template-columns:1fr!important}
 .account-progress-extra .account-card{min-height:300px!important}
 .account-notifications .notification-list{grid-template-columns:1fr!important}
 .account-profile-fields{grid-template-columns:1fr 1fr!important}
}
@media(max-width:700px){
 .account-progress-extra .account-card{min-height:280px!important}
 .progress-stat-row{gap:8px!important}
 .progress-stat-row span{padding:12px 8px!important;min-height:66px}
 .progress-stat-row strong{font-size:21px!important}
 .continue-card{min-height:155px!important;padding:22px!important}
 .continue-card strong{font-size:17px!important}
 .account-notifications{padding:20px!important}
 .account-notifications .account-modern-head{align-items:flex-start!important}
 .account-profile-card{padding:20px!important}
 .account-profile-fields{grid-template-columns:1fr!important}
 .account-profile-fields label{padding:14px}
}

/* FunOnline v4.15 - Archive layout, category menus and compact cards */
.archive-page{padding-top:32px;padding-bottom:60px}
.archive-page .fun-archive-head{margin-bottom:18px}
.archive-category-bar{display:flex;align-items:center;gap:12px;margin:0 0 20px;padding:10px 12px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow)}
.archive-category-menu{display:flex;align-items:center;gap:8px;flex:1;min-width:0;flex-wrap:wrap}
.archive-sort-form{flex:0 0 auto;margin-left:auto}
.archive-sort-form label{display:flex;align-items:center;gap:7px;white-space:nowrap}
.archive-sort-form label>span{font-size:11px;font-weight:800;color:var(--muted)}
.archive-sort-form select{min-height:34px;padding:7px 28px 7px 10px;border:1px solid var(--border);border-radius:9px;background:var(--bg);color:var(--text);font:inherit;font-size:12px;font-weight:700}
.archive-category-item{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:7px 11px;border:1px solid transparent;border-radius:9px;color:var(--muted);font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}
.archive-category-item span{font-size:10px;opacity:.75}
.archive-category-item:hover{color:var(--primary);background:var(--bg);border-color:var(--border)}
.archive-category-item.is-active{background:var(--primary);color:#fff;border-color:var(--primary)}
.archive-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.archive-main-content{min-width:0}
.archive-sidebar{min-width:0;width:300px;position:sticky;top:18px}
.archive-sidebar>.funonline-ad-sidebar{width:300px;min-height:250px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}

/* SEARCH / ARCHIVE SECTION — selector: .archive-sidebar>.funonline-ad-sidebar iframe */
.archive-sidebar>.funonline-ad-sidebar iframe {max-width:100%;max-height:250px}

/* SEARCH / ARCHIVE SECTION — selector: .archive-sidebar>.funonline-ad-sidebar img */
.archive-sidebar>.funonline-ad-sidebar img {max-width:100%;max-height:250px}

/* SEARCH / ARCHIVE SECTION — selector: .archive-sidebar>.funonline-ad-sidebar ins */
.archive-sidebar>.funonline-ad-sidebar ins {max-width:100%;max-height:250px}

.archive-sidebar>.funonline-ad-sidebar>div{max-width:100%}
.archive-sidebar .widget{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:17px;margin:0 0 15px;box-shadow:var(--shadow)}
.archive-sidebar .widget-title{font-size:17px;margin:0 0 12px;padding-bottom:9px;border-bottom:1px solid var(--border)}
.archive-sidebar .widget ul{margin:0;padding:0;list-style:none}
.archive-sidebar .widget li{padding:8px 0;border-bottom:1px solid var(--border);font-size:13px}
.archive-sidebar .widget li:last-child{border-bottom:0}
.archive-sidebar .widget a{color:var(--text);text-decoration:none}
.archive-sidebar .widget a:hover{color:var(--primary)}
.archive-sidebar .games-widget-game{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--border);color:var(--text);text-decoration:none}
.archive-sidebar .games-widget-game:last-child{border-bottom:0}
.archive-sidebar .games-widget-image{width:52px;height:42px;flex:0 0 52px;border-radius:8px;overflow:hidden;background:var(--bg);display:flex;align-items:center;justify-content:center}
.archive-sidebar .games-widget-thumb{width:100%;height:100%;object-fit:cover;display:block}
.archive-sidebar .games-widget-placeholder{font-size:22px;line-height:1}
.archive-sidebar .games-widget-game-info{min-width:0;display:flex;flex-direction:column;gap:3px}
.archive-sidebar .games-widget-game-info strong{font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.archive-sidebar .games-widget-game-info small{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.archive-sidebar .games-widget-list{margin:0;padding:0;list-style:none}
.archive-sidebar .games-widget-list li{padding:0!important;border-bottom:1px solid var(--border)}
.archive-sidebar .games-widget-list li:last-child{border-bottom:0}
.archive-sidebar .games-widget-list li a{display:flex;justify-content:space-between;gap:10px;padding:8px 0}
.archive-sidebar .games-widget-list li a span{color:var(--muted);font-size:10px}
.archive-sidebar .games-widget-empty{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.archive-sidebar .games-featured-widget{display:flex;flex-direction:column;gap:8px;color:var(--text);text-decoration:none}
.archive-sidebar .games-featured-image{width:100%;height:145px;object-fit:cover;border-radius:10px;display:block}
.archive-sidebar .games-featured-placeholder{height:145px;border-radius:10px;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:44px}
.archive-sidebar .games-featured-widget strong{font-size:14px;line-height:1.3}
.archive-sidebar .games-featured-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 10px;border-radius:8px;background:var(--primary);color:#fff;font-size:11px;font-weight:800}

.archive-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.archive-page .fun-card{padding:9px;border-radius:14px;text-align:left}
.archive-page .fun-card:hover{transform:translateY(-2px)}
.archive-page .card-image-wrap{position:relative}
.archive-page .card-image{height:120px;border-radius:11px}
.archive-page .fun-card h3{font-size:13px;line-height:1.3;margin:9px 2px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:34px}
.archive-page .card-actions{margin-top:8px}
.archive-page .card-btn{font-size:11px;padding:8px 7px;border-radius:8px;text-align:center}
.card-category-badge{position:absolute;z-index:2;top:7px;left:7px;display:inline-flex;align-items:center;max-width:calc(100% - 14px);padding:4px 7px;border-radius:7px;background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.65);box-shadow:0 2px 8px rgba(0,0,0,.12);color:#26344f;font-size:9px;font-weight:900;line-height:1.15;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-category-badge:hover{color:var(--primary);background:#fff}
.archive-page .generator-archive-card{position:relative}
.archive-page .generator-archive-card>.card-category-badge{top:7px;left:7px}
.archive-page .generator-archive-card .generator-card-icon{height:120px}

/* Keep article archive category menu in the same position/style as the other archives. */
.articles-page{padding-top:32px;padding-bottom:60px}
.articles-page>.articles-category-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 20px;padding:10px 12px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow)}
.articles-page>.articles-category-nav .articles-category-chip{margin:0}

@media(max-width:1100px){
    .archive-content-layout{grid-template-columns:minmax(0,1fr) 280px;gap:20px}
    .archive-sidebar{width:280px}
    .archive-sidebar>.funonline-ad-sidebar{width:280px}
    .archive-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
    .archive-category-bar{align-items:stretch}
    .archive-sort-form{margin-left:0}
    .archive-content-layout{grid-template-columns:1fr;gap:20px}
    .archive-sidebar{position:static;width:100%}
    .archive-sidebar>.funonline-ad-sidebar{width:min(300px,100%)}
    .archive-category-bar{flex-wrap:wrap}
    
/* SEARCH / ARCHIVE SECTION — selector: .archive-category-menu */
.archive-category-menu {overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}

/* ARTICLES SECTION — selector: .articles-page>.articles-category-nav */
.articles-page>.articles-category-nav {overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}

    
/* SEARCH / ARCHIVE SECTION — selector: .archive-category-item */
.archive-category-item {flex:0 0 auto}

/* ARTICLES SECTION — selector: .articles-page>.articles-category-nav .articles-category-chip */
.articles-page>.articles-category-nav .articles-category-chip {flex:0 0 auto}

}
@media(max-width:480px){
    
/* SEARCH / ARCHIVE SECTION — selector: .archive-page */
.archive-page {padding-top:20px;padding-bottom:40px}

/* ARTICLES SECTION — selector: .articles-page */
.articles-page {padding-top:20px;padding-bottom:40px}

    .archive-page .fun-archive-head{padding:18px}
    
/* SEARCH / ARCHIVE SECTION — selector: .archive-category-menu */
.archive-category-menu {margin-bottom:14px;padding:8px}

/* ARTICLES SECTION — selector: .articles-page>.articles-category-nav */
.articles-page>.articles-category-nav {margin-bottom:14px;padding:8px}

    .archive-card-grid{gap:10px}
    .archive-page .fun-card{padding:7px;border-radius:12px}
    
/* SEARCH / ARCHIVE SECTION — selector: .archive-page .card-image */
.archive-page .card-image {height:96px;border-radius:9px}

/* GENERATORS SECTION — selector: .archive-page .generator-archive-card .generator-card-icon */
.archive-page .generator-archive-card .generator-card-icon {height:96px;border-radius:9px}

    .archive-page .fun-card h3{font-size:11.5px;margin-top:7px;min-height:30px}
    .archive-page .card-btn{font-size:10px;padding:7px 6px}
    .card-category-badge{top:5px;left:5px;padding:3px 6px;font-size:8px}
}

/* FunOnline v4.15.1 — Archive pagination */
.archive-pagination{margin:24px 0 4px}
.archive-pagination .page-numbers{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.archive-pagination .page-numbers li{margin:0;padding:0}

/* SEARCH / ARCHIVE SECTION — selector: .archive-pagination .page-numbers a */
.archive-pagination .page-numbers a {display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;padding:0 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);font-size:12px;font-weight:800;text-decoration:none;box-sizing:border-box}

/* SEARCH / ARCHIVE SECTION — selector: .archive-pagination .page-numbers span */
.archive-pagination .page-numbers span {display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;padding:0 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);font-size:12px;font-weight:800;text-decoration:none;box-sizing:border-box}

.archive-pagination .page-numbers a:hover{border-color:var(--primary);color:var(--primary);background:var(--bg)}
.archive-pagination .page-numbers .current{background:var(--primary);border-color:var(--primary);color:#fff}
.archive-pagination .page-numbers .dots{border-color:transparent;background:transparent;min-width:24px}
@media(max-width:480px){
    .archive-pagination{margin-top:18px}
    
/* SEARCH / ARCHIVE SECTION — selector: .archive-pagination .page-numbers a */
.archive-pagination .page-numbers a {min-width:34px;min-height:34px;padding:0 8px;font-size:11px}

/* SEARCH / ARCHIVE SECTION — selector: .archive-pagination .page-numbers span */
.archive-pagination .page-numbers span {min-width:34px;min-height:34px;padding:0 8px;font-size:11px}

}

/* v4.15.2 — unified single-content pages */

/* GAMES SECTION — selector: .single-section-layout .game-single */
.single-section-layout .game-single {
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:20px;
    box-shadow:var(--shadow);
    overflow:hidden;
}

/* QUIZ SECTION — selector: .single-section-layout .quiz-single */
.single-section-layout .quiz-single {
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:20px;
    box-shadow:var(--shadow);
    overflow:hidden;
}

/* TOOLS SECTION — selector: .single-section-layout .tool-single */
.single-section-layout .tool-single {
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:20px;
    box-shadow:var(--shadow);
    overflow:hidden;
}

/* GENERATORS SECTION — selector: .single-section-layout .generator-single */
.single-section-layout .generator-single {
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:20px;
    box-shadow:var(--shadow);
    overflow:hidden;
}

/* FUN SECTION — selector: .single-section-layout .fun-single */
.single-section-layout .fun-single {
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:20px;
    box-shadow:var(--shadow);
    overflow:hidden;
}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-card */
.single-section-layout .single-content-card {
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:20px;
    box-shadow:var(--shadow);
    overflow:hidden;
}


/* GAMES SECTION — selector: .single-section-layout .game-header */
.single-section-layout .game-header {
    padding:0;
}

/* QUIZ SECTION — selector: .single-section-layout .quiz-header */
.single-section-layout .quiz-header {
    padding:0;
}

/* TOOLS SECTION — selector: .single-section-layout .tool-header */
.single-section-layout .tool-header {
   /* padding:26px 30px 20px; */
}

/* GENERATORS SECTION — selector: .single-section-layout .generator-title-header */
.single-section-layout .generator-title-header {
   /* padding:26px 30px 20px; */
}

/* FUN SECTION — selector: .single-section-layout .fun-header */
.single-section-layout .fun-header {
   /* padding:26px 30px 20px; */
}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-head */
.single-section-layout .single-content-head {
   /* padding:26px 30px 20px; */
}


/* GAMES SECTION — selector: .single-section-layout .game-badge */
.single-section-layout .game-badge {
    display:inline-flex;
    align-items:center;
    gap:5px;
    margin-bottom:7px;
    color:var(--primary);
    font-size:11px;
    font-weight:900;
    letter-spacing:.04em;
}

/* QUIZ SECTION — selector: .single-section-layout .quiz-badge */
.single-section-layout .quiz-badge {
    display:inline-flex;
    align-items:center;
    gap:5px;
    margin-bottom:7px;
    color:var(--primary);
    font-size:11px;
    font-weight:900;
    letter-spacing:.04em;
}

/* TOOLS SECTION — selector: .single-section-layout .tool-badge */
.single-section-layout .tool-badge {
    display:inline-flex;
    align-items:center;
    gap:5px;
    margin-bottom:7px;
    color:var(--primary);
    font-size:11px;
    font-weight:900;
    letter-spacing:.04em;
}

/* FUN SECTION — selector: .single-section-layout .fun-badge */
.single-section-layout .fun-badge {
    display:inline-flex;
    align-items:center;
    gap:5px;
    margin-bottom:7px;
    color:var(--primary);
    font-size:11px;
    font-weight:900;
    letter-spacing:.04em;
}

/* INDIA SECTION — selector: .single-section-layout .india-single-badge */
.single-section-layout .india-single-badge {
    display:inline-flex;
    align-items:center;
    gap:5px;
    margin-bottom:7px;
    color:var(--primary);
    font-size:11px;
    font-weight:900;
    letter-spacing:.04em;
}


/* GAMES SECTION — selector: .single-section-layout .game-header h1 */
.single-section-layout .game-header h1 {
    margin:0;
    font-size:36px;
    line-height:1.18;
    letter-spacing:-.02em;
}

/* QUIZ SECTION — selector: .single-section-layout .quiz-header h1 */
.single-section-layout .quiz-header h1 {
    margin:0;
    font-size:36px;
    line-height:1.18;
    letter-spacing:-.02em;
}

/* TOOLS SECTION — selector: .single-section-layout .tool-header h1 */
.single-section-layout .tool-header h1 {
    margin:0;
    font-size:36px;
    line-height:1.18;
    letter-spacing:-.02em;
}

/* GENERATORS SECTION — selector: .single-section-layout .generator-title-header h1 */
.single-section-layout .generator-title-header h1 {
    margin:0;
    font-size:36px;
    line-height:1.18;
    letter-spacing:-.02em;
}

/* FUN SECTION — selector: .single-section-layout .fun-header h1 */
.single-section-layout .fun-header h1 {
    margin:0;
    font-size:36px;
    line-height:1.18;
    letter-spacing:-.02em;
}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-head h1 */
.single-section-layout .single-content-head h1 {
    margin:0;
    font-size:36px;
    line-height:1.18;
    letter-spacing:-.02em;
}


/* GAMES SECTION — selector: .single-section-layout .game-header p */
.single-section-layout .game-header p {
    margin-top:9px;
    color:var(--muted);
}

/* QUIZ SECTION — selector: .single-section-layout .quiz-header p */
.single-section-layout .quiz-header p {
    margin-top:9px;
    color:var(--muted);
}

/* TOOLS SECTION — selector: .single-section-layout .tool-header p */
.single-section-layout .tool-header p {
    margin-top:9px;
    color:var(--muted);
}

/* GENERATORS SECTION — selector: .single-section-layout .generator-title-header p */
.single-section-layout .generator-title-header p {
    margin-top:9px;
    color:var(--muted);
}

/* FUN SECTION — selector: .single-section-layout .fun-header p */
.single-section-layout .fun-header p {
    margin-top:9px;
    color:var(--muted);
}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-head .content-meta */
.single-section-layout .single-content-head .content-meta {
    margin-top:9px;
    color:var(--muted);
}

.single-section-layout .quiz-thumb{
    flex:0 0 180px;
    width:180px;
    height:105px;
    overflow:hidden;
    border-radius:13px;
    border:1px solid var(--border);
}
.single-section-layout .quiz-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* QUIZ SECTION — selector: .single-section-layout .quiz-app */
.single-section-layout .quiz-app {
  /*  margin-left:30px;
    margin-right:30px;*/
}

/* TOOLS SECTION — selector: .single-section-layout .tool-app */
.single-section-layout .tool-app {
    margin-left:30px;
    margin-right:30px;
}

/* GENERATORS SECTION — selector: .single-section-layout .generator-app */
.single-section-layout .generator-app {
    margin-left:0;
    margin-right:0;
}

/* FUN SECTION — selector: .single-section-layout .fun-app */
.single-section-layout .fun-app {
    margin-left:0;
    margin-right:0;
}

/* GAMES SECTION — selector: .single-section-layout .game-player-shell */
.single-section-layout .game-player-shell {
    margin:auto;
}

/* GAMES SECTION — selector: .single-section-layout .game-external-box */
.single-section-layout .game-external-box {
    margin-left:30px;
    margin-right:30px;
}

/* GAMES SECTION — selector: .single-section-layout .game-empty */
.single-section-layout .game-empty {
    margin-left:30px;
    margin-right:30px;
}

/* QUIZ SECTION — selector: .single-section-layout .quiz-empty */
.single-section-layout .quiz-empty {
    margin-left:30px;
    margin-right:30px;
}


/* ARTICLES SECTION — selector: .single-section-layout .single-article-share */
.single-section-layout .single-article-share {
    margin-left:30px;
    margin-right:30px;
}

/* GAMES SECTION — selector: .single-section-layout .game-details */
.single-section-layout .game-details {
    margin-left:30px;
    margin-right:30px;
}

/* QUIZ SECTION — selector: .single-section-layout .quiz-about */
.single-section-layout .quiz-about {
    margin-left:0;
    margin-right:0;
}

/* TOOLS SECTION — selector: .single-section-layout .tool-about */
.single-section-layout .tool-about {
    margin-left:0;
    margin-right:0;
}

/* GENERATORS SECTION — selector: .single-section-layout .generator-about */
.single-section-layout .generator-about {
    margin-left:0;
    margin-right:0;
}

/* FUN SECTION — selector: .single-section-layout .fun-about */
.single-section-layout .fun-about {
    margin-left:0;
    margin-right:0;
}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-body */
.single-section-layout .single-content-body {
    margin-left:30px;
    margin-right:30px;
}


/* GAMES SECTION — selector: .single-section-layout .game-details */
.single-section-layout .game-details {
    margin-top:20px;
    margin-bottom:24px;
}

/* QUIZ SECTION — selector: .single-section-layout .quiz-about */
.single-section-layout .quiz-about {
    margin-top:20px;
    margin-bottom:24px;
}

/* TOOLS SECTION — selector: .single-section-layout .tool-about */
.single-section-layout .tool-about {
    margin-top:20px;
    margin-bottom:24px;
}

/* GENERATORS SECTION — selector: .single-section-layout .generator-about */
.single-section-layout .generator-about {
    margin-top:20px;
    margin-bottom:24px;
}

/* FUN SECTION — selector: .single-section-layout .fun-about */
.single-section-layout .fun-about {
    margin-top:20px;
    margin-bottom:24px;
}

.single-section-layout .single-content-head .content-meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:7px;
    font-size:11px;
}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-head .content-meta a */
.single-section-layout .single-content-head .content-meta a {
    display:inline-flex;
    padding:5px 8px;
    border-radius:7px;
    background:var(--bg);
    border:1px solid var(--border);
    color:var(--muted);
    text-decoration:none;
    font-weight:800;
}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-head .content-meta span */
.single-section-layout .single-content-head .content-meta span {
    display:inline-flex;
    padding:5px 8px;
    border-radius:7px;
    background:var(--bg);
    border:1px solid var(--border);
    color:var(--muted);
    text-decoration:none;
    font-weight:800;
}

.single-section-layout .single-featured-image{
    margin:0 30px 20px;
    overflow:hidden;
    border-radius:15px;
}
.single-section-layout .single-featured-image img{
    display:block;
    width:100%;
    max-height:430px;
    object-fit:cover;
}
.single-section-layout .single-content-body{
    padding:4px 0 10px;
    line-height:1.75;
}
@media(max-width:900px){
    
/* GAMES SECTION — selector: .single-section-layout .game-header */
.single-section-layout .game-header {padding:0}

/* QUIZ SECTION — selector: .single-section-layout .quiz-header */
.single-section-layout .quiz-header {padding:0}

/* TOOLS SECTION — selector: .single-section-layout .tool-header */
.single-section-layout .tool-header {padding:0}

/* GENERATORS SECTION — selector: .single-section-layout .generator-title-header */
.single-section-layout .generator-title-header {padding:0}

/* FUN SECTION — selector: .single-section-layout .fun-header */
.single-section-layout .fun-header {padding:0}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-head */
.single-section-layout .single-content-head {padding:22px 22px 17px}

    .single-section-layout .quiz-thumb{width:150px;height:92px;flex-basis:150px}
    
/* GAMES SECTION — selector: .single-section-layout .game-header h1 */
.single-section-layout .game-header h1 {font-size:32px}

/* QUIZ SECTION — selector: .single-section-layout .quiz-header h1 */
.single-section-layout .quiz-header h1 {font-size:32px}

/* TOOLS SECTION — selector: .single-section-layout .tool-header h1 */
.single-section-layout .tool-header h1 {font-size:32px}

/* GENERATORS SECTION — selector: .single-section-layout .generator-title-header h1 */
.single-section-layout .generator-title-header h1 {font-size:32px}

/* FUN SECTION — selector: .single-section-layout .fun-header h1 */
.single-section-layout .fun-header h1 {font-size:32px}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-head h1 */
.single-section-layout .single-content-head h1 {font-size:32px}

    
/* QUIZ SECTION — selector: .single-section-layout .quiz-app */
.single-section-layout .quiz-app {/*margin-left:22px;margin-right:22px*/}

/* TOOLS SECTION — selector: .single-section-layout .tool-app */
.single-section-layout .tool-app {margin-left:22px;margin-right:22px}

/* GENERATORS SECTION — selector: .single-section-layout .generator-app */
.single-section-layout .generator-app {margin-left:0;margin-right:0}

/* FUN SECTION — selector: .single-section-layout .fun-app */
.single-section-layout .fun-app {margin-left:0;margin-right:0}

/* GAMES SECTION — selector: .single-section-layout .game-player-shell */
.single-section-layout .game-player-shell {margin-left:0;margin-right:0}

/* GAMES SECTION — selector: .single-section-layout .game-external-box */
.single-section-layout .game-external-box {margin-left:22px;margin-right:22px}

/* GAMES SECTION — selector: .single-section-layout .game-empty */
.single-section-layout .game-empty {margin-left:22px;margin-right:22px}

/* QUIZ SECTION — selector: .single-section-layout .quiz-empty */
.single-section-layout .quiz-empty {margin-left:22px;margin-right:22px}

/* ARTICLES SECTION — selector: .single-section-layout .single-article-share */
.single-section-layout .single-article-share {margin-left:22px;margin-right:22px}

/* GAMES SECTION — selector: .single-section-layout .game-details */
.single-section-layout .game-details {margin-left:22px;margin-right:22px}

/* QUIZ SECTION — selector: .single-section-layout .quiz-about */
.single-section-layout .quiz-about {margin-left:0;margin-right:0}

/* TOOLS SECTION — selector: .single-section-layout .tool-about */
.single-section-layout .tool-about {margin-left:0;margin-right:0}

/* GENERATORS SECTION — selector: .single-section-layout .generator-about */
.single-section-layout .generator-about {margin-left:0;margin-right:0}

/* FUN SECTION — selector: .single-section-layout .fun-about */
.single-section-layout .fun-about {margin-left:0;margin-right:0}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-body */
.single-section-layout .single-content-body {margin-left:22px;margin-right:22px}

    .single-section-layout .single-featured-image{margin-left:22px;margin-right:22px}
}
@media(max-width:600px){
    
/* GAMES SECTION — selector: .single-section-layout .game-single */
.single-section-layout .game-single {border-radius:15px}

/* QUIZ SECTION — selector: .single-section-layout .quiz-single */
.single-section-layout .quiz-single {border-radius:15px}

/* TOOLS SECTION — selector: .single-section-layout .tool-single */
.single-section-layout .tool-single {border-radius:15px}

/* GENERATORS SECTION — selector: .single-section-layout .generator-single */
.single-section-layout .generator-single {border-radius:15px}

/* FUN SECTION — selector: .single-section-layout .fun-single */
.single-section-layout .fun-single {border-radius:15px}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-card */
.single-section-layout .single-content-card {border-radius:15px}

    
/* GAMES SECTION — selector: .single-section-layout .game-header */
.single-section-layout .game-header {padding:0}

/* QUIZ SECTION — selector: .single-section-layout .quiz-header */
.single-section-layout .quiz-header {padding:0}

/* TOOLS SECTION — selector: .single-section-layout .tool-header */
.single-section-layout .tool-header {padding:0}

/* GENERATORS SECTION — selector: .single-section-layout .generator-title-header */
.single-section-layout .generator-title-header {padding:0}

/* FUN SECTION — selector: .single-section-layout .fun-header */
.single-section-layout .fun-header {padding:0}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-head */
.single-section-layout .single-content-head {padding:18px 18px 14px}

    
/* GAMES SECTION — selector: .single-section-layout .game-header h1 */
.single-section-layout .game-header h1 {font-size:27px}

/* QUIZ SECTION — selector: .single-section-layout .quiz-header h1 */
.single-section-layout .quiz-header h1 {font-size:27px}

/* TOOLS SECTION — selector: .single-section-layout .tool-header h1 */
.single-section-layout .tool-header h1 {font-size:27px}

/* GENERATORS SECTION — selector: .single-section-layout .generator-title-header h1 */
.single-section-layout .generator-title-header h1 {font-size:27px}

/* FUN SECTION — selector: .single-section-layout .fun-header h1 */
.single-section-layout .fun-header h1 {font-size:27px}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-head h1 */
.single-section-layout .single-content-head h1 {font-size:27px}

    .single-section-layout .quiz-header{display:block}
    .single-section-layout .quiz-thumb{width:100%;height:150px;margin-top:15px}
    
/* QUIZ SECTION — selector: .single-section-layout .quiz-app */
.single-section-layout .quiz-app {/*margin-left:18px;margin-right:18px*/}

/* TOOLS SECTION — selector: .single-section-layout .tool-app */
.single-section-layout .tool-app {margin-left:18px;margin-right:18px}

/* GENERATORS SECTION — selector: .single-section-layout .generator-app */
.single-section-layout .generator-app {margin-left:0;margin-right:0}

/* FUN SECTION — selector: .single-section-layout .fun-app */
.single-section-layout .fun-app {margin-left:0;margin-right:0}

/* GAMES SECTION — selector: .single-section-layout .game-player-shell */
.single-section-layout .game-player-shell {margin-left:0;margin-right:0}

/* GAMES SECTION — selector: .single-section-layout .game-external-box */
.single-section-layout .game-external-box {margin-left:18px;margin-right:18px}

/* GAMES SECTION — selector: .single-section-layout .game-empty */
.single-section-layout .game-empty {margin-left:18px;margin-right:18px}

/* QUIZ SECTION — selector: .single-section-layout .quiz-empty */
.single-section-layout .quiz-empty {margin-left:18px;margin-right:18px}

/* ARTICLES SECTION — selector: .single-section-layout .single-article-share */
.single-section-layout .single-article-share {margin-left:18px;margin-right:18px}

/* GAMES SECTION — selector: .single-section-layout .game-details */
.single-section-layout .game-details {margin-left:18px;margin-right:18px}

/* QUIZ SECTION — selector: .single-section-layout .quiz-about */
.single-section-layout .quiz-about {margin-left:0;margin-right:0}

/* TOOLS SECTION — selector: .single-section-layout .tool-about */
.single-section-layout .tool-about {margin-left:0;margin-right:0}

/* GENERATORS SECTION — selector: .single-section-layout .generator-about */
.single-section-layout .generator-about {margin-left:0;margin-right:0}

/* FUN SECTION — selector: .single-section-layout .fun-about */
.single-section-layout .fun-about {margin-left:0;margin-right:0}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-body */
.single-section-layout .single-content-body {margin-left:18px;margin-right:18px}

    .single-section-layout .single-featured-image{margin-left:18px;margin-right:18px}
    .single-section-layout .single-featured-image img{max-height:300px}
}

/* v4.15.3 saved/history/continue polish */
.local-card .local-icon{min-height:130px}
.local-card .card-actions{margin-top:9px}
.continue-card{position:relative;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.continue-card:hover{transform:translateY(-2px);border-color:var(--primary,#4f46e5);box-shadow:var(--shadow)}
@media(max-width:600px){.local-card .local-icon{min-height:105px}.continue-card{padding:15px}}


/* Back to Top */
.back-to-top{
    position:fixed;
    right:22px;
    bottom:22px;
    z-index:9999;
    width:44px;
    height:44px;
    border:1px solid rgba(29,90,200,.18);
    border-radius:50%;
    background:var(--surface);
    color:var(--primary);
    box-shadow:0 8px 24px rgba(22,49,91,.16);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:22px;
    font-weight:800;
    line-height:1;
    transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease;
}
.back-to-top:hover{transform:translateY(-3px);box-shadow:0 11px 28px rgba(22,49,91,.22)}
.back-to-top:focus-visible{outline:3px solid rgba(37,102,207,.28);outline-offset:3px}
.back-to-top[hidden]{display:none!important}
@media(max-width:600px){.back-to-top{right:14px;bottom:14px;width:42px;height:42px;font-size:20px}}
@media(prefers-reduced-motion:reduce){.back-to-top{transition:none}}


/* v4.16 — Shared UI for section sidebars. Games keeps its existing widget UI. */
.archive-sidebar.section-sidebar{min-width:0}
.archive-sidebar .section-sidebar-search{display:flex;gap:7px;align-items:stretch}
.archive-sidebar .section-sidebar-search input{min-width:0;flex:1;width:100%;height:40px;padding:0 10px;border:1px solid var(--border);border-radius:9px;background:var(--bg);color:var(--text);font:inherit;font-size:12px}
.archive-sidebar .section-sidebar-search button{flex:0 0 auto;padding:0 11px;border:0;border-radius:9px;background:var(--primary);color:#fff;font-size:11px;font-weight:800;cursor:pointer}
.archive-sidebar .section-sidebar-search button:hover{background:var(--primary-dark);transform:translateY(-1px)}
.archive-sidebar .section-widget-item{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--border);color:var(--text);text-decoration:none}
.archive-sidebar .section-widget-item:last-child{border-bottom:0}
.archive-sidebar .section-widget-image{width:52px;height:42px;flex:0 0 52px;border-radius:8px;overflow:hidden;background:var(--bg);display:flex;align-items:center;justify-content:center}
.archive-sidebar .section-widget-thumb{width:100%;height:100%;object-fit:cover;display:block}
.archive-sidebar .section-widget-placeholder{font-size:21px;line-height:1}
.archive-sidebar .section-widget-info{min-width:0;display:flex;flex-direction:column;gap:3px}
.archive-sidebar .section-widget-info strong{font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.archive-sidebar .section-widget-list{margin:0;padding:0;list-style:none}
.archive-sidebar .section-widget-list li{padding:0!important;border-bottom:1px solid var(--border)}
.archive-sidebar .section-widget-list li:last-child{border-bottom:0}
.archive-sidebar .section-widget-list li a{display:flex;justify-content:space-between;gap:10px;padding:8px 0}
.archive-sidebar .section-widget-list li a span{color:var(--muted);font-size:10px}
.archive-sidebar .section-widget-empty{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.archive-sidebar .section-featured-widget{display:flex;flex-direction:column;gap:8px;color:var(--text);text-decoration:none}
.archive-sidebar .section-featured-image{width:100%;height:145px;object-fit:cover;border-radius:10px;display:block}
.archive-sidebar .section-featured-placeholder{height:145px;border-radius:10px;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:44px}
.archive-sidebar .section-featured-widget strong{font-size:14px;line-height:1.3}
.archive-sidebar .section-featured-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 10px;border-radius:8px;background:var(--primary);color:#fff;font-size:11px;font-weight:800}

/* Section sidebars + footer widget areas */
.footer-grid .widget{margin:0 0 15px}.footer-grid .widget-title{font-size:15px;color:#fff;margin:0 0 12px}.footer-grid .widget ul{list-style:none;padding:0;margin:0}.footer-grid .widget li{margin:8px 0;font-size:13px}.footer-grid .widget a{color:inherit}.footer-grid .widget p{font-size:13px;line-height:1.55}.footer-column-brand .footer-note{margin-top:14px}

/* FunOnline v4.16.1 — Unified archive sidebar behavior + useful archive information */

/* SEARCH / ARCHIVE SECTION — selector: .archive-content-layout .archive-sidebar */
.archive-content-layout .archive-sidebar {
    position:sticky;
    top:20px;
    align-self:start;
    width:300px;
    min-width:0;
}

/* ARTICLES SECTION — selector: .articles-content-layout .article-sidebar */
.articles-content-layout .article-sidebar {
    position:sticky;
    top:20px;
    align-self:start;
    width:300px;
    min-width:0;
}


.archive-info-section{
    margin-top:34px;
    display:grid;
    gap:18px;
}

/* SEARCH / ARCHIVE SECTION — selector: .archive-info-about */
.archive-info-about {
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    padding:20px;
    box-shadow:var(--shadow);
}

/* SEARCH / ARCHIVE SECTION — selector: .archive-info-faq */
.archive-info-faq {
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    padding:20px;
    box-shadow:var(--shadow);
}

.archive-info-section h2{
    margin:0 0 8px;
    font-size:20px;
    line-height:1.3;
}
.archive-info-about p{
    margin:0;
    color:var(--muted);
    font-size:13px;
    line-height:1.7;
}
.archive-info-faq h2{margin-bottom:12px}
.archive-faq-list{display:grid;gap:8px}
.archive-faq-item{
    border:1px solid var(--border);
    border-radius:10px;
    background:var(--bg);
    overflow:hidden;
}
.archive-faq-item summary{
    cursor:pointer;
    padding:12px 14px;
    font-size:13px;
    font-weight:800;
    color:var(--text);
    list-style:none;
}
.archive-faq-item summary::-webkit-details-marker{display:none}
.archive-faq-item summary:after{
    content:"+";
    float:right;
    color:var(--muted);
    font-size:16px;
    line-height:1;
}
.archive-faq-item[open] summary:after{content:"−"}
.archive-faq-item p{
    margin:0;
    padding:0 14px 13px;
    color:var(--muted);
    font-size:12px;
    line-height:1.6;
}

/* One responsive breakpoint for every archive/sidebar layout. */
@media(max-width:800px){
    
/* SEARCH / ARCHIVE SECTION — selector: .archive-content-layout */
.archive-content-layout {
        grid-template-columns:1fr;
        gap:20px;
    }

/* ARTICLES SECTION — selector: .articles-content-layout */
.articles-content-layout {
        grid-template-columns:1fr;
        gap:20px;
    }

    
/* SEARCH / ARCHIVE SECTION — selector: .archive-content-layout .archive-sidebar */
.archive-content-layout .archive-sidebar {
        position:static;
        width:100%;
    }

/* ARTICLES SECTION — selector: .articles-content-layout .article-sidebar */
.articles-content-layout .article-sidebar {
        position:static;
        width:100%;
    }

    
/* SEARCH / ARCHIVE SECTION — selector: .archive-content-layout .archive-sidebar>.funonline-ad-sidebar */
.archive-content-layout .archive-sidebar>.funonline-ad-sidebar {
        width:min(300px,100%);
    }

/* ARTICLES SECTION — selector: .articles-content-layout .article-sidebar>.funonline-ad-sidebar */
.articles-content-layout .article-sidebar>.funonline-ad-sidebar {
        width:min(300px,100%);
    }

}

@media(max-width:480px){
    .archive-info-section{margin-top:24px;gap:12px}
    
/* SEARCH / ARCHIVE SECTION — selector: .archive-info-about */
.archive-info-about {padding:16px;border-radius:13px}

/* SEARCH / ARCHIVE SECTION — selector: .archive-info-faq */
.archive-info-faq {padding:16px;border-radius:13px}

    .archive-info-section h2{font-size:17px}
    .archive-info-about p{font-size:12px}
    .archive-faq-item summary{padding:11px 12px;font-size:12px}
    .archive-faq-item p{padding:0 12px 12px;font-size:11px}
}

/* FunOnline v4.17.1 — shared Tools / Generators / Fun UI system */

/* TOOLS SECTION — selector: .tool-form */
.tool-form {box-sizing:border-box}

/* GENERATORS SECTION — selector: .generator-fields */
.generator-fields {box-sizing:border-box}

/* FUN SECTION — selector: .fun-two-inputs */
.fun-two-inputs {box-sizing:border-box}

.tool-form{display:grid;gap:16px;max-width:680px;margin:0 auto}
.tool-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}

/* TOOLS SECTION — selector: .tool-form>div */
.tool-form>div {display:flex;flex-direction:column;gap:7px;min-width:0}

/* TOOLS SECTION — selector: .tool-form>label */
.tool-form>label {display:flex;flex-direction:column;gap:7px;min-width:0}

/* GENERATORS SECTION — selector: .generator-fields>label */
.generator-fields>label {display:flex;flex-direction:column;gap:7px;min-width:0}

/* FUN SECTION — selector: .fun-two-inputs>label */
.fun-two-inputs>label {display:flex;flex-direction:column;gap:7px;min-width:0}


/* TOOLS SECTION — selector: .tool-form label */
.tool-form label {font-size:13px;font-weight:800;line-height:1.3;color:var(--text)}

/* GENERATORS SECTION — selector: .generator-fields label */
.generator-fields label {font-size:13px;font-weight:800;line-height:1.3;color:var(--text)}

/* FUN SECTION — selector: .fun-two-inputs label */
.fun-two-inputs label {font-size:13px;font-weight:800;line-height:1.3;color:var(--text)}


/* TOOLS SECTION — selector: .tool-form input */
.tool-form input {width:100%;min-height:46px;box-sizing:border-box;margin:0;padding:11px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;outline:none;transition:border-color .18s ease,box-shadow .18s ease}

/* TOOLS SECTION — selector: .tool-form select */
.tool-form select {width:100%;min-height:46px;box-sizing:border-box;margin:0;padding:11px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;outline:none;transition:border-color .18s ease,box-shadow .18s ease}

/* TOOLS SECTION — selector: .tool-form textarea */
.tool-form textarea {width:100%;min-height:46px;box-sizing:border-box;margin:0;padding:11px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;outline:none;transition:border-color .18s ease,box-shadow .18s ease}

/* GENERATORS SECTION — selector: .generator-fields input */
.generator-fields input {width:100%;min-height:46px;box-sizing:border-box;margin:0;padding:11px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;outline:none;transition:border-color .18s ease,box-shadow .18s ease}

/* GENERATORS SECTION — selector: .generator-fields select */
.generator-fields select {width:100%;min-height:46px;box-sizing:border-box;margin:0;padding:11px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;outline:none;transition:border-color .18s ease,box-shadow .18s ease}

/* GENERATORS SECTION — selector: .generator-fields textarea */
.generator-fields textarea {width:100%;min-height:46px;box-sizing:border-box;margin:0;padding:11px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;outline:none;transition:border-color .18s ease,box-shadow .18s ease}

/* FUN SECTION — selector: .fun-input */
.fun-input {width:100%;min-height:46px;box-sizing:border-box;margin:0;padding:11px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;outline:none;transition:border-color .18s ease,box-shadow .18s ease}

/* FUN SECTION — selector: .fun-two-inputs input */
.fun-two-inputs input {width:100%;min-height:46px;box-sizing:border-box;margin:0;padding:11px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;outline:none;transition:border-color .18s ease,box-shadow .18s ease}


/* TOOLS SECTION — selector: .tool-form textarea */
.tool-form textarea {min-height:110px;resize:vertical}

/* GENERATORS SECTION — selector: .generator-fields textarea */
.generator-fields textarea {min-height:110px;resize:vertical}

/* FUN SECTION — selector: .fun-input */
.fun-input {min-height:110px;resize:vertical}


/* TOOLS SECTION — selector: .tool-form input:focus */
.tool-form input:focus {border-color:var(--primary);box-shadow:0 0 0 4px var(--focus)}

/* TOOLS SECTION — selector: .tool-form select:focus */
.tool-form select:focus {border-color:var(--primary);box-shadow:0 0 0 4px var(--focus)}

/* TOOLS SECTION — selector: .tool-form textarea:focus */
.tool-form textarea:focus {border-color:var(--primary);box-shadow:0 0 0 4px var(--focus)}

/* GENERATORS SECTION — selector: .generator-fields input:focus */
.generator-fields input:focus {border-color:var(--primary);box-shadow:0 0 0 4px var(--focus)}

/* GENERATORS SECTION — selector: .generator-fields select:focus */
.generator-fields select:focus {border-color:var(--primary);box-shadow:0 0 0 4px var(--focus)}

/* GENERATORS SECTION — selector: .generator-fields textarea:focus */
.generator-fields textarea:focus {border-color:var(--primary);box-shadow:0 0 0 4px var(--focus)}

/* FUN SECTION — selector: .fun-input:focus */
.fun-input:focus {border-color:var(--primary);box-shadow:0 0 0 4px var(--focus)}

/* FUN SECTION — selector: .fun-two-inputs input:focus */
.fun-two-inputs input:focus {border-color:var(--primary);box-shadow:0 0 0 4px var(--focus)}


/* TOOLS SECTION — selector: .tool-form .btn */
.tool-form .btn {width:100%;min-height:46px;box-sizing:border-box;border-radius:12px;font-weight:900}

/* GENERATORS SECTION — selector: .generator-primary */
.generator-primary {width:100%;min-height:46px;box-sizing:border-box;border-radius:12px;font-weight:900}

/* GENERATORS SECTION — selector: .generator-secondary */
.generator-secondary {width:100%;min-height:46px;box-sizing:border-box;border-radius:12px;font-weight:900}

/* FUN SECTION — selector: .fun-action */
.fun-action {width:100%;min-height:46px;box-sizing:border-box;border-radius:12px;font-weight:900}


/* TOOLS SECTION — selector: .tool-form-grid>.btn */
.tool-form-grid>.btn {grid-column:1/-1}

/* TOOLS SECTION — selector: .tool-form-grid>.tool-calculate */
.tool-form-grid>.tool-calculate {grid-column:1/-1}

.single-section-layout .tool-app{width:min(100%,760px);max-width:760px;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
.single-section-layout .tool-card{width:100%;max-width:720px;margin:0 auto!important}
.single-section-layout .tool-form{width:100%;margin:0 auto}
.single-section-layout .generator-card{width:min(100%,680px);max-width:680px;margin:0 auto!important}
.single-section-layout .generator-app{width:100%;}
.single-section-layout .fun-card-app{width:min(100%,680px);max-width:680px;margin:0 auto}
.single-section-layout .fun-app{width:100%;box-sizing:border-box}
.generator-card-top{align-items:flex-start}
.generator-fields.two-col{align-items:end}
.generator-checks{align-items:stretch}
.generator-checks label{display:flex;align-items:center;min-height:46px;box-sizing:border-box}
.fun-two-inputs{align-items:end}
.fun-two-inputs label{gap:7px}
.fun-two-inputs input{margin:0}
.interactive-app .btn{display:inline-flex;align-items:center;justify-content:center}
@media(max-width:700px){
 .tool-form-grid{grid-template-columns:1fr}
 
/* TOOLS SECTION — selector: .tool-form-grid>.btn */
.tool-form-grid>.btn {grid-column:auto}

/* TOOLS SECTION — selector: .tool-form-grid>.tool-calculate */
.tool-form-grid>.tool-calculate {grid-column:auto}

 .generator-fields.two-col{grid-template-columns:1fr}
 .generator-checks{grid-template-columns:1fr}
 
/* TOOLS SECTION — selector: .tool-form */
.tool-form {max-width:100%}

/* GENERATORS SECTION — selector: .generator-card */
.generator-card {max-width:100%}

/* FUN SECTION — selector: .fun-card-app */
.fun-card-app {max-width:100%}

}

/* Fun Zone v4.19.0 - interactive controls/results */
.fun-controls{display:flex;justify-content:center;gap:10px;margin:15px auto;max-width:600px}.fun-controls-2{display:grid;grid-template-columns:1fr 1fr}.fun-controls label{display:flex;flex-direction:column;gap:7px;flex:1;text-align:left;font-size:13px;font-weight:800}.fun-select{width:100%;min-height:46px;padding:11px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;outline:none}.fun-select:focus{border-color:var(--primary);box-shadow:0 0 0 4px var(--focus)}.fun-action-row{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:15px 0}
/* FUN SECTION — selector: .fun-action-row .fun-action */
.fun-action-row .fun-action {margin:0}

/* FUN SECTION — selector: .fun-action-row .fun-secondary */
.fun-action-row .fun-secondary {margin:0}
.fun-secondary{border:1px solid var(--border);background:var(--surface);color:var(--text)}.fun-result-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:13px}.fun-mini-action{font-size:12px;padding:7px 11px;border:1px solid var(--border);background:var(--surface);color:var(--text)}
@media(max-width:600px){.fun-controls-2{grid-template-columns:1fr}.fun-controls{width:100%}.fun-action-row{display:grid;grid-template-columns:1fr 1fr}.fun-action-row .btn{width:100%}.fun-result-actions{display:grid;grid-template-columns:1fr 1fr}.fun-result-actions .btn{width:100%}}


/* FunOnline v4.20.7 — Games/Quiz/Tools/Generators/Fun archive Popular sections */
.archive-popular-section{margin-top:30px;padding-top:26px;border-top:1px solid var(--border)}
.archive-popular-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:15px}
.archive-popular-kicker{display:block;font-size:9px;font-weight:900;letter-spacing:.08em;color:var(--primary);margin-bottom:3px}
.archive-popular-heading h2{font-size:20px;line-height:1.2;margin:0}
.archive-popular-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.archive-popular-grid .fun-card{min-width:0}
@media(max-width:900px){.archive-popular-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.archive-popular-section{margin-top:24px;padding-top:22px}.archive-popular-heading h2{font-size:18px}.archive-popular-grid{grid-template-columns:1fr;gap:12px}}

/* FunOnline v4.20.5 — Articles archive Popular section */
.articles-popular-section{margin-top:30px;padding-top:26px;border-top:1px solid var(--border)}
.articles-popular-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:15px}
.articles-popular-kicker{display:block;font-size:9px;font-weight:900;letter-spacing:.08em;color:var(--primary);margin-bottom:3px}
.articles-popular-heading h2{font-size:20px;line-height:1.2;margin:0}
.articles-popular-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.article-popular-card{min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:13px;overflow:hidden;box-shadow:var(--shadow);transition:transform .18s ease,box-shadow .18s ease}
.article-popular-card:hover{transform:translateY(-2px)}
.article-popular-thumb{display:flex;width:100%;height:145px;background:linear-gradient(135deg,#e8f1ff,#f8ecff);align-items:center;justify-content:center;overflow:hidden;text-decoration:none}
.article-popular-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.article-popular-thumb span{font-size:38px}
.article-popular-body{padding:12px 13px 13px}
.article-popular-body h3{font-size:14px;line-height:1.35;margin:0 0 8px}
.article-popular-body h3 a{color:var(--text);text-decoration:none}
.article-popular-body h3 a:hover{color:var(--primary)}
.article-popular-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:9px;line-height:1.3}
@media(max-width:900px){.articles-popular-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-popular-thumb{height:135px}}
@media(max-width:600px){.articles-popular-section{margin-top:24px;padding-top:22px}.articles-popular-heading h2{font-size:18px}.articles-popular-grid{grid-template-columns:1fr;gap:12px}.article-popular-thumb{height:160px}}

/* FunOnline v4.20.8 — Phase 1 UI/UX consistency polish */
:root{
    --ui-control-height:44px;
    --ui-control-radius:11px;
    --ui-card-radius:16px;
}

/* Shared keyboard focus */
:where(a,button,input,select,textarea):focus-visible{
    outline:3px solid rgba(36,107,219,.22);
    outline-offset:2px;
}

/* Header consistency */
.site-header .header-inner{min-width:0}
.site-brand{min-width:0}
.site-brand>span:last-child{min-width:0}

/* GENERAL / SHARED STYLES — selector: .site-brand strong */
.site-brand strong {white-space:nowrap}

/* GENERAL / SHARED STYLES — selector: .site-brand small */
.site-brand small {white-space:nowrap}

.primary-nav{min-width:0}
.primary-nav ul{flex-wrap:nowrap}

/* GENERAL / SHARED STYLES — selector: .primary-nav a */
.primary-nav a {transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}

/* HEADER / NAVIGATION SECTION — selector: .header-link */
.header-link {transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}

/* HEADER / NAVIGATION SECTION — selector: .header-actions button */
.header-actions button {transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}

/* HEADER / NAVIGATION SECTION — selector: .menu-toggle */
.menu-toggle {transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}


/* GENERAL / SHARED STYLES — selector: .primary-nav a:focus-visible */
.primary-nav a:focus-visible {outline-offset:1px}

/* HEADER / NAVIGATION SECTION — selector: .header-link:focus-visible */
.header-link:focus-visible {outline-offset:1px}

/* HEADER / NAVIGATION SECTION — selector: .header-actions button:focus-visible */
.header-actions button:focus-visible {outline-offset:1px}

/* HEADER / NAVIGATION SECTION — selector: .menu-toggle:focus-visible */
.menu-toggle:focus-visible {outline-offset:1px}


/* Shared action/button family */

/* GENERAL / SHARED STYLES — selector: .btn */
.btn {
    min-height:var(--ui-control-height);
    box-sizing:border-box;
    align-items:center;
    justify-content:center;
    line-height:1.2;
}

/* GENERAL / SHARED STYLES — selector: .content-action */
.content-action {
    min-height:var(--ui-control-height);
    box-sizing:border-box;
    align-items:center;
    justify-content:center;
    line-height:1.2;
}

/* GENERAL / SHARED STYLES — selector: .card-btn */
.card-btn {
    min-height:var(--ui-control-height);
    box-sizing:border-box;
    align-items:center;
    justify-content:center;
    line-height:1.2;
}

/* GENERAL / SHARED STYLES — selector: .category-clear */
.category-clear {
    min-height:var(--ui-control-height);
    box-sizing:border-box;
    align-items:center;
    justify-content:center;
    line-height:1.2;
}

/* GENERAL / SHARED STYLES — selector: .category-back */
.category-back {
    min-height:var(--ui-control-height);
    box-sizing:border-box;
    align-items:center;
    justify-content:center;
    line-height:1.2;
}

/* ARTICLES SECTION — selector: .articles-back-link */
.articles-back-link {
    min-height:var(--ui-control-height);
    box-sizing:border-box;
    align-items:center;
    justify-content:center;
    line-height:1.2;
}

/* SEARCH / ARCHIVE SECTION — selector: .archive-sidebar .section-widget-button */
.archive-sidebar .section-widget-button {
    min-height:var(--ui-control-height);
    box-sizing:border-box;
    align-items:center;
    justify-content:center;
    line-height:1.2;
}

/* HOMEPAGE SECTION — selector: .archive-sidebar .section-featured-btn */
.archive-sidebar .section-featured-btn {
    min-height:var(--ui-control-height);
    box-sizing:border-box;
    align-items:center;
    justify-content:center;
    line-height:1.2;
}

.btn{cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}
.btn-primary{box-shadow:0 6px 16px rgba(36,107,219,.12)}

/* GENERAL / SHARED STYLES — selector: .btn:hover */
.btn:hover {transform:translateY(-1px)}

/* GENERAL / SHARED STYLES — selector: .content-action:hover */
.content-action:hover {transform:translateY(-1px)}

/* GENERAL / SHARED STYLES — selector: .card-btn:hover */
.card-btn:hover {transform:translateY(-1px)}

/* GENERAL / SHARED STYLES — selector: .category-clear:hover */
.category-clear:hover {transform:translateY(-1px)}

/* GENERAL / SHARED STYLES — selector: .category-back:hover */
.category-back:hover {transform:translateY(-1px)}

/* ARTICLES SECTION — selector: .articles-back-link:hover */
.articles-back-link:hover {transform:translateY(-1px)}


/* GENERAL / SHARED STYLES — selector: .btn:active */
.btn:active {transform:translateY(0)}

/* GENERAL / SHARED STYLES — selector: .content-action:active */
.content-action:active {transform:translateY(0)}

/* GENERAL / SHARED STYLES — selector: .card-btn:active */
.card-btn:active {transform:translateY(0)}

/* GENERAL / SHARED STYLES — selector: .category-clear:active */
.category-clear:active {transform:translateY(0)}

/* GENERAL / SHARED STYLES — selector: .category-back:active */
.category-back:active {transform:translateY(0)}

/* ARTICLES SECTION — selector: .articles-back-link:active */
.articles-back-link:active {transform:translateY(0)}


/* Shared cards */

/* SEARCH / ARCHIVE SECTION — selector: .archive-card-grid */
.archive-card-grid {align-items:stretch}

/* SEARCH / ARCHIVE SECTION — selector: .archive-popular-grid */
.archive-popular-grid {align-items:stretch}

/* ARTICLES SECTION — selector: .articles-popular-grid */
.articles-popular-grid {align-items:stretch}

/* GENERAL / SHARED STYLES — selector: .card-grid */
.card-grid {align-items:stretch}


/* FUN SECTION — selector: .fun-card */
.fun-card {
    overflow:hidden;
}

/* ARTICLES SECTION — selector: .article-popular-card */
.article-popular-card {
    overflow:hidden;
}

/* GENERAL / SHARED STYLES — selector: .post-card */
.post-card {
    overflow:hidden;
}

/* SEARCH / ARCHIVE SECTION — selector: .archive-info-about */
.archive-info-about {
    overflow:hidden;
}

/* SEARCH / ARCHIVE SECTION — selector: .archive-info-faq */
.archive-info-faq {
    overflow:hidden;
}

/* SEARCH / ARCHIVE SECTION — selector: .archive-sidebar .widget */
.archive-sidebar .widget {
    overflow:hidden;
}

/* ARTICLES SECTION — selector: .articles-content-layout .article-sidebar .widget */
.articles-content-layout .article-sidebar .widget {
    overflow:hidden;
}


/* FUN SECTION — selector: .fun-card */
.fun-card {transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}

/* ARTICLES SECTION — selector: .article-popular-card */
.article-popular-card {transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}

/* GENERAL / SHARED STYLES — selector: .post-card */
.post-card {transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}


/* FUN SECTION — selector: .fun-card:hover */
.fun-card:hover {border-color:rgba(36,107,219,.22)}

/* ARTICLES SECTION — selector: .article-popular-card:hover */
.article-popular-card:hover {border-color:rgba(36,107,219,.22)}

/* GENERAL / SHARED STYLES — selector: .post-card:hover */
.post-card:hover {border-color:rgba(36,107,219,.22)}


/* Shared archive headings */

/* FUN SECTION — selector: .fun-archive-head */
.fun-archive-head {box-sizing:border-box}

/* SEARCH / ARCHIVE SECTION — selector: .archive-header */
.archive-header {box-sizing:border-box}

/* ARTICLES SECTION — selector: .articles-archive-head */
.articles-archive-head {box-sizing:border-box}


/* FUN SECTION — selector: .fun-archive-head h1 */
.fun-archive-head h1 {line-height:1.15;letter-spacing:-.015em}

/* SEARCH / ARCHIVE SECTION — selector: .archive-header h1 */
.archive-header h1 {line-height:1.15;letter-spacing:-.015em}

/* ARTICLES SECTION — selector: .articles-archive-head h1 */
.articles-archive-head h1 {line-height:1.15;letter-spacing:-.015em}


/* FUN SECTION — selector: .fun-archive-head p */
.fun-archive-head p {line-height:1.6}

/* SEARCH / ARCHIVE SECTION — selector: .archive-header p */
.archive-header p {line-height:1.6}


/* Shared form controls */

/* FUN SECTION — selector: .fun-search-form input */
.fun-search-form input {
    min-height:var(--ui-control-height);
    box-sizing:border-box;
}

/* FUN SECTION — selector: .fun-search-form select */
.fun-search-form select {
    min-height:var(--ui-control-height);
    box-sizing:border-box;
}

/* FUN SECTION — selector: .fun-search-form button */
.fun-search-form button {
    min-height:var(--ui-control-height);
    box-sizing:border-box;
}

/* GENERAL / SHARED STYLES — selector: .category-filter select */
.category-filter select {
    min-height:var(--ui-control-height);
    box-sizing:border-box;
}

/* SEARCH / ARCHIVE SECTION — selector: .advanced-search-filters input */
.advanced-search-filters input {
    min-height:var(--ui-control-height);
    box-sizing:border-box;
}

/* SEARCH / ARCHIVE SECTION — selector: .advanced-search-filters select */
.advanced-search-filters select {
    min-height:var(--ui-control-height);
    box-sizing:border-box;
}

/* SEARCH / ARCHIVE SECTION — selector: .advanced-search-filters button */
.advanced-search-filters button {
    min-height:var(--ui-control-height);
    box-sizing:border-box;
}


/* FUN SECTION — selector: .fun-search-form input */
.fun-search-form input {
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

/* FUN SECTION — selector: .fun-search-form select */
.fun-search-form select {
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

/* GENERAL / SHARED STYLES — selector: .category-filter select */
.category-filter select {
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

/* SEARCH / ARCHIVE SECTION — selector: .advanced-search-filters input */
.advanced-search-filters input {
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

/* SEARCH / ARCHIVE SECTION — selector: .advanced-search-filters select */
.advanced-search-filters select {
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}


/* FUN SECTION — selector: .fun-search-form input:focus */
.fun-search-form input:focus {
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(36,107,219,.10);
}

/* FUN SECTION — selector: .fun-search-form select:focus */
.fun-search-form select:focus {
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(36,107,219,.10);
}

/* GENERAL / SHARED STYLES — selector: .category-filter select:focus */
.category-filter select:focus {
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(36,107,219,.10);
}

/* SEARCH / ARCHIVE SECTION — selector: .advanced-search-filters input:focus */
.advanced-search-filters input:focus {
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(36,107,219,.10);
}

/* SEARCH / ARCHIVE SECTION — selector: .advanced-search-filters select:focus */
.advanced-search-filters select:focus {
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(36,107,219,.10);
}


/* Footer consistency */
.footer-grid{align-items:start}
.footer-grid a{transition:color .18s ease,opacity .18s ease}
.footer-grid li a:hover{color:#fff;opacity:1}
.footer-bottom p{margin:0}

/* Mobile controls should never overflow their parent */
@media(max-width:800px){
    .header-inner{gap:10px}
    .header-left{min-width:0;flex:1}
    .header-actions{flex:0 0 auto}
    .primary-nav ul{flex-wrap:wrap}
    .footer-grid{gap:22px}
    
/* GENERAL / SHARED STYLES — selector: .content-actions */
.content-actions {align-items:stretch}

/* GENERAL / SHARED STYLES — selector: .result-actions */
.result-actions {align-items:stretch}

/* FUN SECTION — selector: .fun-action-row */
.fun-action-row {align-items:stretch}

}

@media(max-width:480px){
    .container{width:min(calc(100% - 20px),var(--container))}
    .site-brand strong{font-size:20px}
    .header-actions{gap:4px}
    
/* HEADER / NAVIGATION SECTION — selector: .header-actions button */
.header-actions button {width:40px;height:40px}

/* HEADER / NAVIGATION SECTION — selector: .menu-toggle */
.menu-toggle {width:40px;height:40px}

    
/* GENERAL / SHARED STYLES — selector: .btn */
.btn {min-height:42px}

/* GENERAL / SHARED STYLES — selector: .content-action */
.content-action {min-height:42px}

    .footer-grid{gap:18px}
}

@media(prefers-reduced-motion:reduce){
    
/* GENERAL / SHARED STYLES — selector: .btn */
.btn {transition:none}

/* GENERAL / SHARED STYLES — selector: .content-action */
.content-action {transition:none}

/* GENERAL / SHARED STYLES — selector: .card-btn */
.card-btn {transition:none}

/* FUN SECTION — selector: .fun-card */
.fun-card {transition:none}

/* ARTICLES SECTION — selector: .article-popular-card */
.article-popular-card {transition:none}

/* GENERAL / SHARED STYLES — selector: .post-card */
.post-card {transition:none}

/* GENERAL / SHARED STYLES — selector: .primary-nav a */
.primary-nav a {transition:none}

/* HEADER / NAVIGATION SECTION — selector: .header-link */
.header-link {transition:none}

/* HEADER / NAVIGATION SECTION — selector: .header-actions button */
.header-actions button {transition:none}

/* HEADER / NAVIGATION SECTION — selector: .menu-toggle */
.menu-toggle {transition:none}

/* FOOTER SECTION — selector: .footer-grid a */
.footer-grid a {transition:none}

/* FUN SECTION — selector: .fun-search-form input */
.fun-search-form input {transition:none}

/* FUN SECTION — selector: .fun-search-form select */
.fun-search-form select {transition:none}

/* FUN SECTION — selector: .fun-search-form button */
.fun-search-form button {transition:none}

}

/* FunOnline v4.20.9 — Responsive/mobile consistency polish */
@media(max-width:700px){
    
/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-card */
.single-section-layout .single-content-card {max-width:100%;}

/* GAMES SECTION — selector: .single-section-layout .game-single */
.single-section-layout .game-single {max-width:100%;}

/* QUIZ SECTION — selector: .single-section-layout .quiz-single */
.single-section-layout .quiz-single {max-width:100%;}

/* TOOLS SECTION — selector: .single-section-layout .tool-single */
.single-section-layout .tool-single {max-width:100%;}

/* GENERATORS SECTION — selector: .single-section-layout .generator-single */
.single-section-layout .generator-single {max-width:100%;}

/* FUN SECTION — selector: .single-section-layout .fun-single */
.single-section-layout .fun-single {max-width:100%;}


    
/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-head */
.single-section-layout .single-content-head {min-width:0;}

/* GAMES SECTION — selector: .single-section-layout .game-header */
.single-section-layout .game-header {min-width:0;}

/* QUIZ SECTION — selector: .single-section-layout .quiz-header */
.single-section-layout .quiz-header {min-width:0;}

/* TOOLS SECTION — selector: .single-section-layout .tool-header */
.single-section-layout .tool-header {min-width:0;}

/* GENERATORS SECTION — selector: .single-section-layout .generator-title-header */
.single-section-layout .generator-title-header {min-width:0;}

/* FUN SECTION — selector: .single-section-layout .fun-header */
.single-section-layout .fun-header {min-width:0;}


    
/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-head h1 */
.single-section-layout .single-content-head h1 {overflow-wrap:anywhere;}

/* GAMES SECTION — selector: .single-section-layout .game-header h1 */
.single-section-layout .game-header h1 {overflow-wrap:anywhere;}

/* QUIZ SECTION — selector: .single-section-layout .quiz-header h1 */
.single-section-layout .quiz-header h1 {overflow-wrap:anywhere;}

/* TOOLS SECTION — selector: .single-section-layout .tool-header h1 */
.single-section-layout .tool-header h1 {overflow-wrap:anywhere;}

/* GENERATORS SECTION — selector: .single-section-layout .generator-title-header h1 */
.single-section-layout .generator-title-header h1 {overflow-wrap:anywhere;}

/* FUN SECTION — selector: .single-section-layout .fun-header h1 */
.single-section-layout .fun-header h1 {overflow-wrap:anywhere;}


    
/* TOOLS SECTION — selector: .single-section-layout .tool-app */
.single-section-layout .tool-app {padding:0;}

/* GENERATORS SECTION — selector: .single-section-layout .generator-app */
.single-section-layout .generator-app {padding:0;}

/* FUN SECTION — selector: .single-section-layout .fun-app */
.single-section-layout .fun-app {padding:0;}


    
/* TOOLS SECTION — selector: .single-section-layout .tool-form */
.single-section-layout .tool-form {min-width:0;}

/* GENERATORS SECTION — selector: .single-section-layout .generator-card */
.single-section-layout .generator-card {min-width:0;}

/* FUN SECTION — selector: .single-section-layout .fun-card-app */
.single-section-layout .fun-card-app {min-width:0;}


    
/* TOOLS SECTION — selector: .single-section-layout .tool-form input */
.single-section-layout .tool-form input {max-width:100%;}

/* TOOLS SECTION — selector: .single-section-layout .tool-form select */
.single-section-layout .tool-form select {max-width:100%;}

/* TOOLS SECTION — selector: .single-section-layout .tool-form textarea */
.single-section-layout .tool-form textarea {max-width:100%;}

/* GENERATORS SECTION — selector: .single-section-layout .generator-fields input */
.single-section-layout .generator-fields input {max-width:100%;}

/* GENERATORS SECTION — selector: .single-section-layout .generator-fields select */
.single-section-layout .generator-fields select {max-width:100%;}

/* GENERATORS SECTION — selector: .single-section-layout .generator-fields textarea */
.single-section-layout .generator-fields textarea {max-width:100%;}

/* FUN SECTION — selector: .single-section-layout .fun-input */
.single-section-layout .fun-input {max-width:100%;}

/* FUN SECTION — selector: .single-section-layout .fun-two-inputs input */
.single-section-layout .fun-two-inputs input {max-width:100%;}

}

@media(max-width:600px){
    .archive-category-bar{gap:10px;}
    .archive-sort-form{width:100%;}
    .archive-sort-form select{max-width:100%;}

    
/* SEARCH / ARCHIVE SECTION — selector: .archive-popular-heading */
.archive-popular-heading {gap:8px;align-items:flex-start;}

/* ARTICLES SECTION — selector: .articles-popular-heading */
.articles-popular-heading {gap:8px;align-items:flex-start;}


    
/* GENERATORS SECTION — selector: .generator-actions */
.generator-actions {width:100%;}

/* TOOLS SECTION — selector: .tool-form-actions */
.tool-form-actions {width:100%;}


    
/* GENERATORS SECTION — selector: .generator-actions .generator-primary */
.generator-actions .generator-primary {min-width:0;}

/* GENERATORS SECTION — selector: .generator-actions .generator-secondary */
.generator-actions .generator-secondary {min-width:0;}

/* TOOLS SECTION — selector: .tool-form-actions .btn */
.tool-form-actions .btn {min-width:0;}

}

@media(max-width:480px){
    .single-section-layout .single-content-body{font-size:14px;line-height:1.7;}
    .single-section-layout .single-featured-image{border-radius:12px;}

    
/* GAMES SECTION — selector: .single-section-layout .game-header */
.single-section-layout .game-header {padding-left:0;padding-right:0;}

/* QUIZ SECTION — selector: .single-section-layout .quiz-header */
.single-section-layout .quiz-header {padding-left:0;padding-right:0;}

/* TOOLS SECTION — selector: .single-section-layout .tool-header */
.single-section-layout .tool-header {padding-left:0;padding-right:0;}

/* GENERATORS SECTION — selector: .single-section-layout .generator-title-header */
.single-section-layout .generator-title-header {padding-left:0;padding-right:0;}

/* FUN SECTION — selector: .single-section-layout .fun-header */
.single-section-layout .fun-header {padding-left:0;padding-right:0;}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-head */
.single-section-layout .single-content-head {padding-left:16px;padding-right:16px;}


    
/* QUIZ SECTION — selector: .single-section-layout .quiz-app */
.single-section-layout .quiz-app {/*margin-left:16px;margin-right:16px;*/}

/* TOOLS SECTION — selector: .single-section-layout .tool-app */
.single-section-layout .tool-app {margin-left:16px;margin-right:16px;}

/* GENERATORS SECTION — selector: .single-section-layout .generator-app */
.single-section-layout .generator-app {margin-left:0;margin-right:0;}

/* FUN SECTION — selector: .single-section-layout .fun-app */
.single-section-layout .fun-app {margin-left:0;margin-right:0;}

/* GAMES SECTION — selector: .single-section-layout .game-player-shell */
.single-section-layout .game-player-shell {margin-left:0;margin-right:0;}

/* GAMES SECTION — selector: .single-section-layout .game-external-box */
.single-section-layout .game-external-box {margin-left:16px;margin-right:16px;}

/* GAMES SECTION — selector: .single-section-layout .game-empty */
.single-section-layout .game-empty {margin-left:16px;margin-right:16px;}

/* QUIZ SECTION — selector: .single-section-layout .quiz-empty */
.single-section-layout .quiz-empty {margin-left:16px;margin-right:16px;}

/* ARTICLES SECTION — selector: .single-section-layout .single-article-share */
.single-section-layout .single-article-share {margin-left:16px;margin-right:16px;}

/* GAMES SECTION — selector: .single-section-layout .game-details */
.single-section-layout .game-details {margin-left:16px;margin-right:16px;}

/* QUIZ SECTION — selector: .single-section-layout .quiz-about */
.single-section-layout .quiz-about {margin-left:0;margin-right:0;}

/* TOOLS SECTION — selector: .single-section-layout .tool-about */
.single-section-layout .tool-about {margin-left:0;margin-right:0;}

/* GENERATORS SECTION — selector: .single-section-layout .generator-about */
.single-section-layout .generator-about {margin-left:0;margin-right:0;}

/* FUN SECTION — selector: .single-section-layout .fun-about */
.single-section-layout .fun-about {margin-left:0;margin-right:0;}

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-content-body */
.single-section-layout .single-content-body {margin-left:16px;margin-right:16px;}


    .single-section-layout .single-featured-image{margin-left:16px;margin-right:16px;}

    
/* FUN SECTION — selector: .fun-action-row */
.fun-action-row {grid-template-columns:1fr;}

/* FUN SECTION — selector: .fun-result-actions */
.fun-result-actions {grid-template-columns:1fr;}


    .generator-actions{display:grid;grid-template-columns:1fr;}
    
/* GENERATORS SECTION — selector: .generator-actions .generator-primary */
.generator-actions .generator-primary {width:100%;}

/* GENERATORS SECTION — selector: .generator-actions .generator-secondary */
.generator-actions .generator-secondary {width:100%;}


    .tool-form-actions{display:grid;grid-template-columns:1fr;}
    .tool-form.tool-form-grid .tool-form-actions .btn{width:100%;}

    .archive-pagination .page-numbers{gap:5px;}
    
/* SEARCH / ARCHIVE SECTION — selector: .archive-pagination .page-numbers a */
.archive-pagination .page-numbers a {min-width:32px;min-height:32px;padding:0 7px;}

/* SEARCH / ARCHIVE SECTION — selector: .archive-pagination .page-numbers span */
.archive-pagination .page-numbers span {min-width:32px;min-height:32px;padding:0 7px;}

}

/* FunOnline v4.21.1 — Single-page metadata/action/share consistency */

/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-section-meta-details */
.single-section-layout .single-section-meta-details {
    min-width:0;
}

/* ARTICLES SECTION — selector: .single-section-layout .single-article-actions */
.single-section-layout .single-article-actions {
    min-width:0;
}

/* ARTICLES SECTION — selector: .single-section-layout .single-article-share */
.single-section-layout .single-article-share {
    min-width:0;
}


/* GENERAL / SHARED STYLES — selector: .single-section-layout .single-section-meta-details span */
.single-section-layout .single-section-meta-details span {
    max-width:100%;
    box-sizing:border-box;
}

/* ARTICLES SECTION — selector: .single-section-layout .single-article-share a */
.single-section-layout .single-article-share a {
    max-width:100%;
    box-sizing:border-box;
}

/* ARTICLES SECTION — selector: .single-section-layout .single-article-share button */
.single-section-layout .single-article-share button {
    max-width:100%;
    box-sizing:border-box;
}

.single-section-layout .single-article-actions .single-action{
    min-height:36px;
    box-sizing:border-box;
}

/* ARTICLES SECTION — selector: .single-section-layout .single-article-share a */
.single-section-layout .single-article-share a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    box-sizing:border-box;
}

/* ARTICLES SECTION — selector: .single-section-layout .single-article-share .single-share-more */
.single-section-layout .single-article-share .single-share-more {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    box-sizing:border-box;
}

@media(max-width:900px){
    .single-section-layout .single-section-meta-details{
        width:100%;
    }
    .single-section-layout .single-article-actions{
        flex-wrap:wrap;
    }
}
@media(max-width:560px){
    .single-section-layout .single-section-meta-details{
        row-gap:7px;
    }
    .single-section-layout .single-article-actions{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        width:100%;
    }
    .single-section-layout .single-article-actions .single-action{
        width:100%;
        min-width:0;
    }
    .single-section-layout .single-article-share{
        align-items:stretch;
    }
    .single-section-layout .single-article-share>span{
        width:100%;
        margin:0 0 2px;
    }
    
/* ARTICLES SECTION — selector: .single-section-layout .single-article-share a */
.single-section-layout .single-article-share a {
        flex:1 1 calc(50% - 8px);
        min-width:0;
        text-align:center;
    }

/* ARTICLES SECTION — selector: .single-section-layout .single-article-share .single-share-more */
.single-section-layout .single-article-share .single-share-more {
        flex:1 1 calc(50% - 8px);
        min-width:0;
        text-align:center;
    }

}
@media(max-width:360px){
    
/* ARTICLES SECTION — selector: .single-section-layout .single-article-actions */
.single-section-layout .single-article-actions {
        grid-template-columns:1fr;
    }

/* ARTICLES SECTION — selector: .single-section-layout .single-article-share */
.single-section-layout .single-article-share {
        grid-template-columns:1fr;
    }

    
/* ARTICLES SECTION — selector: .single-section-layout .single-article-share a */
.single-section-layout .single-article-share a {
        flex-basis:100%;
    }

/* ARTICLES SECTION — selector: .single-section-layout .single-article-share .single-share-more */
.single-section-layout .single-article-share .single-share-more {
        flex-basis:100%;
    }

}

/* v4.21.2 Phase 2 final archive consistency */
.archive-empty-state{max-width:760px;margin:0 auto;text-align:center;}
.archive-empty-state .btn{margin-top:8px;}
.archive-main-content>.archive-empty-state{width:100%;box-sizing:border-box;}
@media(max-width:480px){
    .archive-empty-state{padding:42px 18px;}
    .archive-empty-state>span{font-size:44px;}
    .archive-empty-state h2{font-size:20px;}
    .archive-empty-state p{font-size:13px;}
}

/* FunOnline v4.22.1 — Ads placement UX polish */
.funonline-ad {
    overflow: hidden;
    box-sizing: border-box;
}

/* HEADER / NAVIGATION SECTION — selector: .funonline-ad-header */
.funonline-ad-header {
    max-width: 100%;
}

/* FOOTER SECTION — selector: .funonline-ad-footer */
.funonline-ad-footer {
    max-width: 100%;
}

/* GENERAL / SHARED STYLES — selector: .funonline-ad-before_content */
.funonline-ad-before_content {
    max-width: 100%;
}

/* GENERAL / SHARED STYLES — selector: .funonline-ad-after_content */
.funonline-ad-after_content {
    max-width: 100%;
}

.funonline-ad-sidebar {
    width: min(300px, 100%);
}

/* HOMEPAGE SECTION — selector: .home-mid-ad */
.home-mid-ad {
    min-width: 0;
    overflow: hidden;
}

/* INDIA SECTION — selector: .home-india-ad */
.home-india-ad {
    min-width: 0;
    overflow: hidden;
}

@media(max-width:620px){
    .funonline-ad-sidebar {
        width: min(300px, 100%);
    }
    .home-mid-ad {
        width: calc(100% - 20px);
    }
}

/* FunOnline v4.22.0 — Ads / Monetization UX */
.funonline-ad {
    width: 100%;
    margin: 18px auto;
    min-height: 0;
    text-align: center;
    clear: both;
}
.funonline-ad-header { margin: 12px auto 20px; }
.funonline-ad-before_content { margin: 0 auto 22px; }
.funonline-ad-after_content { margin: 24px auto 0; }
.funonline-ad-sidebar { margin: 0 auto 18px; }
.funonline-ad-footer { margin: 24px auto 18px; }

/* GENERAL / SHARED STYLES — selector: .funonline-ad > iframe */
.funonline-ad > iframe { max-width: 100%; box-sizing: border-box; }

/* GENERAL / SHARED STYLES — selector: .funonline-ad > img */
.funonline-ad > img { max-width: 100%; box-sizing: border-box; }

/* GENERAL / SHARED STYLES — selector: .funonline-ad > ins */
.funonline-ad > ins { max-width: 100%; box-sizing: border-box; }

/* GENERAL / SHARED STYLES — selector: .funonline-ad > div */
.funonline-ad > div { max-width: 100%; box-sizing: border-box; }

/* GENERAL / SHARED STYLES — selector: .funonline-ad iframe */
.funonline-ad iframe { max-width: 100%; box-sizing: border-box; }

/* GENERAL / SHARED STYLES — selector: .funonline-ad img */
.funonline-ad img { max-width: 100%; box-sizing: border-box; }

/* GENERAL / SHARED STYLES — selector: .funonline-ad ins */
.funonline-ad ins { max-width: 100%; box-sizing: border-box; }

@media(max-width:620px){
    .funonline-ad { margin-top: 14px; margin-bottom: 16px; }
    .funonline-ad-header { margin-top: 8px; margin-bottom: 16px; }
    .funonline-ad-before_content { margin-bottom: 18px; }
    .funonline-ad-after_content { margin-top: 20px; }
    .funonline-ad-footer { margin-top: 20px; }
}


/* FunOnline v5.1 — lightweight accessible page preloader */
.funonline-preloader{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;background:var(--body-bg,#f7f9fc);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .35s ease,visibility .35s ease}.funonline-preloader.is-active{opacity:1;visibility:visible;pointer-events:auto}.funonline-preloader.is-hidden{opacity:0;visibility:hidden;pointer-events:none}.funonline-loader-card{display:flex;flex-direction:column;align-items:center;gap:13px;padding:28px 34px;text-align:center}.funonline-loader-mark{width:58px;height:58px;border-radius:19px;display:grid;place-items:center;position:relative;background:linear-gradient(135deg,#4f46e5,#06b6d4);box-shadow:0 12px 35px rgba(79,70,229,.24);color:#fff;font-size:31px;font-weight:900;overflow:hidden}.funonline-loader-mark i{position:absolute;inset:-35%;border:2px solid rgba(255,255,255,.7);border-radius:50%;animation:funonline-loader-orbit 1.5s linear infinite}.funonline-loader-card>strong{font-size:23px;letter-spacing:-.5px;color:var(--heading-color,#172033)}.funonline-loader-card>strong span{color:#4f46e5}.funonline-loader-track{width:150px;height:4px;border-radius:10px;background:rgba(100,116,139,.18);overflow:hidden}.funonline-loader-track span{display:block;width:40%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4f46e5,#06b6d4);animation:funonline-loader-progress 1.1s ease-in-out infinite}.funonline-loader-card small{font-size:12px;color:var(--muted-color,#64748b)}@keyframes funonline-loader-orbit{to{transform:rotate(360deg)}}@keyframes funonline-loader-progress{0%{transform:translateX(-110%)}100%{transform:translateX(360%)}}.site-brand .custom-logo-link{display:inline-flex;align-items:center}.site-brand img.custom-logo{display:block;width:auto;max-width:190px;max-height:54px;object-fit:contain}.footer-brand img.custom-logo{max-width:170px;max-height:48px}@media(max-width:600px){.site-brand img.custom-logo{max-width:140px;max-height:42px}}@media(prefers-reduced-motion:reduce){
/* GENERAL / SHARED STYLES — selector: .funonline-preloader */
.funonline-preloader {animation:none!important;transition:none!important}

/* GENERAL / SHARED STYLES — selector: .funonline-loader-mark i */
.funonline-loader-mark i {animation:none!important;transition:none!important}

/* GENERAL / SHARED STYLES — selector: .funonline-loader-track span */
.funonline-loader-track span {animation:none!important;transition:none!important}
.funonline-loader-track span{width:100%}}


/* FunOnline v5.1.5 — Article archive cards, sort control and footer legal links */
.articles-page>.articles-category-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.articles-page>.articles-category-nav .articles-sort-form{margin-left:auto;flex:0 0 auto}
.articles-sort-form label{display:flex;align-items:center;gap:8px;white-space:nowrap}
.articles-sort-form label>span{font-size:11px;font-weight:800;color:var(--muted)}
.articles-sort-form select{min-height:36px;max-width:100%;padding:7px 30px 7px 10px;border:1px solid var(--border);border-radius:9px;background:var(--bg);color:var(--text);font:inherit;font-size:12px;font-weight:700}
.articles-sort-form select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(36,107,219,.12)}
.articles-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.article-archive-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:15px;box-shadow:var(--shadow);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.article-archive-card:hover{transform:translateY(-2px);border-color:rgba(36,107,219,.28);box-shadow:0 10px 28px rgba(15,23,42,.08)}
.article-archive-thumb{display:flex;align-items:center;justify-content:center;width:100%;height:180px;overflow:hidden;background:linear-gradient(135deg,#e8f1ff,#f8ecff);text-decoration:none}
.article-archive-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.article-archive-thumb span{font-size:42px}
.article-archive-card-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:15px;min-width:0}
.article-archive-category{display:inline-flex;max-width:100%;margin-bottom:8px;padding:4px 8px;border-radius:7px;background:var(--bg);color:var(--primary);font-size:10px;font-weight:800;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.article-archive-card-body h2{margin:0 0 8px;font-size:17px;line-height:1.35}
.article-archive-card-body h2 a{color:var(--text);text-decoration:none}
.article-archive-card-body h2 a:hover{color:var(--primary)}
.article-archive-excerpt{margin:0 0 12px;color:var(--muted);font-size:12px;line-height:1.6}
.article-archive-card-body .article-list-meta{margin-top:auto;margin-bottom:12px;gap:10px}
.article-archive-read{display:inline-flex;align-items:center;gap:7px;margin-top:auto;color:var(--primary);font-size:11px;font-weight:900;text-decoration:none}
.article-archive-read:hover{gap:10px}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.footer-legal-links{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap}
.footer-legal-links a{color:inherit;text-decoration:none;font-size:12px;font-weight:700}
.footer-legal-links a:hover{color:#fff;text-decoration:underline}
@media(max-width:900px){.articles-list{grid-template-columns:repeat(2,minmax(0,1fr))}.article-archive-thumb{height:155px}}
@media(max-width:620px){.articles-page>.articles-category-nav{align-items:stretch;flex-wrap:wrap}.articles-page>.articles-category-nav .articles-sort-form{width:100%;margin:4px 0 0}.articles-sort-form label{justify-content:space-between}.articles-sort-form select{flex:1;max-width:65%}.articles-list{grid-template-columns:1fr;gap:13px}.article-archive-card{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:stretch}.article-archive-thumb{height:100%;min-height:150px}.article-archive-card-body{padding:12px}.article-archive-card-body h2{font-size:14px;margin-bottom:6px}.article-archive-excerpt{font-size:11px;line-height:1.45;margin-bottom:8px}.article-archive-card-body .article-list-meta{font-size:9px;gap:7px;margin-bottom:8px}.article-archive-category{font-size:9px;margin-bottom:6px}.article-archive-read{font-size:10px}.footer-bottom{align-items:flex-start;flex-direction:column}.footer-legal-links{justify-content:flex-start;gap:15px}}
@media(prefers-reduced-motion:reduce){
/* ARTICLES SECTION — selector: .article-archive-card */
.article-archive-card {transition:none}

/* ARTICLES SECTION — selector: .article-archive-read */
.article-archive-read {transition:none}
}

/* ARTICLES SECTION — selector: .articles-list>.articles-pagination */
.articles-list>.articles-pagination {grid-column:1/-1;min-width:0}

/* ARTICLES SECTION — selector: .articles-list>.articles-popular-section */
.articles-list>.articles-popular-section {grid-column:1/-1;min-width:0}

/* ARTICLES SECTION — selector: .articles-list>.archive-info-about */
.articles-list>.archive-info-about {grid-column:1/-1;min-width:0}

/* ARTICLES SECTION — selector: .articles-list>.archive-info-faq */
.articles-list>.archive-info-faq {grid-column:1/-1;min-width:0}

/* ARTICLES SECTION — selector: .articles-list>.archive-info-section */
.articles-list>.archive-info-section {grid-column:1/-1;min-width:0}

/* ARTICLES SECTION — selector: .articles-list>.empty-state */
.articles-list>.empty-state {grid-column:1/-1;min-width:0}

.articles-list>.articles-pagination{width:100%}
.articles-list>.articles-popular-section{margin-top:20px}


/* FunOnline v5.1.6 — Transparent Articles archive main area, matching other archives */
.articles-page .articles-main-card{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.articles-page .articles-list{padding:0!important}
.articles-page .articles-pagination{margin-top:24px}


/* FunOnline v5.1.11 — self-hosted Inter font, homepage card count, and compact India Spotlight. */
@font-face{font-family:"Inter";src:url("../fonts/inter-regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Inter";src:url("../fonts/inter-medium.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:"Inter";src:url("../fonts/inter-semibold.woff2") format("woff2");font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:"Inter";src:url("../fonts/inter-bold.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}
:root{--fo-font-family:"Inter",Arial,Helvetica,sans-serif}

/* GENERAL / SHARED STYLES — selector: html */
html {font-family:var(--fo-font-family)}

/* GENERAL / SHARED STYLES — selector: body */
body {font-family:var(--fo-font-family)}

/* GENERAL / SHARED STYLES — selector: button */
button {font-family:var(--fo-font-family)}

/* GENERAL / SHARED STYLES — selector: input */
input {font-family:var(--fo-font-family)}

/* GENERAL / SHARED STYLES — selector: select */
select {font-family:var(--fo-font-family)}

/* GENERAL / SHARED STYLES — selector: textarea */
textarea {font-family:var(--fo-font-family)}


/* HOMEPAGE SECTION — selector: .home-section-title h2 */
.home-section-title h2 {font-family:var(--fo-font-family);font-weight:700;}

/* HOMEPAGE SECTION — selector: .home-content-card h3 */
.home-content-card h3 {font-family:var(--fo-font-family);font-weight:700}

/* HOMEPAGE SECTION — selector: .home-featured-article h3 */
.home-featured-article h3 {font-family:var(--fo-font-family);font-weight:800}

/* HOMEPAGE SECTION — selector: .home-latest-item h3 */
.home-latest-item h3 {font-family:var(--fo-font-family);font-weight:600}

/* HOMEPAGE SECTION — selector: .home-mini-card strong */
.home-mini-card strong {font-family:var(--fo-font-family);font-weight:700;font-weight:600;}

/* INDIA SECTION — selector: .home-india-copy h3 */
.home-india-copy h3 {font-family:var(--fo-font-family);font-weight:700}

.home-card-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.home-content-thumb{height:104px}
.home-content-card-body{padding:8px}
.home-content-card h3{font-size:12px;line-height:1.3;min-height:31px}
.home-card-link{margin-top:6px}
.home-india{padding-top:10px;padding-bottom:12px}
.home-india-layout{grid-template-columns:minmax(0,1fr) 300px;gap:12px;align-items:stretch}
.home-india-post{grid-template-columns:160px minmax(0,1fr);align-items:center;padding:7px}
.home-india-image{height:132px;min-height:0}
.home-india-copy{padding:6px 9px}
.home-india-copy h3{font-size:15px;margin:2px 0 4px}
.home-india-copy p{font-size:11px;line-height:1.4}
.home-india-meta-row{margin-top:14px;flex-wrap:wrap;gap:7px}
.home-india-ad{min-height:90px;align-self:center}
.home-india-ad .funonline-ad{margin:0;min-height:0}
.home-india-ad:empty{display:none!important}
.home-india-ad:empty:before{content:none!important}

/* HOMEPAGE SECTION — selector: .home-section-title .fa */
.home-section-title .fa {margin:0 4px 0 4px;}

/* HOMEPAGE SECTION — selector: .home-hero-eyebrow .fa */
.home-hero-eyebrow .fa {margin-right:4px}

/* HOMEPAGE SECTION — selector: .home-hero-benefits .fa */
.home-hero-benefits .fa {margin-right:4px}

/* HOMEPAGE SECTION — selector: .home-card-link .fa */
.home-card-link .fa {margin-right:4px}

/* HOMEPAGE SECTION — selector: .home-more-btn .fa */
.home-more-btn .fa {margin:0 4px 0}

.meta-icon{font-size:1em}
@media(max-width:1050px){.home-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-india-layout{grid-template-columns:minmax(0,1fr) 240px}.home-india-post{grid-template-columns:140px minmax(0,1fr)}}
@media(max-width:800px){.home-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-india-layout{grid-template-columns:1fr}.home-india-post{grid-template-columns:130px minmax(0,1fr)}.home-india-ad{max-height:none;min-height:90px}.home-india-ad .funonline-ad{max-height:none}}
@media(max-width:520px){.home-content-thumb{height:100px}.home-content-card h3{font-size:12px}.home-india-post{grid-template-columns:1fr}.home-india-image{height:130px}.home-india-ad{min-height:80px}.home-india-copy{padding:8px 5px}}


/* Fun Zone premium refresh v5.1.17 — Font Awesome icons, accessible controls, responsive result cards. */
.fun-app.interactive-app{position:relative;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:24px;box-shadow:0 18px 45px rgba(20,25,45,.08);padding:clamp(18px,3vw,30px)}
.fun-card-app{max-width:760px!important;width:100%;text-align:left!important;}
.fun-tool-heading{display:flex;align-items:center;gap:16px;margin:0 0 24px;text-align:left}
.fun-icon-tile{display:grid;place-items:center;flex:0 0 62px;width:62px;height:62px;border-radius:18px;background:linear-gradient(135deg,var(--primary),var(--secondary,var(--primary)));color:#fff;box-shadow:0 9px 22px rgba(50,70,180,.18);font-size:25px}
.fun-tool-heading h2{margin:0 0 5px!important;font-size:clamp(22px,3vw,29px)!important;line-height:1.2}
.fun-tool-heading p{margin:0!important;color:var(--muted);line-height:1.55}
.fun-controls{max-width:none!important;justify-content:stretch;text-align:left}

/* FUN SECTION — selector: .fun-controls label */
.fun-controls label {gap:8px;font-size:13px;font-weight:800;color:var(--text)}

/* FUN SECTION — selector: .fun-two-inputs label */
.fun-two-inputs label {gap:8px;font-size:13px;font-weight:800;color:var(--text)}


/* FUN SECTION — selector: .fun-controls label>span */
.fun-controls label>span {display:flex;align-items:center;gap:8px}

/* FUN SECTION — selector: .fun-two-inputs label>span */
.fun-two-inputs label>span {display:flex;align-items:center;gap:8px}


/* FUN SECTION — selector: .fun-controls label .fa */
.fun-controls label .fa {color:var(--primary)}

/* FUN SECTION — selector: .fun-two-inputs label .fa */
.fun-two-inputs label .fa {color:var(--primary)}


/* FUN SECTION — selector: .fun-select */
.fun-select {min-height:48px;border-radius:13px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* FUN SECTION — selector: .fun-input */
.fun-input {min-height:48px;border-radius:13px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* FUN SECTION — selector: .fun-two-inputs input */
.fun-two-inputs input {min-height:48px;border-radius:13px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}

.fun-input{display:block;min-height:108px;resize:vertical;margin:14px 0 18px}
.fun-options-label{display:block;text-align:left;font-weight:800;font-size:13px}
.fun-options-label:before{content:none!important;display:none!important}
.fun-options-label .fun-input{margin-top:0}
.fun-action-row{display:flex;justify-content:flex-start;gap:12px;margin:22px 0 0}
.fun-action-row .btn{width:auto;min-width:170px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 20px;border-radius:13px;font-weight:800;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.fun-action-row .fun-action{background:linear-gradient(135deg,var(--primary),var(--secondary,var(--primary)));border:0;color:#fff;box-shadow:0 8px 18px rgba(55,65,170,.18)}
.fun-action-row .btn:hover{transform:translateY(-2px);filter:brightness(1.04);box-shadow:0 12px 24px rgba(25,30,55,.14)}
.fun-action-row .btn:active{transform:translateY(0)}
.fun-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:13px!important}
.fun-result{margin:22px 0 0!important;padding:22px!important;border:1px solid var(--border);border-radius:18px!important;background:var(--bg);font-size:16px;line-height:1.65;text-align:left;overflow-wrap:anywhere}
.fun-result .fun-result-title{display:flex;align-items:center;gap:11px;margin-bottom:10px;font-size:clamp(20px,3vw,27px);font-weight:900;line-height:1.25}
.fun-result-title .fa{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:var(--surface);color:var(--primary);font-size:18px}
.fun-result>div:not(.fun-result-actions){padding:5px 0;color:var(--text)}
.fun-result-actions{justify-content:flex-start;margin-top:16px}
.fun-mini-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 13px!important;border-radius:11px!important;font-weight:800;transition:background .18s ease,transform .18s ease}
.fun-mini-action:hover{transform:translateY(-1px);background:var(--surface)}
.fun-disclaimer{display:block;margin-top:15px;color:var(--muted);font-size:12px}
.fun-disclaimer .fa{margin-right:5px}
.fun-card-app [hidden]{display:none!important}
@media(max-width:600px){.fun-app.interactive-app{padding:17px;border-radius:18px}.fun-tool-heading{align-items:flex-start;gap:12px;margin-bottom:20px}.fun-icon-tile{flex-basis:50px;width:50px;height:50px;border-radius:15px;font-size:21px}.fun-tool-heading h2{font-size:22px!important}.fun-action-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.fun-action-row .btn{min-width:0;width:100%;padding:11px 10px}.fun-result{padding:16px!important}.fun-result-actions{display:grid;grid-template-columns:1fr 1fr}.fun-result-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){
/* FUN SECTION — selector: .fun-action-row .btn */
.fun-action-row .btn {transition:none!important}

/* FUN SECTION — selector: .fun-mini-action */
.fun-mini-action {transition:none!important}

/* FUN SECTION — selector: .fun-select */
.fun-select {transition:none!important}

/* FUN SECTION — selector: .fun-input */
.fun-input {transition:none!important}

/* FUN SECTION — selector: .fun-two-inputs input */
.fun-two-inputs input {transition:none!important}
}

/* Fun Zone v5.1.18 — align single activity layout with Tools and Generators. */
.single-section-layout .fun-app.interactive-app{
    display:block;
    width:min(100%,760px)!important;
    max-width:760px!important;
    margin:0 auto!important;
    padding:clamp(20px,3vw,30px)!important;
    box-sizing:border-box;
    overflow:visible;
    border:1px solid var(--border);
    border-radius:24px;
    background:var(--surface);
    box-shadow:0 14px 38px rgba(28,45,80,.08);
}
.single-section-layout .fun-card-app{
    width:100%!important;
    max-width:680px!important;
    margin:0 auto!important;
    min-width:0;
}
.single-section-layout .fun-tool-heading{
    padding:0 0 18px;
    margin:0 0 22px;
    border-bottom:1px solid var(--border);
}

/* FUN SECTION — selector: .single-section-layout .fun-controls */
.single-section-layout .fun-controls {
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    margin:0 0 18px;
}

/* FUN SECTION — selector: .single-section-layout .fun-two-inputs */
.single-section-layout .fun-two-inputs {
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    margin:0 0 18px;
}

.single-section-layout .fun-two-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}

/* FUN SECTION — selector: .single-section-layout .fun-controls label */
.single-section-layout .fun-controls label {min-width:0;display:flex;flex-direction:column;gap:8px;line-height:1.4}

/* FUN SECTION — selector: .single-section-layout .fun-two-inputs label */
.single-section-layout .fun-two-inputs label {min-width:0;display:flex;flex-direction:column;gap:8px;line-height:1.4}


/* FUN SECTION — selector: .single-section-layout .fun-controls select */
.single-section-layout .fun-controls select {width:100%;max-width:100%;box-sizing:border-box}

/* FUN SECTION — selector: .single-section-layout .fun-two-inputs input */
.single-section-layout .fun-two-inputs input {width:100%;max-width:100%;box-sizing:border-box}

/* FUN SECTION — selector: .single-section-layout .fun-input */
.single-section-layout .fun-input {width:100%;max-width:100%;box-sizing:border-box}

.single-section-layout .fun-action-row{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:nowrap;margin:8px 0 0}
.single-section-layout .fun-action-row .btn{width:auto;min-width:0;flex:0 1 auto;min-height:46px;padding:12px 17px}
.single-section-layout .fun-action-row .fun-action{flex:0 0 auto}
.single-section-layout .fun-result{width:100%;box-sizing:border-box;background:linear-gradient(145deg,var(--bg),var(--surface));box-shadow:inset 0 1px rgba(255,255,255,.5),0 8px 22px rgba(28,45,80,.045)}
.single-section-layout .fun-about{
    width:min(100%,760px);
    max-width:760px;
    margin:24px auto 0!important;
    padding:22px 0 0!important;
    border:0!important;
    border-top:1px solid var(--border)!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
.single-section-layout .single-article-share{
    margin:22px auto 0!important;
    box-sizing:border-box;
}
.single-section-layout .fun-disclaimer{line-height:1.6}
@media(max-width:700px){
    .single-section-layout .fun-app.interactive-app{width:100%!important;padding:18px!important;border-radius:18px}
    .single-section-layout .fun-two-inputs{grid-template-columns:1fr}
    .single-section-layout .fun-action-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}
    .single-section-layout .fun-action-row .btn{width:100%;min-width:0;padding:11px 10px}
    .single-section-layout .fun-action-row .fun-action{grid-column:1/-1}
    .single-section-layout .fun-result{padding:16px!important}
}
@media(max-width:420px){
    .single-section-layout .fun-app.interactive-app{padding:15px!important}
    .single-section-layout .fun-action-row{grid-template-columns:1fr}
    .single-section-layout .fun-action-row .fun-action{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){
    .single-section-layout .fun-action-row .btn{transition:none!important}
}



/* FunOnline v5.1.19 — homepage category badges, footer social icons, More Quizzes */
.home-content-thumb{position:relative;isolation:isolate;}
.home-content-thumb-link{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.home-content-thumb-link img{display:block;width:100%;height:100%;object-fit:cover;}
.home-content-thumb-link>span{font-size:35px;}
.home-card-category-badge{position:absolute;z-index:2;top:7px;left:7px;display:inline-flex;align-items:center;max-width:calc(100% - 14px);padding:4px 7px;border-radius:7px;background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.65);box-shadow:0 2px 8px rgba(0,0,0,.12);color:#26344f;font-size:9px;font-weight:900;line-height:1.15;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.home-card-category-badge:hover{color:var(--primary);background:#fff;}
.footer-social-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px;}

.footer-social-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);text-decoration:none;font-size:12px;font-weight:800;transition:transform .15s ease,background .15s ease,color .15s ease;}
.footer-social-link i{font-size:16px;line-height:1;}
.footer-social-link:hover{transform:translateY(-2px);background:var(--primary);color:#fff;}
.related-quizzes .section-head h2 .fa{margin-right:5px;color:var(--primary);}
.related-quiz-compact .related-game-image>span{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:28px;color:var(--primary);background:linear-gradient(135deg,#eef5ff,#fbf0ff);}
@media(max-width:650px){.home-card-category-badge{top:5px;left:5px;padding:3px 6px;font-size:8px;}.footer-social-links{gap:7px}.footer-social-link{min-height:35px;padding:7px 9px;font-size:11px;}}


/* Tags shown on single Game, Quiz and India content pages */
.funonline-content-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 22px;padding:0;font-size:13px;line-height:1.5}
.funonline-content-tags-label{font-weight:700;color:var(--text)}
.funonline-content-tags-list{display:flex;flex-wrap:wrap;gap:7px}
.funonline-content-tag{display:inline-flex;align-items:center;padding:5px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);text-decoration:none;transition:background .2s ease,border-color .2s ease,color .2s ease}
.funonline-content-tag:hover{border-color:var(--primary);color:var(--primary);text-decoration:none}

/* FunOnline v5.1.27 — Account dashboard layout refinement */
.account-page{width:min(100% - 40px,1240px)!important;padding-top:28px;padding-bottom:56px}
.account-dashboard{display:flex;flex-direction:column;gap:0}
.account-dashboard-hero{min-height:0;padding:28px 32px;margin-bottom:20px;border-radius:22px}
.account-dashboard-hero .account-head{display:flex;justify-content:space-between;gap:24px;width:100%}
.account-dashboard-hero .account-head>div{min-width:0}
.account-quick-actions{margin-bottom:34px;gap:16px}
.account-quick-action{min-height:100px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px}
.account-section-label{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;margin:0 0 14px;padding:0}
.account-section-label h2{font-size:23px;line-height:1.25;margin:0}
.account-section-label-spaced{margin-top:34px}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-progress-grid */
.account-progress-grid {display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:stretch;gap:20px;margin-top:0}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-dashboard .account-grid */
.account-dashboard .account-grid {display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:stretch;gap:20px;margin-top:0}

.account-dashboard .account-card{min-width:0;padding:26px;border-radius:20px}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-dashboard .account-progress-grid>section */
.account-dashboard .account-progress-grid>section {min-height:0!important;height:100%;box-sizing:border-box}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-progress-extra .account-card */
.account-progress-extra .account-card {min-height:0!important;height:100%;box-sizing:border-box}

.account-score-card{display:flex;flex-direction:column;justify-content:flex-start}
.account-progress-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.account-progress-stats span{min-width:0;padding:13px}
.achievement-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:10px}
.achievement-badge{min-width:0;display:flex;align-items:center;gap:10px}
.achievement-badge>div{min-width:0}

/* GENERAL / SHARED STYLES — selector: .achievement-badge strong */
.achievement-badge strong {overflow-wrap:anywhere}

/* GENERAL / SHARED STYLES — selector: .achievement-badge small */
.achievement-badge small {overflow-wrap:anywhere}

.account-progress-extra{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}
.account-progress-extra .account-card{display:flex;flex-direction:column}
.progress-stat-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important}
.progress-stat-row span{min-width:0;min-height:76px;padding:13px!important;align-items:flex-start!important;justify-content:center!important}
.progress-stat-row strong{font-size:clamp(18px,2vw,23px)!important;overflow-wrap:anywhere}
.achievement-progress{margin-top:22px!important}
.continue-card{flex:1;min-height:150px!important;padding:22px!important;justify-content:center;gap:8px!important}
.continue-card strong{font-size:18px!important;overflow-wrap:anywhere}
.account-wide-card{margin-top:20px!important}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-notifications */
.account-notifications {padding:26px!important}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-profile-card */
.account-profile-card {padding:26px!important}


/* ACCOUNT / DASHBOARD SECTION — selector: .account-notifications .account-modern-head */
.account-notifications .account-modern-head {display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--border)}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-profile-card .account-modern-head */
.account-profile-card .account-modern-head {display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--border)}

.account-notifications .notification-list{grid-template-columns:1fr!important;gap:10px!important}
.account-notifications .notification-item{min-height:0!important;grid-template-columns:44px minmax(0,1fr)!important;padding:15px!important;gap:13px!important}
.account-notifications .notification-title-row{align-items:flex-start;flex-wrap:wrap}
.account-notifications .notification-body{min-width:0}
.account-profile-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.account-profile-fields label{min-width:0;box-sizing:border-box;padding:15px!important;display:flex;flex-direction:column}
.account-profile-fields input{width:100%;min-width:0;box-sizing:border-box}
.account-profile-fields small{line-height:1.45}
.account-profile-actions{margin-top:18px!important}
.dark-mode .account-dashboard .account-card{background:var(--surface)}
.dark-mode .account-dashboard .account-progress-grid>section:nth-child(2){background:var(--surface)}
@media(max-width:900px){
 .account-page{width:min(100% - 32px,1240px)!important}
 
/* ACCOUNT / DASHBOARD SECTION — selector: .account-progress-grid */
.account-progress-grid {grid-template-columns:repeat(2,minmax(0,1fr))}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-dashboard .account-grid */
.account-dashboard .account-grid {grid-template-columns:repeat(2,minmax(0,1fr))}

 .account-dashboard .account-card{padding:22px}
 .account-profile-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .account-notifications .notification-list{grid-template-columns:1fr!important}
}
@media(max-width:700px){
 .account-page{width:min(100% - 24px,1240px)!important;padding-top:16px;padding-bottom:32px}
 .account-dashboard-hero{padding:20px!important;border-radius:18px}
 .account-dashboard-hero .account-head{align-items:center;gap:12px}
 .account-dashboard-hero .account-head>div{grid-template-columns:auto minmax(0,1fr);column-gap:10px}
 .account-dashboard-hero .archive-icon{width:44px;height:44px;font-size:21px}
 .account-dashboard-hero .account-head h1{font-size:27px}
 .account-dashboard-hero .account-head p{font-size:12px}
 .account-logout-btn{min-width:0!important;padding:10px 12px!important}
 .account-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:26px}
 .account-quick-action{min-height:92px;padding:12px 10px;gap:4px}
 .account-quick-action span{font-size:19px}
 .account-quick-action strong{font-size:12px}
 .account-quick-action small{font-size:10px;line-height:1.35}
 .account-section-label-spaced{margin-top:28px}
 .account-section-label h2{font-size:20px}
 
/* ACCOUNT / DASHBOARD SECTION — selector: .account-progress-grid */
.account-progress-grid {grid-template-columns:1fr!important;gap:14px!important}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-dashboard .account-grid */
.account-dashboard .account-grid {grid-template-columns:1fr!important;gap:14px!important}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-progress-extra */
.account-progress-extra {grid-template-columns:1fr!important;gap:14px!important}

 
/* ACCOUNT / DASHBOARD SECTION — selector: .account-dashboard .account-card */
.account-dashboard .account-card {padding:19px!important}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-notifications */
.account-notifications {padding:19px!important}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-profile-card */
.account-profile-card {padding:19px!important}

 .account-progress-stats span{padding:10px 8px;font-size:10px}
 .account-progress-stats strong{font-size:17px}
 .achievement-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .progress-stat-row span{min-height:68px;padding:11px 9px!important}
 .progress-stat-row strong{font-size:19px!important}
 .continue-card{min-height:125px!important}
 
/* ACCOUNT / DASHBOARD SECTION — selector: .account-notifications .account-modern-head */
.account-notifications .account-modern-head {align-items:flex-start;flex-direction:column}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-profile-card .account-modern-head */
.account-profile-card .account-modern-head {align-items:flex-start;flex-direction:column}

 .account-notifications .account-modern-head .content-action{width:auto}
 .account-profile-fields{grid-template-columns:1fr!important}
 .account-profile-fields label{padding:13px!important}
 .account-profile-actions .content-action{width:100%}
}
@media(max-width:380px){
 .account-quick-actions{grid-template-columns:1fr}
 .account-quick-action{min-height:0;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;column-gap:8px}
 .account-quick-action span{grid-row:1 / span 2}
 .account-quick-action small{grid-column:2}
 .account-progress-stats{gap:6px}
 .account-progress-stats span{font-size:9px}
 .achievement-list{grid-template-columns:1fr}
}


/* FunOnline v5.1.28 — account dashboard layout conflict fix.
   Keep the dashboard in normal vertical flow; only the intended content groups use grids. */
.account-page{width:min(100% - 40px,1240px)!important;max-width:1240px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;}
.account-dashboard{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%;min-width:0;box-sizing:border-box;}
.account-dashboard>*{min-width:0;max-width:100%;box-sizing:border-box;}
.account-dashboard-hero{width:100%;margin:0 0 20px!important;padding:26px 30px!important;}
.account-dashboard-hero .account-head{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;margin:0!important;}
.account-dashboard-hero .account-head>div{display:block!important;min-width:0;}
.account-dashboard-hero .account-head h1{font-size:clamp(27px,3vw,36px)!important;line-height:1.15!important;margin:4px 0!important;letter-spacing:-.025em;}
.account-dashboard-hero .account-head p{margin:0!important;line-height:1.5!important;}
.account-quick-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;width:100%;margin:0 0 28px!important;}
.account-quick-action{min-width:0;min-height:92px!important;padding:17px 18px!important;box-sizing:border-box;}
.account-section-label{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;width:100%;margin:0 0 14px!important;}
.account-section-label>span{flex:0 0 auto;}
.account-section-label h2{margin:0!important;font-size:22px!important;line-height:1.3!important;text-align:right;}
.account-section-label-spaced{margin-top:30px!important;}
.account-progress-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:stretch!important;gap:18px!important;width:100%;margin:0!important;}
.account-dashboard .account-card{width:100%;max-width:none!important;min-width:0;box-sizing:border-box;padding:24px!important;border-radius:18px!important;margin:0!important;}
.account-dashboard .account-progress-grid>.account-card{height:auto!important;min-height:240px;}
.account-dashboard .account-card h2{font-size:20px!important;line-height:1.35!important;letter-spacing:0!important;margin:0 0 16px!important;overflow-wrap:break-word;}
.account-dashboard .account-score-card h2{font-size:16px!important;margin:8px 0 10px!important;}
.account-points{font-size:clamp(42px,4vw,56px)!important;line-height:1.08!important;letter-spacing:-.035em;margin:4px 0 16px!important;}
.account-progress-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;}
.account-progress-stats span{min-width:0;padding:11px!important;line-height:1.4;overflow-wrap:anywhere;}
.account-progress-stats strong{font-size:18px!important;line-height:1.2;}
.achievement-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;}
.achievement-badge{min-width:0;padding:11px!important;gap:10px!important;border-radius:12px!important;}
.achievement-badge>span{flex:0 0 34px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;font-size:21px!important;border-radius:10px;background:var(--bg,#f5f7fb);}
.achievement-badge strong{font-size:13px!important;line-height:1.35!important;display:block;}
.achievement-badge small{font-size:11px!important;line-height:1.45!important;display:block;margin-top:3px;}
.account-grid.account-progress-extra{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:stretch!important;gap:18px!important;width:100%;margin:0!important;}
.account-progress-extra .account-card{height:auto!important;min-height:250px;}
.progress-stat-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;}
.progress-stat-row span{min-width:0;padding:12px!important;min-height:72px;}
.progress-stat-row strong{font-size:clamp(17px,2vw,23px)!important;line-height:1.25!important;}
.progress-stat-row small{font-size:11px!important;line-height:1.4!important;}
.continue-card{width:100%;min-height:160px!important;box-sizing:border-box;padding:22px!important;justify-content:center;overflow-wrap:anywhere;}
.account-dashboard .account-wide-card{display:block!important;width:100%!important;max-width:none!important;margin:20px 0 0!important;}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-notifications .account-modern-head */
.account-notifications .account-modern-head {display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--border);}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-profile-card .account-modern-head */
.account-profile-card .account-modern-head {display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--border);}

.account-dashboard .account-card-eyebrow{display:block;font-size:11px;line-height:1.4;letter-spacing:.08em;font-weight:800;margin-bottom:5px;}
.account-dashboard .account-section-note{font-size:13px!important;line-height:1.55!important;margin:5px 0 0!important;max-width:680px;}
.account-notifications .notification-empty{margin:0!important;padding:20px!important;text-align:center;line-height:1.55;border:1px dashed var(--border);border-radius:12px;}
.account-profile-fields{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}
.account-profile-fields label{min-width:0!important;display:flex!important;flex-direction:column!important;gap:7px!important;padding:14px!important;border-radius:13px;line-height:1.4;box-sizing:border-box;}
.account-profile-fields input{display:block;width:100%!important;min-width:0!important;max-width:100%;box-sizing:border-box;font-family:inherit;font-size:14px!important;}
.account-profile-fields small{font-size:11px!important;line-height:1.5!important;}
.account-profile-actions{display:flex!important;justify-content:flex-end!important;margin-top:18px!important;}
.account-dashboard .content-action{font-family:inherit;line-height:1.25;}
@media(max-width:900px){
 .account-page{width:min(100% - 32px,1240px)!important;}
 .account-dashboard .account-card{padding:20px!important;}
 
/* ACCOUNT / DASHBOARD SECTION — selector: .account-progress-grid */
.account-progress-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-grid.account-progress-extra */
.account-grid.account-progress-extra {grid-template-columns:repeat(2,minmax(0,1fr))!important;}

 .account-profile-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:650px){
 .account-page{width:calc(100% - 24px)!important;padding-top:16px;padding-bottom:30px;}
 .account-dashboard-hero{padding:18px!important;}
 .account-dashboard-hero .account-head{align-items:center!important;gap:12px!important;}
 .account-dashboard-hero .account-head h1{font-size:26px!important;}
 .account-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-bottom:22px!important;}
 .account-quick-action{min-height:86px!important;padding:11px 9px!important;}
 .account-quick-action strong{font-size:12px!important;line-height:1.3;}
 .account-quick-action small{font-size:10px!important;line-height:1.35;}
 .account-section-label{align-items:flex-start!important;flex-direction:column!important;gap:5px!important;}
 .account-section-label h2{text-align:left;font-size:19px!important;}
 
/* ACCOUNT / DASHBOARD SECTION — selector: .account-progress-grid */
.account-progress-grid {grid-template-columns:minmax(0,1fr)!important;gap:14px!important;}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-grid.account-progress-extra */
.account-grid.account-progress-extra {grid-template-columns:minmax(0,1fr)!important;gap:14px!important;}

 .account-dashboard .account-card{padding:18px!important;}
 
/* ACCOUNT / DASHBOARD SECTION — selector: .account-dashboard .account-progress-grid>.account-card */
.account-dashboard .account-progress-grid>.account-card {min-height:0;}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-progress-extra .account-card */
.account-progress-extra .account-card {min-height:0;}

 .achievement-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 .progress-stat-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
 .account-profile-fields{grid-template-columns:minmax(0,1fr)!important;}
 
/* ACCOUNT / DASHBOARD SECTION — selector: .account-notifications .account-modern-head */
.account-notifications .account-modern-head {flex-direction:column!important;align-items:flex-start!important;}

/* ACCOUNT / DASHBOARD SECTION — selector: .account-profile-card .account-modern-head */
.account-profile-card .account-modern-head {flex-direction:column!important;align-items:flex-start!important;}

 .account-notifications .account-modern-head .content-action{width:auto;}
 .account-profile-actions .content-action{width:100%;}
}
@media(max-width:380px){
 .account-dashboard-hero .account-head{align-items:flex-start!important;}
 .account-dashboard-hero .account-head h1{font-size:23px!important;}
 .account-logout-btn{padding:9px 10px!important;font-size:12px!important;}
 .account-quick-actions{grid-template-columns:minmax(0,1fr)!important;}
 .account-quick-action{display:grid!important;grid-template-columns:28px minmax(0,1fr);align-items:center;min-height:0!important;}
 .account-quick-action span{grid-row:1 / span 2;}
 .account-quick-action small{grid-column:2;}
 .account-progress-stats span{padding:8px 6px!important;font-size:10px!important;}
 .achievement-list{grid-template-columns:minmax(0,1fr)!important;}
}

.daily-fun-card-icon-title {display:flex;gap:4px;align-items:center;margin-bottom:4px}
.dfcit-c1, .dfcit-c1 .span {color:rgb(53 37 205)}
.dfcit-c2, .dfcit-c2 .span {color:rgb(0 104 122)}
.dfcit-c3, .dfcit-c2 .span {color:rgb(87 26 192)}
.dark-mode .dfcit-c1, .dark-mode .dfcit-c1 .span {color:var(--primary)}
.dark-mode .dfcit-c2, .dark-mode .dfcit-c2 .span {color:var(--primary)}
.dark-mode .dfcit-c3, .dark-mode .dfcit-c2 .span {color:var(--primary)}


