/* EducTools Game Studio Kids Theme v4.11.0 */
:root{
  --kids-purple:#7b4dff;
  --kids-purple-dark:#5a33d4;
  --kids-purple-soft:#f1eaff;
  --kids-pink:#ff6fa6;
  --kids-pink-soft:#fff0f6;
  --kids-blue:#4aa8ff;
  --kids-blue-soft:#eaf6ff;
  --kids-green:#47c99a;
  --kids-green-soft:#eafbf5;
  --kids-yellow:#ffd052;
  --kids-yellow-soft:#fff8dc;
  --kids-orange:#ff8a5b;
  --kids-ink:#31254d;
  --kids-muted:#736987;
  --kids-line:#eadff5;
  --kids-shadow:0 18px 48px rgba(96,61,164,.13);
  --kids-shadow-soft:0 10px 28px rgba(96,61,164,.09);
  --radius:24px;
  --container:1380px;
}
html{background:#fff}
body.egs-kids-theme{
  background:
    radial-gradient(circle at 10% 12%,rgba(255,208,82,.14),transparent 22rem),
    radial-gradient(circle at 92% 18%,rgba(123,77,255,.10),transparent 26rem),
    #fff;
  color:var(--kids-ink);
  font-family:"Noto Sans Thai","Prompt",Tahoma,sans-serif;
  font-size:16px;
}
body.egs-kids-theme h1,
body.egs-kids-theme h2,
body.egs-kids-theme h3,
body.egs-kids-theme .kids-display,
body.egs-kids-theme .brand-wordmark{
  font-family:"Mali","Noto Sans Thai",sans-serif;
  letter-spacing:-.02em;
}
body.egs-kids-theme main{min-height:60vh}
body.egs-kids-theme .container{width:min(calc(100% - 36px),var(--container))}
body.egs-kids-theme .section{padding:66px 0}
body.egs-kids-theme .section.alt{background:linear-gradient(180deg,#fff,#faf7ff 42%,#fff)}
body.egs-kids-theme .eyebrow{
  margin-bottom:10px;
  padding:7px 13px;
  border-radius:999px;
  background:var(--kids-purple-soft);
  color:var(--kids-purple);
  font-size:.76rem;
  letter-spacing:.08em;
}

/* Header and brand */
body.egs-kids-theme .site-header{
  position:sticky;
  z-index:1000;
  top:0;
  border:0;
  border-bottom:1px solid rgba(226,214,241,.8);
  background:rgba(255,255,255,.92);
  box-shadow:0 6px 24px rgba(74,45,125,.06);
  backdrop-filter:blur(18px);
}
body.egs-kids-theme .nav-wrap{min-height:82px;gap:20px}
body.egs-kids-theme .brand{
  flex:0 0 auto;
  gap:11px;
  padding:5px 8px 5px 4px;
}
body.egs-kids-theme .brand:hover{transform:translateY(-1px)}
.kids-brand-mark{width:48px;height:48px;flex:none;filter:drop-shadow(0 8px 10px rgba(123,77,255,.18))}
.brand-copy{display:flex;flex-direction:column;line-height:1}
.brand-wordmark{display:flex;align-items:center;gap:0;font-size:1.34rem;font-weight:800;letter-spacing:.02em}
.brand-wordmark span:nth-child(1){color:#64bb3f}.brand-wordmark span:nth-child(2){color:#26b9d9}.brand-wordmark span:nth-child(3){color:#6d72f2}.brand-wordmark span:nth-child(4){color:#9a5cff}.brand-wordmark span:nth-child(5){color:#d55acb}.brand-wordmark span:nth-child(6){color:#ff6693}.brand-wordmark span:nth-child(7){color:#ff8a5b}.brand-wordmark span:nth-child(8){color:#f2b72e}.brand-wordmark span:nth-child(9){color:#54c790}
.brand-tagline{margin-top:5px;color:#746887;font-family:"Noto Sans Thai",sans-serif;font-size:.68rem;font-weight:700;letter-spacing:.03em}
body.egs-kids-theme .site-nav{
  display:flex;
  align-items:center;
  gap:5px;
  padding:7px;
  border:1px solid #e8def4;
  border-radius:22px;
  background:#fff;
  box-shadow:0 8px 24px rgba(97,62,157,.06);
}
body.egs-kids-theme .site-nav>a:not(.btn){
  display:inline-flex;
  min-height:45px;
  align-items:center;
  gap:8px;
  padding:9px 13px;
  border-radius:15px;
  color:#544a68;
  font-weight:750;
  white-space:nowrap;
}
body.egs-kids-theme .site-nav>a:not(.btn):hover,
body.egs-kids-theme .site-nav>a.is-active:not(.btn){background:var(--kids-purple-soft);color:var(--kids-purple)}
.kids-nav-icon{display:grid;width:25px;height:25px;place-items:center;border-radius:8px;background:#f6f2ff;color:var(--kids-purple)}
.kids-nav-icon svg,.kids-button-icon svg,.kids-chip-icon svg,.kids-teacher-link-icon svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
body.egs-kids-theme .nav-user{display:none}
.kids-profile-chip{display:flex;align-items:center;gap:10px;padding:5px 8px 5px 5px;border:1px solid #eadff5;border-radius:18px;background:#fff}
.kids-profile-avatar{display:grid;width:36px;height:36px;place-items:center;border-radius:12px;background:linear-gradient(135deg,#ffb7d1,#ffd9a6);color:#6b3560;font-weight:900}
.kids-profile-copy{display:flex;max-width:120px;flex-direction:column;line-height:1.15}
.kids-profile-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.83rem}.kids-profile-copy small{margin-top:3px;color:var(--kids-muted);font-size:.68rem}
body.egs-kids-theme .nav-toggle{width:44px;height:44px;border:1px solid #e8def4;border-radius:14px;background:#fff;color:var(--kids-purple)}

/* Buttons */
body.egs-kids-theme .btn{border-radius:15px;font-weight:800;box-shadow:none}
body.egs-kids-theme .btn-primary{border-color:transparent;background:linear-gradient(135deg,#8b55ff,#6c43e8);box-shadow:0 10px 22px rgba(108,67,232,.22)}
body.egs-kids-theme .btn-primary:hover{background:linear-gradient(135deg,#7543ee,#5932d0);box-shadow:0 13px 27px rgba(108,67,232,.28)}
body.egs-kids-theme .btn-outline{border-color:#d9c9ed;background:#fff;color:#5f4b76}
body.egs-kids-theme .btn-outline:hover{border-color:var(--kids-purple);background:#faf7ff;color:var(--kids-purple)}
.kids-button-icon{display:grid;width:24px;height:24px;place-items:center;border-radius:8px;background:rgba(255,255,255,.18)}
body.egs-kids-theme .btn-outline .kids-button-icon{background:var(--kids-purple-soft)}

/* Home hero */
.kids-hero{
  position:relative;
  overflow:hidden;
  padding:34px 0 58px;
  background:
    radial-gradient(circle at 15% 22%,rgba(255,255,255,.88),transparent 16rem),
    radial-gradient(circle at 84% 20%,rgba(255,255,255,.72),transparent 18rem),
    linear-gradient(180deg,#f6eaff 0%,#f9efff 50%,#fff5fa 100%);
}
.kids-hero:before,.kids-hero:after{position:absolute;border-radius:50%;content:"";pointer-events:none}
.kids-hero:before{width:310px;height:310px;left:-130px;top:-90px;background:rgba(255,255,255,.42)}
.kids-hero:after{width:260px;height:260px;right:-90px;bottom:-120px;background:rgba(116,211,255,.18)}
.kids-hero-scene{position:relative;z-index:1}
.kids-hero-visual{display:block;width:100%;max-height:510px;object-fit:contain;filter:drop-shadow(0 22px 32px rgba(103,64,167,.12))}
.kids-hero-copy{
  position:absolute;
  z-index:4;
  top:50%;
  left:50%;
  width:min(600px,46vw);
  padding:22px 26px;
  transform:translate(-50%,-50%);
  text-align:center;
}
.kids-hero-copy h1{margin:0;color:#6d40df;font-size:clamp(2.8rem,5.2vw,5.5rem);font-weight:900;line-height:1.02;text-shadow:0 5px 0 #fff,0 12px 22px rgba(102,66,176,.13)}
.kids-hero-copy h1 span{display:block;margin-top:12px;color:#584d6b;font-family:"Noto Sans Thai",sans-serif;font-size:clamp(1.05rem,1.6vw,1.45rem);font-weight:700;letter-spacing:0;text-shadow:none}
.kids-hero-copy p{max-width:560px;margin:14px auto 0;color:#6c607d;font-size:1rem;font-weight:600}
.kids-hero-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:22px}
.kids-hero-actions .btn{min-width:190px}
.kids-hero-note{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:17px;color:#665878;font-size:.82rem;font-weight:700}
.kids-hero-note span{display:inline-flex;align-items:center;gap:5px}.kids-hero-note i{display:grid;width:20px;height:20px;place-items:center;border-radius:50%;background:#fff;color:var(--kids-green);font-style:normal;box-shadow:0 4px 10px rgba(83,65,120,.1)}
.kids-cloud-divider{position:absolute;z-index:3;right:0;bottom:-1px;left:0;width:100%;height:70px}

/* Category toolbar */
.kids-category-shell{position:relative;z-index:5;margin-top:-24px}
.kids-category-bar{display:flex;align-items:center;gap:10px;padding:14px 18px;border:1px solid #eadff5;border-radius:28px;background:rgba(255,255,255,.96);box-shadow:var(--kids-shadow)}
.kids-category-list{display:flex;min-width:0;flex:1;gap:9px;overflow-x:auto;padding:2px;scrollbar-width:none}.kids-category-list::-webkit-scrollbar{display:none}
.kids-category-chip{display:inline-flex;min-height:44px;flex:none;align-items:center;gap:8px;padding:8px 15px;border:1px solid transparent;border-radius:999px;font-weight:800;white-space:nowrap;transition:.18s}
.kids-category-chip:hover{transform:translateY(-1px)}
.kids-category-chip.is-active{background:linear-gradient(135deg,#8b55ff,#6c43e8);color:#fff;box-shadow:0 8px 18px rgba(108,67,232,.2)}
.kids-category-chip.k-purple{background:#f0e8ff;color:#7044da}.kids-category-chip.k-orange{background:#fff0e3;color:#d36a31}.kids-category-chip.k-yellow{background:#fff8d9;color:#a67705}.kids-category-chip.k-blue{background:#e8f5ff;color:#347dc4}.kids-category-chip.k-green{background:#e9faf3;color:#258c69}.kids-category-chip.k-pink{background:#ffeaf3;color:#d54d83}.kids-category-chip.k-cyan{background:#e8fbff;color:#218ba7}
.kids-category-chip.is-active .kids-chip-icon{background:rgba(255,255,255,.2)}
.kids-chip-icon{display:grid;width:25px;height:25px;place-items:center;border-radius:8px;background:rgba(255,255,255,.64)}
.kids-category-search{position:relative;flex:0 0 min(270px,30vw)}
.kids-category-search svg{position:absolute;top:50%;left:15px;width:18px;height:18px;transform:translateY(-50%);stroke:#887b9c;fill:none;stroke-width:2}
.kids-category-search input{width:100%;height:44px;padding:9px 16px 9px 43px;border:1px solid #e4d9f1;border-radius:999px;background:#fff;color:var(--kids-ink);outline:0}.kids-category-search input:focus{border-color:#a982ff;box-shadow:0 0 0 4px rgba(123,77,255,.1)}

/* Section headings */
body.egs-kids-theme .section-head{align-items:center;margin-bottom:25px}
body.egs-kids-theme .section-head h2{color:#403452;font-size:clamp(1.85rem,3.2vw,2.75rem);font-weight:900}
body.egs-kids-theme .section-head p{color:var(--kids-muted)}
.kids-section-title{display:flex;align-items:center;gap:12px}.kids-section-title-icon{display:grid;width:45px;height:45px;place-items:center;border-radius:15px;background:var(--kids-purple-soft);color:var(--kids-purple);font-size:1.35rem}
.kids-section-title-icon.yellow{background:var(--kids-yellow-soft);color:#c89016}.kids-section-title-icon.pink{background:var(--kids-pink-soft);color:var(--kids-pink)}

/* Template cards */
body.egs-kids-theme .template-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.egs-kids-theme .template-card{overflow:hidden;border:1px solid #e7daf3;border-radius:22px;background:#fff;box-shadow:var(--kids-shadow-soft)}
body.egs-kids-theme .template-card:hover{transform:translateY(-5px);border-color:#c9b3eb;box-shadow:var(--kids-shadow)}
body.egs-kids-theme .template-card-visual .template-preview{aspect-ratio:720/440;border-bottom:1px solid #eee5f7;background:#fbf9ff}
body.egs-kids-theme .template-card-visual .template-preview>img{object-fit:cover}
body.egs-kids-theme .template-icon-badge{left:12px;bottom:12px;width:42px;height:42px;border-radius:13px;font-size:1.3rem}
body.egs-kids-theme .template-content{padding:16px 17px 17px}
body.egs-kids-theme .template-content h3{margin:10px 0 4px;color:#3f3451;font-size:1.05rem;font-weight:900}
body.egs-kids-theme .template-content p{min-height:43px;margin-bottom:13px;color:#7a6f89;font-size:.82rem;line-height:1.55}
body.egs-kids-theme .kids-template-library{scroll-margin-top:92px;background:linear-gradient(180deg,#fff 0%,#fbf8ff 100%)}
body.egs-kids-theme .kids-template-library .section-head>div>p{max-width:720px;margin:8px 0 0;color:#746a82}
body.egs-kids-theme .home-template-grid .template-card{display:flex;min-width:0;flex-direction:column}
body.egs-kids-theme .home-template-grid .template-content{display:flex;flex:1;flex-direction:column}
body.egs-kids-theme .home-template-grid .template-content .btn{margin-top:auto}
body.egs-kids-theme .card-top small{color:#8b8099;font-size:.72rem}
body.egs-kids-theme .badge{border-radius:999px;font-size:.66rem}.badge-free{background:#eafbf3!important;color:#228660!important}.badge-pro{background:#f0e8ff!important;color:#7044da!important}
.kids-use-template{width:100%;min-height:38px;border-radius:999px!important;background:linear-gradient(135deg,#ff82b1,#ff5d98)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 8px 18px rgba(255,93,152,.2)!important}

/* Public games */
.kids-home-content{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.65fr);gap:22px;align-items:start}
.kids-game-showcase,.kids-teacher-panel{padding:20px;border:1px solid #e6d8f2;border-radius:27px;background:#fff;box-shadow:var(--kids-shadow-soft)}
body.egs-kids-theme .public-game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.egs-kids-theme .public-game-card{overflow:hidden;border:1px solid #e5d8f1;border-radius:21px;background:#fff;box-shadow:0 9px 24px rgba(92,59,146,.08);transition:.2s}
body.egs-kids-theme .public-game-card:hover{transform:translateY(-4px);box-shadow:var(--kids-shadow)}
body.egs-kids-theme .public-game-cover{height:auto;aspect-ratio:16/9;background:#f4efff}
body.egs-kids-theme .public-game-cover img{width:100%;height:100%;object-fit:cover}
body.egs-kids-theme .public-game-play{right:10px;bottom:10px;padding:6px 11px;border-radius:999px;background:rgba(112,68,218,.93);font-size:.73rem}
body.egs-kids-theme .public-game-content{padding:14px}
body.egs-kids-theme .public-game-content h3{margin:8px 0 4px;font-size:1rem;line-height:1.45}
body.egs-kids-theme .public-game-content p{min-height:38px;margin:0 0 9px;color:#786d88;font-size:.78rem;line-height:1.5}
body.egs-kids-theme .public-game-meta small{font-size:.69rem}
body.egs-kids-theme .public-game-tags{gap:5px}.public-game-tags span{padding:4px 7px;border-radius:999px;background:#f8f5fc;font-size:.68rem}
body.egs-kids-theme .public-game-footer{margin-top:10px}.public-game-footer small{max-width:62%;font-size:.66rem}
body.egs-kids-theme .public-game-footer .btn{border-radius:999px}
.kids-popular-ribbon{position:absolute;z-index:3;top:10px;left:10px;padding:5px 9px;border-radius:999px;background:#ff5e66;color:#fff;font-size:.68rem;font-weight:900;box-shadow:0 7px 15px rgba(255,94,102,.25)}

/* Teacher panel */
.kids-teacher-panel{position:relative;overflow:hidden;background:linear-gradient(155deg,#fff8fc,#f6f0ff)}
.kids-teacher-panel:before{position:absolute;width:180px;height:180px;right:-65px;top:-60px;border-radius:50%;background:rgba(123,77,255,.08);content:""}
.kids-teacher-heading{display:flex;align-items:center;gap:9px;margin-bottom:13px;color:#503f66}.kids-teacher-heading strong{font-family:"Mali",sans-serif;font-size:1.25rem}.kids-teacher-heading span{font-size:1.25rem}
.kids-teacher-links{display:grid;gap:10px;position:relative;z-index:2}
.kids-teacher-link{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #eadff4;border-radius:16px;background:rgba(255,255,255,.9);transition:.18s}.kids-teacher-link:hover{transform:translateX(3px);border-color:#cbb5eb}.kids-teacher-link-icon{display:grid;width:43px;height:43px;flex:none;place-items:center;border-radius:14px;background:#f0e8ff;color:#7044da}.kids-teacher-link:nth-child(2) .kids-teacher-link-icon{background:#fff0e3;color:#d36a31}.kids-teacher-link:nth-child(3) .kids-teacher-link-icon{background:#fff8d9;color:#a67705}.kids-teacher-link div{min-width:0;flex:1}.kids-teacher-link b{display:block;color:#514361;font-size:.9rem}.kids-teacher-link small{display:block;margin-top:2px;color:#84788f;font-size:.7rem}.kids-teacher-link>span{color:#936ce7;font-weight:900}
.kids-teacher-character{display:block;width:82%;max-height:330px;margin:12px auto -42px;object-fit:contain}
.kids-teacher-cta{position:relative;z-index:3;width:100%;margin-top:12px;border-radius:16px!important}

/* Feature strip */
.kids-feature-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px}
.kids-feature{display:flex;align-items:center;gap:10px;padding:13px 15px;border:1px solid #e9dff3;border-radius:17px;background:#fff;color:#5b4d6e;font-weight:750;box-shadow:0 7px 18px rgba(90,58,142,.05)}
.kids-feature span{display:grid;width:30px;height:30px;place-items:center;border-radius:10px;background:#f0e8ff;color:#6f45db}.kids-feature:nth-child(2) span{background:#e9faf3;color:#228660}.kids-feature:nth-child(3) span{background:#fff8d9;color:#a67705}.kids-feature:nth-child(4) span{background:#e8f5ff;color:#347dc4}

/* Catalog page */
body.egs-kids-theme .catalog-hero{position:relative;overflow:hidden;padding:48px 0 38px;background:linear-gradient(135deg,#f4e8ff,#fff0f7 60%,#eaf8ff)}
body.egs-kids-theme .catalog-hero:after{position:absolute;right:5%;bottom:-55px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.55);content:""}
.kids-catalog-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:28px}
.kids-catalog-hero-copy h1{margin:4px 0 8px;color:#5e3bd1;font-size:clamp(2.2rem,4.5vw,4.2rem);font-weight:900}.kids-catalog-hero-copy p{max-width:690px;margin:0;color:#716581}
.kids-catalog-illustration{display:block;width:100%;max-height:250px;object-fit:contain}
body.egs-kids-theme .catalog-stats{gap:10px;margin-top:17px}.catalog-stats span{padding:8px 12px;border-radius:999px;background:#fff;color:#645673;box-shadow:0 6px 15px rgba(90,58,142,.08)}
body.egs-kids-theme .catalog-section{padding-top:28px}
body.egs-kids-theme .public-category-chips{gap:8px}.public-category-chips a{border:1px solid #e6daf2!important;border-radius:999px!important;background:#fff!important;color:#665675!important}.public-category-chips a.active,.public-category-chips a:hover{border-color:#7b4dff!important;background:#f0e8ff!important;color:#6e43d6!important}
body.egs-kids-theme .catalog-filter{padding:18px;border:1px solid #e7dcf2;border-radius:22px;background:#fff;box-shadow:var(--kids-shadow-soft)}
body.egs-kids-theme .catalog-filter label>span{color:#5a4c6b}.catalog-filter input,.catalog-filter select{border-color:#e1d5ed!important;border-radius:14px!important}.catalog-filter input:focus,.catalog-filter select:focus{border-color:#a982ff!important;box-shadow:0 0 0 4px rgba(123,77,255,.08)!important}
body.egs-kids-theme .pagination{margin-top:30px}.page-link,.page-number{border-color:#e2d5ee!important;border-radius:12px!important}.page-number.active{background:#7b4dff!important;color:#fff!important}

/* Dashboard */
body.egs-kids-theme .dashboard-shell{background:linear-gradient(180deg,#faf7ff,#fff)}
body.egs-kids-theme .dashboard-sidebar{border-right:1px solid #e7dbf1;background:linear-gradient(180deg,#fff,#fbf8ff)}
body.egs-kids-theme .profile-box{border:1px solid #e7dbf1;border-radius:20px;background:#fff;box-shadow:0 7px 18px rgba(91,59,143,.06)}
body.egs-kids-theme .avatar{border-radius:15px;background:linear-gradient(135deg,#ffb8d1,#ffd052);color:#6a3860}
body.egs-kids-theme .dash-nav a{border-radius:14px;color:#665a73}.dash-nav a.active,.dash-nav a:hover{background:#f0e8ff;color:#6d43d5}
body.egs-kids-theme .dashboard-content{padding:34px}
body.egs-kids-theme .dash-head h1{color:#453754;font-family:"Mali",sans-serif;font-weight:900}
body.egs-kids-theme .metric{border:1px solid #e6daf1;border-radius:20px;background:#fff;box-shadow:0 8px 22px rgba(91,59,143,.07)}
body.egs-kids-theme .metric strong{color:#6d43d5}
body.egs-kids-theme .panel{border-color:#e7dbf1;border-radius:22px;box-shadow:0 9px 26px rgba(91,59,143,.06)}
body.egs-kids-theme .game-row{border-radius:16px}.game-icon{border-radius:14px;background:#f0e8ff}
body.egs-kids-theme .data-table th{background:#f8f4fc;color:#645473}.data-table tr:hover td{background:#fcfaff}
body.egs-kids-theme .dashboard-templates .template-card{border-radius:22px}
body.egs-kids-theme .dashboard-templates .template-preview{height:auto;aspect-ratio:720/440}
body.egs-kids-theme .builder-steps{border-radius:21px;background:#fff}.builder-step{border-radius:14px}.builder-step.active{background:#f0e8ff;color:#6d43d5}.builder-step b{background:#e9ddff;color:#6d43d5}.builder-step.active b{background:#7b4dff;color:#fff}
body.egs-kids-theme .builder-panel .panel{background:#fff}.builder-footer{border-radius:20px;background:rgba(255,255,255,.95);box-shadow:0 -8px 22px rgba(91,59,143,.07)}
body.egs-kids-theme .field input,body.egs-kids-theme .field select,body.egs-kids-theme .field textarea{border-color:#dfd3ec;border-radius:13px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#9d75f3;box-shadow:0 0 0 4px rgba(123,77,255,.08);outline:0}

/* Game player refinements */
body.egs-kids-theme.game-player-body{background:#efe9ff}
body.egs-kids-theme.game-player-body .site-header,body.egs-kids-theme.game-player-body .site-footer{display:none}
body.egs-kids-theme.game-player-body .play-page{padding:14px}
body.egs-kids-theme.game-player-body .play-shell{border:3px solid rgba(255,255,255,.9);border-radius:30px;box-shadow:0 22px 55px rgba(70,43,122,.2)}
body.egs-kids-theme.game-player-body .play-topbar{background:rgba(255,255,255,.94)}
body.egs-kids-theme.game-player-body .play-game-icon{border-radius:16px;background:#f0e8ff}
body.egs-kids-theme.game-player-body .play-action{border-radius:13px}
body.egs-kids-theme.game-player-body .game-mount{font-family:"Mali","Noto Sans Thai",sans-serif}
body.egs-kids-theme.game-player-body .answer-button{border-radius:22px!important;font-weight:850}

/* Footer */
body.egs-kids-theme .site-footer{position:relative;overflow:hidden;padding:46px 0 28px;border-top:1px solid #e7dbf1;background:linear-gradient(180deg,#fff,#f7f1ff)}
body.egs-kids-theme .footer-grid{grid-template-columns:1.4fr 1fr 1fr;align-items:start}.kids-footer-brand{display:flex;align-items:center;gap:10px}.kids-footer-brand img{width:46px}.kids-footer-brand strong{font-family:"Mali",sans-serif;color:#5e3bd1;font-size:1.2rem}.kids-footer-links{display:grid;gap:7px}.kids-footer-links a:hover{color:#6d43d5}.kids-footer-note{font-size:.83rem}

/* Empty states */
body.egs-kids-theme .public-games-empty,body.egs-kids-theme .empty-state{border:1px dashed #cab4e8;border-radius:24px;background:#fcf9ff}.empty-state>span,.public-games-empty>span{filter:drop-shadow(0 7px 10px rgba(89,57,143,.14))}

/* Responsive */
@media(max-width:1180px){
  body.egs-kids-theme .site-nav>a:not(.btn){padding:9px 10px;font-size:.86rem}.kids-profile-copy{display:none}
  body.egs-kids-theme .template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .kids-home-content{grid-template-columns:1fr}.kids-teacher-panel{display:grid;grid-template-columns:1fr 300px;gap:16px}.kids-teacher-character{grid-column:2;grid-row:1/4;width:100%;margin:0 auto -35px}.kids-teacher-heading,.kids-teacher-links,.kids-teacher-cta{grid-column:1}
}
@media(max-width:980px){
  body.egs-kids-theme .nav-toggle{display:grid;place-items:center}
  body.egs-kids-theme .site-nav{position:absolute;top:74px;right:18px;left:18px;display:none;align-items:stretch;flex-direction:column;padding:12px;border-radius:20px;box-shadow:var(--kids-shadow)}
  body.egs-kids-theme .site-nav.open{display:flex}.site-nav .kids-profile-chip{width:100%}.site-nav .btn{width:100%}
  .kids-hero{padding-top:22px}.kids-hero-copy{position:relative;top:auto;left:auto;width:min(100%,680px);margin:-20px auto 0;padding:0 18px;transform:none}.kids-hero-copy h1{font-size:clamp(2.5rem,9vw,4.4rem)}.kids-hero-visual{max-height:390px}.kids-cloud-divider{height:46px}
  .kids-category-bar{align-items:stretch;flex-direction:column}.kids-category-search{flex-basis:auto;width:100%}
  body.egs-kids-theme .public-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kids-catalog-hero-grid{grid-template-columns:1fr}.kids-catalog-illustration{display:none}
  .kids-feature-strip{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  body.egs-kids-theme .container{width:min(calc(100% - 22px),var(--container))}
  body.egs-kids-theme .section{padding:48px 0}
  .brand-wordmark{font-size:1.08rem}.brand-tagline{font-size:.58rem}.kids-brand-mark{width:42px;height:42px}
  .kids-hero-visual{max-height:310px}.kids-hero-copy p{font-size:.9rem}.kids-hero-actions{display:grid}.kids-hero-actions .btn{width:100%;min-width:0}
  body.egs-kids-theme .template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body.egs-kids-theme .template-content{padding:13px}.template-content p{display:-webkit-box;min-height:0!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  body.egs-kids-theme .public-game-grid{grid-template-columns:1fr 1fr;gap:11px}.public-game-footer small{display:none}.public-game-footer{justify-content:flex-end}
  .kids-teacher-panel{display:block}.kids-teacher-character{width:65%;max-height:250px;margin:10px auto -38px}
  body.egs-kids-theme .section-head{align-items:flex-start;flex-direction:column;gap:10px}.section-actions{width:100%}
  .kids-feature-strip{grid-template-columns:1fr}.kids-feature{padding:11px 13px}
  body.egs-kids-theme .footer-grid{grid-template-columns:1fr;gap:18px}
  body.egs-kids-theme .dashboard-content{padding:22px 14px}
}
@media(max-width:520px){
  .brand-tagline{display:none}.kids-hero-visual{max-height:260px}.kids-hero-copy h1{font-size:2.45rem}.kids-hero-copy h1 span{font-size:.92rem}.kids-hero-note{gap:8px;font-size:.72rem}
  body.egs-kids-theme .template-grid{grid-template-columns:1fr 1fr}.template-icon-badge{display:none}
  body.egs-kids-theme .public-game-grid{grid-template-columns:1fr}.public-game-content p{min-height:0!important}
  .kids-category-bar{padding:11px;border-radius:20px}.kids-category-chip{min-height:39px;padding:7px 11px;font-size:.78rem}
  body.egs-kids-theme .catalog-filter{grid-template-columns:1fr!important}.catalog-filter-actions{width:100%}.catalog-filter-actions .btn{flex:1}
}

/* Five catalog controls plus actions */
body.egs-kids-theme .catalog-filter{grid-template-columns:minmax(230px,1.7fr) repeat(4,minmax(130px,.85fr)) auto}
@media(max-width:1220px){body.egs-kids-theme .catalog-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-search{grid-column:span 2}.catalog-filter-actions{grid-column:auto}}
@media(max-width:900px){body.egs-kids-theme .catalog-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-search,.catalog-filter-actions{grid-column:1/-1}}
@media(max-width:520px){body.egs-kids-theme .catalog-filter{grid-template-columns:1fr}.catalog-search,.catalog-filter-actions{grid-column:auto}}


/* ==========================================================================\n   Game Studio Kids v4.11.1 - public catalog layout and ribbon hotfix\n   Prevent the generic .public-game-cover > span fallback rule from enlarging\n   the popularity ribbon. Keep catalog cards compact and responsive.\n   ========================================================================== */
body.egs-kids-theme .public-game-cover > .kids-popular-ribbon{
  position:absolute!important;
  z-index:5!important;
  top:12px!important;
  left:12px!important;
  right:auto!important;
  bottom:auto!important;
  display:inline-flex!important;
  width:auto!important;
  max-width:calc(100% - 24px)!important;
  height:auto!important;
  min-height:30px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  margin:0!important;
  padding:6px 11px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#ff6f91,#ff526d)!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(255,82,109,.28)!important;
  font-family:"Noto Sans Thai","Prompt",Tahoma,sans-serif!important;
  font-size:.72rem!important;
  font-style:normal!important;
  font-weight:900!important;
  line-height:1.15!important;
  letter-spacing:0!important;
  text-align:center!important;
  text-indent:0!important;
  text-shadow:none!important;
  white-space:nowrap!important;
  filter:none!important;
  transform:none!important;
  transition:none!important;
  pointer-events:none!important;
}
body.egs-kids-theme .public-game-cover > .kids-popular-ribbon > span{
  display:inline!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  font:inherit!important;
  line-height:1!important;
  filter:none!important;
  transform:none!important;
}
body.egs-kids-theme .public-game-card:hover .public-game-cover > .kids-popular-ribbon{
  transform:none!important;
  filter:none!important;
}

/* Four compact cards on wide catalog screens, then scale down cleanly. */
body.egs-kids-theme .catalog-section .public-game-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
body.egs-kids-theme .catalog-section .public-game-card{
  min-height:100%;
  border-radius:22px;
}
body.egs-kids-theme .catalog-section .public-game-cover{
  aspect-ratio:16/10;
}
body.egs-kids-theme .catalog-section .public-game-content{
  min-height:205px;
  padding:15px 16px 16px;
}
body.egs-kids-theme .catalog-section .public-game-content h3{
  display:-webkit-box;
  overflow:hidden;
  min-height:2.9em;
  margin:9px 0 4px;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
body.egs-kids-theme .catalog-section .public-game-content > p{
  display:-webkit-box;
  overflow:hidden;
  min-height:3em;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
body.egs-kids-theme .catalog-section .public-game-meta{
  min-width:0;
}
body.egs-kids-theme .catalog-section .public-game-meta .badge{
  overflow:hidden;
  max-width:68%;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.egs-kids-theme .catalog-section .public-game-meta small{
  flex:none;
}
body.egs-kids-theme .catalog-section .public-game-play{
  display:inline-flex;
  min-height:28px;
  align-items:center;
}

@media(max-width:1280px){
  body.egs-kids-theme .catalog-section .public-game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  body.egs-kids-theme .catalog-section .public-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  body.egs-kids-theme .catalog-section .public-game-grid{grid-template-columns:1fr}
  body.egs-kids-theme .catalog-section .public-game-content{min-height:0}
  body.egs-kids-theme .catalog-section .public-game-content h3{min-height:0}
}


/* ==========================================================================\n   EducTools Game Studio v1.5.3 / Platform v4.11.3\n   Full-viewport player, sharing, membership CTA and animated background.\n   ========================================================================== */
body.egs-kids-theme.game-player-body{
  width:100%;
  min-width:320px;
  min-height:100vh;
  min-height:100dvh;
  overflow-x:hidden;
  background:linear-gradient(145deg,#bfe7ff 0%,#d8d0ff 46%,#ffdcef 100%) fixed;
}
body.egs-kids-theme.game-player-body main{
  display:block;
  width:100%;
  min-height:100vh;
  min-height:100dvh;
}
body.egs-kids-theme.game-player-body .play-page{
  position:relative;
  isolation:isolate;
  display:flex;
  width:100%;
  min-height:100vh!important;
  min-height:100dvh!important;
  align-items:stretch;
  padding:clamp(8px,1.35vw,18px)!important;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% -10%,rgba(255,255,255,.92),transparent 35%),
    linear-gradient(150deg,rgba(191,231,255,.72),rgba(222,211,255,.78) 48%,rgba(255,218,238,.74));
}
body.egs-kids-theme.game-player-body .play-shell{
  position:relative;
  z-index:2;
  display:flex;
  width:min(1540px,100%)!important;
  min-height:calc(100vh - clamp(16px,2.7vw,36px));
  min-height:calc(100dvh - clamp(16px,2.7vw,36px));
  flex:1 1 auto;
  flex-direction:column;
  margin:auto;
  overflow:hidden;
}
body.egs-kids-theme.game-player-body .game-mount{
  position:relative;
  flex:1 1 auto;
  width:100%;
  min-height:max(560px,calc(100vh - 175px))!important;
  min-height:max(560px,calc(100dvh - 175px))!important;
}
body.egs-kids-theme.game-player-body:not(.ar-immersive) .game-mount{
  background:
    radial-gradient(ellipse at 13% 17%,rgba(255,255,255,.96) 0 5.5%,transparent 5.8%),
    radial-gradient(ellipse at 25% 27%,rgba(255,255,255,.92) 0 6%,transparent 6.3%),
    radial-gradient(ellipse at 40% 15%,rgba(255,255,255,.86) 0 5%,transparent 5.3%),
    radial-gradient(circle at 81% 15%,#ffe04f 0 7.3%,rgba(255,224,79,.28) 7.5%,transparent 11%),
    radial-gradient(ellipse at 15% 105%,#39cf72 0 48%,transparent 48.5%),
    radial-gradient(ellipse at 73% 107%,#1fc45c 0 54%,transparent 54.5%),
    linear-gradient(180deg,#78d1f3 0%,#aee8ff 56%,#74e696 56.3%,#35ca69 100%);
}
body.egs-kids-theme.game-player-body .play-shell:fullscreen{
  width:100%!important;
  min-width:100%!important;
  max-width:none!important;
  height:100vh!important;
  height:100dvh!important;
  min-height:100vh!important;
  min-height:100dvh!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
}
body.egs-kids-theme.game-player-body .play-shell:fullscreen .game-mount{
  min-height:0!important;
  flex:1 1 auto;
}

/* Animated image layer outside the player card */
.play-animated-background{
  position:absolute;
  z-index:0;
  inset:0;
  overflow:hidden;
  pointer-events:none;
}
.play-animated-background img{
  position:absolute;
  display:block;
  user-select:none;
  will-change:transform;
  filter:drop-shadow(0 12px 22px rgba(80,52,145,.12));
}
.play-bg-cloud{width:clamp(150px,18vw,310px);opacity:.82}
.play-bg-cloud-one{top:5%;left:-8%;animation:egsCloudFloatOne 26s linear infinite}
.play-bg-cloud-two{top:62%;right:-10%;width:clamp(120px,15vw,250px);opacity:.62;animation:egsCloudFloatTwo 31s linear infinite}
.play-bg-balloon{width:clamp(54px,6vw,98px)}
.play-bg-balloon-one{right:3%;bottom:6%;animation:egsBalloonFloat 8s ease-in-out infinite}
.play-bg-balloon-two{top:10%;left:4%;width:clamp(42px,5vw,78px);animation:egsBalloonFloat 10s ease-in-out -4s infinite reverse}
.play-bg-kite{top:12%;right:12%;width:clamp(58px,7vw,110px);animation:egsKiteSwing 6.5s ease-in-out infinite}
.play-bg-stars{width:clamp(90px,12vw,190px);opacity:.72}
.play-bg-stars-one{top:3%;left:28%;animation:egsStarsPulse 4.2s ease-in-out infinite}
.play-bg-stars-two{right:22%;bottom:3%;animation:egsStarsPulse 5.1s ease-in-out -2s infinite}
@keyframes egsCloudFloatOne{0%{transform:translate3d(-20%,0,0)}50%{transform:translate3d(70vw,16px,0)}100%{transform:translate3d(125vw,-6px,0)}}
@keyframes egsCloudFloatTwo{0%{transform:translate3d(20%,0,0)}50%{transform:translate3d(-65vw,-14px,0)}100%{transform:translate3d(-125vw,8px,0)}}
@keyframes egsBalloonFloat{0%,100%{transform:translate3d(0,0,0) rotate(-3deg)}50%{transform:translate3d(0,-34px,0) rotate(4deg)}}
@keyframes egsKiteSwing{0%,100%{transform:translate3d(0,0,0) rotate(-7deg)}50%{transform:translate3d(-22px,20px,0) rotate(7deg)}}
@keyframes egsStarsPulse{0%,100%{transform:scale(.9) rotate(-3deg);opacity:.45}50%{transform:scale(1.08) rotate(4deg);opacity:.9}}

/* Animated image inside the game scene */
body.egs-kids-theme.game-player-body:not(.ar-immersive) .game-mount:after{
  position:absolute;
  z-index:0;
  inset:0;
  background-image:url('player-bg/scene-sprites.svg');
  background-repeat:repeat-x;
  background-position:0 8%;
  background-size:auto 62%;
  opacity:.72;
  content:'';
  pointer-events:none;
  animation:egsGameSceneDrift 38s linear infinite;
}
@keyframes egsGameSceneDrift{from{background-position:0 8%}to{background-position:1600px 8%}}
body.egs-kids-theme.game-player-body:not(.ar-immersive) .game-mount>*{position:relative;z-index:1}

/* Share and upgrade controls */
.play-action-share{border-color:#71bff4!important;background:linear-gradient(145deg,#7dd7ff,#39a8ed)!important;color:#083f69!important}
.play-action-upgrade{border-color:#ffd16d!important;background:linear-gradient(145deg,#fff0a2,#ffbe45)!important;color:#714100!important}
.play-share-toast{
  position:absolute;
  z-index:30;
  top:92px;
  right:18px;
  max-width:min(410px,calc(100% - 36px));
  padding:11px 15px;
  border:1px solid rgba(255,255,255,.8);
  border-radius:14px;
  background:rgba(33,149,101,.95);
  color:#fff;
  box-shadow:0 14px 34px rgba(36,31,77,.2);
  font-size:.86rem;
  font-weight:800;
  opacity:0;
  transform:translateY(-12px);
  transition:opacity .2s,transform .2s;
  pointer-events:none;
}
.play-share-toast.is-visible{opacity:1;transform:translateY(0)}
.play-share-toast.is-error{background:rgba(204,61,80,.96)}
.result-actions .btn-share{border-color:#67c7f4;background:linear-gradient(145deg,#75d6ff,#3ba7ec);color:#083f69}
.result-actions .btn-upgrade{border-color:#ffd263;background:linear-gradient(145deg,#fff0a1,#ffbd43);color:#704000}

@media(max-width:1120px){
  body.egs-kids-theme.game-player-body .play-top-actions{flex-wrap:wrap;justify-content:flex-end}
  body.egs-kids-theme.game-player-body .play-action{min-height:40px;padding:7px 10px;font-size:.76rem}
}
@media(max-width:760px){
  body.egs-kids-theme.game-player-body .play-page{padding:0!important;overflow:visible}
  body.egs-kids-theme.game-player-body .play-shell{min-height:100vh;min-height:100dvh;border:0!important;border-radius:0!important}
  body.egs-kids-theme.game-player-body .game-mount{min-height:max(480px,calc(100vh - 218px))!important;min-height:max(480px,calc(100dvh - 218px))!important}
  body.egs-kids-theme.game-player-body .play-top-actions{display:flex!important;width:100%;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;padding-bottom:3px;scrollbar-width:none}
  body.egs-kids-theme.game-player-body .play-top-actions::-webkit-scrollbar{display:none}
  body.egs-kids-theme.game-player-body .play-action{flex:0 0 auto;min-width:max-content}
  .play-share-toast{position:fixed;top:auto;right:12px;bottom:max(14px,env(safe-area-inset-bottom));left:12px;max-width:none;text-align:center}
  .play-animated-background{display:none}
  body.egs-kids-theme.game-player-body:not(.ar-immersive) .game-mount:after{background-size:auto 48%;opacity:.56}
  .result-actions{display:grid!important;grid-template-columns:1fr 1fr}
  .result-actions .btn{width:100%}
}
@media(max-width:460px){
  .result-actions{grid-template-columns:1fr}
  body.egs-kids-theme.game-player-body .game-mount{min-height:max(450px,calc(100vh - 225px))!important;min-height:max(450px,calc(100dvh - 225px))!important}
}
@media(prefers-reduced-motion:reduce){
  .play-animated-background img,
  body.egs-kids-theme.game-player-body:not(.ar-immersive) .game-mount:after{animation:none!important}
}


/* ========================================================================== 
   EducTools Game Player v1.5.4 / Platform v4.11.4
   True edge-to-edge viewport, corrected intro layer and in-stage animation.
   ========================================================================== */
body.egs-kids-theme.game-player-body{
  height:100vh;
  height:100dvh;
  min-height:100vh;
  min-height:100dvh;
  overflow:hidden!important;
}
body.egs-kids-theme.game-player-body main{
  width:100%;
  height:100vh;
  height:100dvh;
  min-height:0!important;
  overflow:hidden!important;
}
body.egs-kids-theme.game-player-body .play-page{
  position:fixed!important;
  z-index:999!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  min-height:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#9bddf7!important;
}
body.egs-kids-theme.game-player-body .play-shell{
  display:flex!important;
  width:100vw!important;
  max-width:none!important;
  height:100vh!important;
  height:100dvh!important;
  min-height:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  flex-direction:column!important;
}
body.egs-kids-theme.game-player-body .play-topbar,
body.egs-kids-theme.game-player-body .play-subbar{
  position:relative;
  z-index:20;
  flex:0 0 auto;
}
body.egs-kids-theme.game-player-body .play-stage-wrap{
  position:relative;
  isolation:isolate;
  display:flex;
  min-width:0;
  min-height:0;
  flex:1 1 0;
  overflow:hidden;
  background:
    radial-gradient(ellipse at 12% 18%,rgba(255,255,255,.96) 0 5.5%,transparent 5.8%),
    radial-gradient(ellipse at 25% 28%,rgba(255,255,255,.92) 0 6%,transparent 6.3%),
    radial-gradient(ellipse at 42% 14%,rgba(255,255,255,.88) 0 5%,transparent 5.3%),
    radial-gradient(circle at 81% 15%,#ffe04f 0 7.3%,rgba(255,224,79,.28) 7.5%,transparent 11%),
    radial-gradient(ellipse at 14% 108%,#3dd476 0 48%,transparent 48.5%),
    radial-gradient(ellipse at 73% 110%,#1fc45c 0 54%,transparent 54.5%),
    linear-gradient(180deg,#78d1f3 0%,#aee8ff 56%,#74e696 56.3%,#35ca69 100%);
}
body.egs-kids-theme.game-player-body .play-stage-wrap:after{
  position:absolute;
  z-index:1;
  inset:0;
  background-image:url('player-bg/scene-sprites.svg');
  background-repeat:repeat-x;
  background-position:0 8%;
  background-size:auto 62%;
  opacity:.72;
  content:'';
  pointer-events:none;
  animation:egsGameSceneDriftV154 34s linear infinite;
}
@keyframes egsGameSceneDriftV154{
  from{background-position:0 8%}
  to{background-position:1600px 8%}
}
body.egs-kids-theme.game-player-body .play-stage-wrap>.play-animated-background{
  position:absolute!important;
  z-index:0!important;
  inset:0!important;
  display:block!important;
  overflow:hidden;
  pointer-events:none;
}
body.egs-kids-theme.game-player-body .play-stage-wrap>.game-mount{
  position:relative!important;
  z-index:2!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  flex:1 1 0!important;
  overflow:auto;
  background:transparent!important;
}
body.egs-kids-theme.game-player-body:not(.ar-immersive) .game-mount{
  min-height:0!important;
  background:transparent!important;
}
body.egs-kids-theme.game-player-body:not(.ar-immersive) .game-mount:before,
body.egs-kids-theme.game-player-body:not(.ar-immersive) .game-mount:after{
  content:none!important;
  display:none!important;
}
body.egs-kids-theme.game-player-body .game-intro,
body.egs-kids-theme.game-player-body .result-screen{
  position:relative;
  box-sizing:border-box;
  width:100%;
  height:100%;
  min-height:100%!important;
  padding:clamp(24px,4vw,54px) clamp(18px,3vw,44px)!important;
  place-content:center;
}
/* The old absolutely positioned pseudo card caused the large blank block on the left. */
body.egs-kids-theme.game-player-body .game-intro:before{
  display:none!important;
  content:none!important;
}
body.egs-kids-theme.game-player-body .result-screen:before{
  top:50%!important;
  left:50%!important;
  width:min(690px,calc(100% - 36px))!important;
  height:min(480px,calc(100% - 36px))!important;
  transform:translate(-50%,-50%)!important;
}
body.egs-kids-theme.game-player-body .game-intro>p,
body.egs-kids-theme.game-player-body .camera-note{
  color:#4f4866!important;
  text-shadow:0 1px 0 rgba(255,255,255,.85);
}
body.egs-kids-theme.game-player-body .game-intro .intro-meta span{
  border-color:rgba(255,255,255,.9)!important;
  background:rgba(255,255,255,.88)!important;
  box-shadow:0 6px 18px rgba(53,42,91,.1);
}
body.egs-kids-theme.game-player-body .play-shell:fullscreen,
body.egs-kids-theme.game-player-body .play-shell:-webkit-full-screen{
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  min-height:0!important;
}
body.egs-kids-theme.game-player-body .play-shell:fullscreen .play-stage-wrap,
body.egs-kids-theme.game-player-body .play-shell:-webkit-full-screen .play-stage-wrap{
  min-height:0!important;
  flex:1 1 0!important;
}
body.egs-kids-theme.game-player-body.ar-immersive .play-stage-wrap{
  background:#000!important;
}
body.egs-kids-theme.game-player-body.ar-immersive .play-stage-wrap>.play-animated-background,
body.egs-kids-theme.game-player-body.ar-immersive .play-stage-wrap:after{
  display:none!important;
}
body.egs-kids-theme.game-player-body.ar-immersive .game-mount,
body.egs-kids-theme.game-player-body.ar-immersive .ar-layout,
body.egs-kids-theme.game-player-body.ar-immersive .ar-stage{
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
}
@media(max-width:760px){
  body.egs-kids-theme.game-player-body .play-stage-wrap>.play-animated-background{display:block!important;opacity:.72}
  body.egs-kids-theme.game-player-body .play-stage-wrap:after{background-size:auto 48%;opacity:.52}
  body.egs-kids-theme.game-player-body .game-intro,
  body.egs-kids-theme.game-player-body .result-screen{height:auto;min-height:100%!important;padding:28px 14px 38px!important}
}
@media(prefers-reduced-motion:reduce){
  body.egs-kids-theme.game-player-body .play-stage-wrap:after{animation:none!important}
}

/* ========================================================================== 
   EducTools Game Player Cute UI v1.5.7 / Platform v4.11.7
   Restores the real content_json player flow and applies the centered cute UI.
   ========================================================================== */
body.egs-kids-theme.game-player-body.game-player-cute-v4117{
  height:auto!important;
  min-height:100vh!important;
  min-height:100dvh!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  background:linear-gradient(180deg,#a8d9ff 0%,#c9c8ff 52%,#f2c0dd 82%,#9fe781 100%)!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 main{
  height:auto!important;
  min-height:100vh!important;
  min-height:100dvh!important;
  overflow:visible!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-page{
  position:relative!important;
  z-index:1!important;
  inset:auto!important;
  width:100%!important;
  height:auto!important;
  min-height:100vh!important;
  min-height:100dvh!important;
  padding:14px clamp(12px,2.5vw,28px) 28px!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 8% 10%,rgba(255,255,255,.42),transparent 17%),
    radial-gradient(circle at 89% 14%,rgba(255,255,255,.3),transparent 16%),
    linear-gradient(180deg,#a8d9ff 0%,#c9c8ff 52%,#f2c0dd 82%,#9fe781 100%)!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-world-decor{
  position:fixed;
  z-index:0;
  inset:0;
  overflow:hidden;
  pointer-events:none;
}
.play-world-decor img,.play-world-decor span{position:absolute;user-select:none}
.world-cloud{width:clamp(130px,15vw,240px);opacity:.78;filter:drop-shadow(0 12px 24px rgba(255,255,255,.22))}
.world-cloud-one{top:8%;left:-5%;animation:egsCuteCloudOne 28s linear infinite}
.world-cloud-two{top:29%;right:-7%;animation:egsCuteCloudTwo 34s linear infinite}
.world-balloon{width:clamp(40px,4.5vw,74px)}
.world-balloon-one{top:8%;right:18%;animation:egsCuteFloat 7s ease-in-out infinite}
.world-balloon-two{bottom:14%;left:5%;animation:egsCuteFloat 9s ease-in-out -3s infinite reverse}
.world-kite{top:22%;left:57%;width:clamp(54px,6vw,92px);animation:egsCuteKite 6s ease-in-out infinite}
.world-stars{width:clamp(80px,9vw,145px);opacity:.66}
.world-stars-one{top:12%;left:20%;animation:egsCutePulse 4s ease-in-out infinite}
.world-stars-two{right:16%;bottom:15%;animation:egsCutePulse 5s ease-in-out -2s infinite}
.world-butterfly{font-size:clamp(24px,2.5vw,38px);animation:egsCuteButterfly 4.2s ease-in-out infinite}
.world-butterfly-one{left:14%;top:34%}
.world-butterfly-two{right:12%;top:38%;animation-delay:-2s}
.world-tree{bottom:10px;font-size:clamp(38px,5vw,74px)}
.world-tree-one{left:7%}.world-tree-two{right:6%}
.world-rabbit,.world-hedgehog{bottom:9px;font-size:clamp(27px,3vw,42px);animation:egsCuteHop 4s ease-in-out infinite}
.world-rabbit{left:19%}.world-hedgehog{right:19%;animation-delay:-1.7s}
@keyframes egsCuteCloudOne{from{transform:translateX(-20vw)}to{transform:translateX(118vw)}}
@keyframes egsCuteCloudTwo{from{transform:translateX(20vw)}to{transform:translateX(-118vw)}}
@keyframes egsCuteFloat{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-24px) rotate(4deg)}}
@keyframes egsCuteKite{0%,100%{transform:translate(0,0) rotate(-6deg)}50%{transform:translate(-18px,18px) rotate(7deg)}}
@keyframes egsCutePulse{0%,100%{opacity:.42;transform:scale(.9)}50%{opacity:.88;transform:scale(1.08)}}
@keyframes egsCuteButterfly{0%,100%{transform:translate(0,0) rotate(-8deg)}50%{transform:translate(14px,-12px) rotate(8deg)}}
@keyframes egsCuteHop{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-shell{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  width:min(1180px,100%)!important;
  max-width:1180px!important;
  height:auto!important;
  min-height:calc(100dvh - 42px)!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  border-radius:26px!important;
  background:transparent!important;
  box-shadow:none!important;
  flex-direction:column!important;
  overflow:visible!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-topbar{
  position:relative;
  z-index:30;
  margin-bottom:12px;
  padding:13px 17px!important;
  border:1px solid rgba(255,255,255,.82)!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.9)!important;
  box-shadow:0 14px 35px rgba(91,65,147,.17)!important;
  backdrop-filter:blur(12px);
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-subbar{
  position:relative;
  z-index:20;
  margin:0 12px -1px;
  padding:9px 14px!important;
  border:1px solid #ede2f5!important;
  border-bottom:0!important;
  border-radius:18px 18px 0 0!important;
  background:rgba(255,255,255,.84)!important;
  color:#786687!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-stage-wrap{
  position:relative;
  isolation:isolate;
  display:flex;
  min-height:clamp(650px,72dvh,860px)!important;
  flex:1 1 auto;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.78)!important;
  border-radius:28px!important;
  background:rgba(255,247,252,.82)!important;
  box-shadow:0 20px 48px rgba(91,65,147,.2)!important;
  backdrop-filter:blur(5px);
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-stage-wrap:before{
  position:absolute;
  z-index:0;
  inset:0;
  background:
    radial-gradient(circle at 9% 15%,rgba(255,255,255,.72),transparent 14%),
    radial-gradient(circle at 91% 18%,rgba(255,255,255,.58),transparent 13%),
    linear-gradient(180deg,rgba(255,248,252,.82),rgba(255,255,255,.58));
  content:'';
  pointer-events:none;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-stage-wrap:after{
  opacity:.26!important;
  background-size:auto 46%!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-stage-wrap>.play-animated-background{
  opacity:.48!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-stage-wrap>.game-mount{
  position:relative!important;
  z-index:3!important;
  display:grid!important;
  width:100%!important;
  min-height:clamp(650px,72dvh,860px)!important;
  place-items:center!important;
  padding:clamp(18px,3vw,32px)!important;
  overflow:auto!important;
  background:transparent!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117:not(.ar-immersive) .game-mount:before,
body.egs-kids-theme.game-player-body.game-player-cute-v4117:not(.ar-immersive) .game-mount:after{display:none!important;content:none!important}

body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-intro{
  position:relative!important;
  display:grid!important;
  width:min(560px,100%)!important;
  height:auto!important;
  min-height:0!important;
  margin:auto!important;
  padding:clamp(24px,4vw,42px)!important;
  place-content:center!important;
  border:1px solid #f2deec!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 20px 42px rgba(104,77,160,.22)!important;
  text-align:center!important;
  backdrop-filter:blur(8px);
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-intro:before{display:none!important;content:none!important}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-intro>*{position:relative!important;z-index:1!important}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .intro-icon{font-size:clamp(3.3rem,7vw,5rem)!important;line-height:1!important}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-intro .game-type{
  display:inline-flex!important;
  width:max-content!important;
  margin:10px auto 0!important;
  padding:7px 12px!important;
  border-radius:999px!important;
  background:#f0e9ff!important;
  color:#7054db!important;
  font-weight:800!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-intro h1{
  margin:12px 0 8px!important;
  color:#755fe8!important;
  font-family:"Mali","Noto Sans Thai",sans-serif!important;
  font-size:clamp(1.8rem,4vw,3.1rem)!important;
  line-height:1.18!important;
  text-shadow:0 2px 0 rgba(255,255,255,.9)!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-intro>p{
  max-width:470px!important;
  margin:0 auto 16px!important;
  color:#6495d2!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .intro-meta{
  display:flex!important;
  justify-content:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin-bottom:14px!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .intro-meta span{
  padding:8px 13px!important;
  border:1px solid #f0e4f6!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#735f80!important;
  box-shadow:0 7px 17px rgba(94,70,145,.08)!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .player-name{
  display:grid!important;
  gap:7px!important;
  max-width:420px!important;
  margin:4px auto 15px!important;
  text-align:left!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .player-name input{
  width:100%!important;
  padding:12px 14px!important;
  border:1px solid #efddea!important;
  border-radius:15px!important;
  background:#fffafd!important;
  outline:none!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-intro .btn-primary{
  min-width:min(280px,100%)!important;
  margin:4px auto 0!important;
  padding:14px 22px!important;
  border:0!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,#9a5cff,#ff67a4)!important;
  color:#fff!important;
  box-shadow:0 14px 28px rgba(224,82,158,.28)!important;
  font-size:1.08rem!important;
  font-weight:900!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .camera-note{
  display:block!important;
  max-width:450px!important;
  margin:12px auto 0!important;
  color:#8d7b98!important;
  font-size:.88rem!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-member-strip{
  position:relative;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:12px;
  padding:15px 18px;
  border:1px solid rgba(255,255,255,.82);
  border-radius:22px;
  background:rgba(255,255,255,.88);
  box-shadow:0 14px 34px rgba(91,65,147,.16);
  backdrop-filter:blur(10px);
}
.play-member-strip>div{display:grid;gap:3px}.play-member-strip strong{color:#5c466e}.play-member-strip span{color:#7c6b88;font-size:.92rem}
.play-member-strip>a{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:12px 17px;border-radius:15px;background:linear-gradient(90deg,#8e72ff,#ff69a6);color:#fff;font-weight:900;box-shadow:0 10px 22px rgba(111,82,185,.22)}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .result-actions .btn-upgrade{background:linear-gradient(90deg,#ffd96f,#ffb24f)!important;color:#704400!important}

body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-shell:fullscreen,
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-shell:-webkit-full-screen{
  width:100vw!important;
  max-width:none!important;
  height:100vh!important;
  height:100dvh!important;
  min-height:0!important;
  padding:0!important;
  border-radius:0!important;
  background:linear-gradient(180deg,#a8d9ff,#d3c5ff 62%,#f4c4df)!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-shell:fullscreen .play-member-strip,
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-shell:-webkit-full-screen .play-member-strip{display:none!important}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-shell:fullscreen .play-stage-wrap,
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-shell:-webkit-full-screen .play-stage-wrap{
  min-height:0!important;
  flex:1 1 0!important;
  border-radius:0!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-immersive .play-world-decor,
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-immersive .play-member-strip,
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-immersive .play-animated-background,
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-immersive .play-stage-wrap:before,
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-immersive .play-stage-wrap:after{display:none!important}
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-immersive .play-page{padding:0!important;background:#000!important}
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-immersive .play-shell{width:100%!important;max-width:none!important;min-height:100dvh!important;border-radius:0!important}
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-immersive .play-stage-wrap{min-height:100dvh!important;border-radius:0!important;background:#000!important}
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-immersive .game-mount{min-height:100dvh!important;padding:0!important}

@media(max-width:760px){
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-page{padding:8px!important}
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-topbar{border-radius:18px!important}
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-stage-wrap,
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-stage-wrap>.game-mount{min-height:calc(100dvh - 255px)!important}
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-stage-wrap>.game-mount{padding:14px!important}
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-intro{padding:22px 15px!important;border-radius:23px!important}
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-member-strip{align-items:flex-start;flex-direction:column}
  .play-member-strip>a{width:100%}
  .play-world-decor{opacity:.62}
}
@media(prefers-reduced-motion:reduce){
  .play-world-decor *{animation:none!important}
}


/* ========================================================================== 
   EducTools AR Framed Experience v1.5.7 / Platform v4.11.7
   AR stays inside the same player card. Answers advance automatically.
   ========================================================================== */
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .play-page{
  min-height:auto!important;
  padding:18px clamp(10px,2.4vw,28px) 26px!important;
  background:transparent!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .play-shell{
  width:min(1180px,100%)!important;
  max-width:1180px!important;
  min-height:0!important;
  margin:0 auto!important;
  overflow:hidden!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 24px 60px rgba(87,62,151,.2)!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .play-topbar,
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .play-subbar,
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .play-member-strip{
  display:flex!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .play-stage-wrap{
  min-height:clamp(560px,70dvh,800px)!important;
  padding:14px!important;
  border-radius:0!important;
  background:linear-gradient(180deg,rgba(242,236,255,.92),rgba(255,245,251,.88))!important;
  overflow:hidden!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .game-mount{
  width:100%!important;
  min-height:clamp(532px,67dvh,772px)!important;
  padding:0!important;
  border-radius:24px!important;
  overflow:hidden!important;
  background:#111827!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .ar-clean-layout,
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .ar-clean-layout .ar-stage,
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .ar-layout,
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .ar-stage{
  width:100%!important;
  height:auto!important;
  min-height:clamp(532px,67dvh,772px)!important;
  max-height:none!important;
  border-radius:24px!important;
  overflow:hidden!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .ar-stage video,
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .ar-stage canvas{
  border-radius:inherit!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .play-world-decor{
  display:block!important;
  opacity:.72!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .play-animated-background{
  display:none!important;
}

/* AR answer feedback: compact, readable, no score and no next button. */
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .ar-next-button,
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .ar-score-feedback{
  display:none!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .ar-feedback-toast{
  z-index:14!important;
  top:clamp(78px,13%,118px)!important;
  right:auto!important;
  bottom:auto!important;
  left:50%!important;
  display:block!important;
  width:min(520px,calc(100% - 28px))!important;
  transform:translateX(-50%)!important;
  pointer-events:none!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .ar-auto-feedback{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:12px;
  overflow:hidden;
  padding:13px 18px 17px;
  border:3px solid rgba(255,255,255,.94);
  border-radius:22px;
  color:#fff;
  text-align:left;
  box-shadow:0 14px 38px rgba(0,0,0,.34);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .ar-auto-feedback.is-correct{
  background:linear-gradient(135deg,rgba(21,178,111,.94),rgba(4,121,77,.94));
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .ar-auto-feedback.is-wrong{
  background:linear-gradient(135deg,rgba(255,123,91,.95),rgba(190,51,74,.95));
}
.ar-auto-icon{font-size:clamp(2rem,4vw,3rem);line-height:1}
.ar-auto-feedback>div{display:grid;gap:2px;min-width:0}
.ar-auto-feedback strong{font-size:clamp(1.08rem,2.2vw,1.55rem);line-height:1.2}
.ar-auto-feedback small{font-size:clamp(.82rem,1.45vw,1rem);font-weight:750;line-height:1.3;opacity:.96}
.ar-auto-progress{
  position:absolute;
  right:12px;
  bottom:7px;
  left:12px;
  height:5px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.25)!important;
  padding:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.ar-auto-progress i{
  display:block;
  width:100%;
  height:100%;
  border-radius:inherit;
  background:#fff;
  transform-origin:left center;
  animation:arAutoAdvance linear forwards;
}
@keyframes arAutoAdvance{from{transform:scaleX(1)}to{transform:scaleX(0)}}

@media(max-width:760px){
  body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .play-page{padding:8px!important}
  body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .play-shell{border-radius:20px!important}
  body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .play-stage-wrap{min-height:68dvh!important;padding:8px!important}
  body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .game-mount,
  body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .ar-clean-layout,
  body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .ar-clean-layout .ar-stage,
  body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .ar-layout,
  body.egs-kids-theme.game-player-body.game-player-cute-v4117.ar-framed .ar-stage{
    min-height:calc(68dvh - 16px)!important;
    border-radius:18px!important;
  }
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .ar-feedback-toast{
    top:72px!important;
    width:calc(100% - 18px)!important;
  }
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .ar-auto-feedback{
    gap:9px;
    padding:10px 12px 15px;
    border-radius:17px;
  }
  .ar-auto-icon{font-size:1.8rem}
}
@media(prefers-reduced-motion:reduce){
  .ar-auto-progress i{animation:none!important;transform:scaleX(.35)}
}


/* ========================================================================== 
   EducTools Game Player Visual Balance v1.8.2 / Platform v4.14.2
   Strong countdown, higher question position and richer playful background.
   ========================================================================== */
body.egs-kids-theme.game-player-body.game-player-cute-v4117:not(.ar-framed) .play-stage-wrap{
  background:
    radial-gradient(circle at 8% 13%,rgba(255,123,183,.42) 0 10%,transparent 25%),
    radial-gradient(circle at 91% 16%,rgba(255,217,85,.48) 0 9%,transparent 23%),
    radial-gradient(circle at 84% 84%,rgba(104,219,255,.38) 0 12%,transparent 28%),
    radial-gradient(circle at 18% 84%,rgba(139,112,255,.34) 0 11%,transparent 27%),
    linear-gradient(135deg,#bde8ff 0%,#d7c8ff 36%,#ffd5ed 68%,#fff0bd 100%)!important;
  background-size:125% 125%!important;
  animation:egsPlayerColorDrift 16s ease-in-out infinite alternate;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117:not(.ar-framed) .play-stage-wrap:before{
  opacity:1!important;
  background:
    radial-gradient(circle at 12% 22%,rgba(255,255,255,.62) 0 4%,transparent 4.5%),
    radial-gradient(circle at 31% 12%,rgba(255,240,111,.72) 0 2.2%,transparent 2.8%),
    radial-gradient(circle at 74% 12%,rgba(255,136,190,.55) 0 3%,transparent 3.6%),
    radial-gradient(circle at 90% 40%,rgba(126,220,255,.55) 0 4%,transparent 4.6%),
    radial-gradient(circle at 15% 70%,rgba(151,126,255,.35) 0 5%,transparent 5.8%),
    linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.04))!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117:not(.ar-framed) .play-stage-wrap:after{
  opacity:.58!important;
  filter:saturate(1.22) contrast(1.03);
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117:not(.ar-framed) .play-stage-wrap>.play-animated-background{
  opacity:.78!important;
  filter:saturate(1.2) drop-shadow(0 10px 16px rgba(89,60,160,.12));
}

/* Keep the live question in normal document flow instead of vertically
   centering each grid row. This removes the large empty gap below the HUD. */
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-mount.is-playing{
  display:block!important;
  place-items:initial!important;
  padding-top:clamp(8px,1.2vw,14px)!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-mount.is-playing .game-hud{
  width:min(760px,calc(100% - 24px));
  margin:0 auto;
  padding:4px 0 0!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-mount.is-playing .standard-game{
  margin:0 auto!important;
  padding-top:clamp(10px,1.5vw,18px)!important;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-mount.is-playing .question-card{
  margin-bottom:20px!important;
}

/* Countdown is intentionally larger than the score pill because it drives
   the player's next action. Colors become warmer as time runs out. */
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .hud-time{
  position:relative;
  isolation:isolate;
  min-width:166px!important;
  min-height:72px;
  padding:8px 15px 8px 17px!important;
  overflow:hidden;
  border:3px solid rgba(255,255,255,.98)!important;
  background:linear-gradient(135deg,#7062ff 0%,#a85cff 48%,#ef5da8 100%)!important;
  color:#fff!important;
  box-shadow:0 12px 27px rgba(111,74,208,.34),0 0 0 5px rgba(255,255,255,.23)!important;
  transform:translateZ(0) scale(1.035);
  transition:background .25s ease,box-shadow .25s ease,transform .25s ease;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .hud-time:before{
  position:absolute;
  z-index:-1;
  right:0;
  bottom:0;
  left:0;
  height:7px;
  background:linear-gradient(90deg,#fff1a8,#fff var(--timer-progress),rgba(255,255,255,.2) var(--timer-progress));
  content:'';
  transition:background .25s linear;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .hud-time span{
  color:rgba(255,255,255,.92)!important;
  font-size:.72rem!important;
  letter-spacing:.02em;
  text-shadow:0 1px 2px rgba(51,21,91,.24);
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .hud-time b{
  min-width:58px;
  color:#fff!important;
  font-size:clamp(1.65rem,3vw,2.05rem)!important;
  font-variant-numeric:tabular-nums;
  line-height:1;
  text-align:right;
  text-shadow:0 3px 8px rgba(65,22,91,.3);
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .hud-time.is-countdown b:after{
  margin-left:3px;
  content:'วิ';
  font-size:.66rem;
  font-weight:900;
  opacity:.9;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .hud-time.is-warning{
  background:linear-gradient(135deg,#ffb72e,#ff8b35)!important;
  box-shadow:0 12px 28px rgba(255,139,53,.38),0 0 0 6px rgba(255,232,150,.28)!important;
  animation:egsTimerWarning 1s ease-in-out infinite;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .hud-time.is-danger,
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .hud-time.is-expired{
  background:linear-gradient(135deg,#ff526d,#d7194f)!important;
  box-shadow:0 14px 32px rgba(218,25,79,.48),0 0 0 7px rgba(255,116,144,.26)!important;
  animation:egsTimerDanger .62s ease-in-out infinite;
}
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .hud-time.is-unlimited{
  min-height:58px;
  background:linear-gradient(135deg,#25c696,#14a9bb)!important;
  animation:none!important;
}

@keyframes egsPlayerColorDrift{
  0%{background-position:0% 20%}
  100%{background-position:100% 80%}
}
@keyframes egsTimerWarning{
  0%,100%{transform:scale(1.035)}
  50%{transform:scale(1.075)}
}
@keyframes egsTimerDanger{
  0%,100%{transform:scale(1.035) rotate(0)}
  35%{transform:scale(1.09) rotate(-.8deg)}
  70%{transform:scale(1.09) rotate(.8deg)}
}

@media(max-width:900px){
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-mount.is-playing .game-hud{
    width:min(620px,calc(100% - 18px));
  }
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .hud-time{
    min-width:0!important;
    min-height:62px;
  }
}
@media(max-width:640px){
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-mount.is-playing{
    padding-top:6px!important;
  }
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-mount.is-playing .game-hud{
    width:calc(100% - 8px);
    grid-template-columns:1fr 1.2fr!important;
    gap:7px!important;
  }
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-mount.is-playing .hud-progress{
    grid-column:1/-1;
    grid-row:2;
  }
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .hud-time{
    min-height:58px;
    padding:7px 10px!important;
    transform:none;
  }
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .hud-time b{
    min-width:43px;
    font-size:1.5rem!important;
  }
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .game-mount.is-playing .standard-game{
    padding-top:8px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.egs-kids-theme.game-player-body.game-player-cute-v4117:not(.ar-framed) .play-stage-wrap,
  body.egs-kids-theme.game-player-body.game-player-cute-v4117 .hud-time{
    animation:none!important;
  }
}

/* ========================================================================== 
   EducTools v4.15.3 / Game Studio v1.8.6
   3D classroom hero: integrated split layout, vivid colors, readable copy
   ========================================================================== */
body.egs-kids-theme .kids-hero{
  padding:42px 0 82px;
  background:
    radial-gradient(circle at 8% 18%,rgba(255,216,239,.85) 0 9rem,transparent 20rem),
    radial-gradient(circle at 92% 14%,rgba(176,229,255,.82) 0 10rem,transparent 22rem),
    radial-gradient(circle at 58% 86%,rgba(255,237,171,.58) 0 8rem,transparent 23rem),
    linear-gradient(135deg,#fff6fd 0%,#f1ecff 44%,#eaf8ff 100%);
}
body.egs-kids-theme .kids-hero:before{
  width:380px;
  height:380px;
  left:-170px;
  top:-170px;
  background:linear-gradient(135deg,rgba(255,132,190,.20),rgba(139,85,255,.13));
  filter:blur(2px);
}
body.egs-kids-theme .kids-hero:after{
  width:350px;
  height:350px;
  right:-130px;
  bottom:-155px;
  background:linear-gradient(135deg,rgba(94,206,255,.23),rgba(255,224,108,.18));
}
body.egs-kids-theme .kids-hero-scene{
  display:grid;
  grid-template-columns:minmax(360px,.78fr) minmax(0,1.22fr);
  grid-template-rows:minmax(535px,1fr);
  isolation:isolate;
  overflow:hidden;
  border:7px solid rgba(255,255,255,.92);
  border-radius:42px;
  background:#fff;
  box-shadow:
    0 28px 70px rgba(89,56,145,.18),
    0 8px 24px rgba(40,127,177,.10),
    inset 0 0 0 1px rgba(118,80,195,.08);
}
body.egs-kids-theme .kids-hero-scene:before{
  position:absolute;
  z-index:3;
  top:0;
  bottom:0;
  left:39%;
  width:150px;
  background:linear-gradient(90deg,rgba(249,242,255,.98),rgba(249,242,255,.58),transparent);
  content:"";
  pointer-events:none;
  transform:translateX(-30%);
}
body.egs-kids-theme .kids-hero-scene:after{
  position:absolute;
  z-index:3;
  top:26px;
  left:34px;
  width:92px;
  height:26px;
  border-radius:999px;
  background:
    radial-gradient(circle at 13px 50%,#ff6eaa 0 5px,transparent 6px),
    radial-gradient(circle at 38px 50%,#ffc84d 0 5px,transparent 6px),
    radial-gradient(circle at 63px 50%,#53d8bc 0 5px,transparent 6px),
    rgba(255,255,255,.58);
  box-shadow:0 8px 22px rgba(104,68,165,.10);
  content:"";
  pointer-events:none;
}
body.egs-kids-theme .kids-hero-visual{
  grid-column:2;
  grid-row:1;
  width:100%;
  height:100%;
  min-height:535px;
  max-height:none;
  object-fit:cover;
  object-position:center center;
  filter:saturate(1.08) contrast(1.03);
  transform:scale(1.012);
}
body.egs-kids-theme .kids-hero-copy{
  position:relative;
  z-index:4;
  top:auto;
  left:auto;
  display:flex;
  grid-column:1;
  grid-row:1;
  width:auto;
  min-width:0;
  align-items:flex-start;
  justify-content:center;
  flex-direction:column;
  padding:70px 38px 54px;
  transform:none;
  background:
    radial-gradient(circle at 18% 15%,rgba(255,255,255,.96),transparent 12rem),
    linear-gradient(145deg,rgba(255,248,254,.99),rgba(243,235,255,.98) 58%,rgba(232,248,255,.96));
  text-align:left;
}
body.egs-kids-theme .kids-hero-copy:before,
body.egs-kids-theme .kids-hero-copy:after{
  position:absolute;
  border-radius:50%;
  content:"";
  pointer-events:none;
}
body.egs-kids-theme .kids-hero-copy:before{
  right:36px;
  top:48px;
  width:62px;
  height:62px;
  background:linear-gradient(135deg,#ffd75e,#ff9cc7);
  box-shadow:0 12px 26px rgba(236,126,170,.22);
  opacity:.88;
}
body.egs-kids-theme .kids-hero-copy:after{
  right:105px;
  bottom:58px;
  width:27px;
  height:27px;
  background:#74ddca;
  box-shadow:-39px 22px 0 #a789ff,25px -33px 0 #ffb5cf;
  opacity:.72;
}
body.egs-kids-theme .kids-hero-copy h1{
  position:relative;
  z-index:1;
  margin:0;
  color:#5a35c8;
  font-size:clamp(3rem,4.4vw,5rem);
  font-weight:950;
  line-height:.98;
  letter-spacing:-.04em;
  text-shadow:0 4px 0 rgba(255,255,255,.95),0 12px 26px rgba(94,54,172,.16);
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  body.egs-kids-theme .kids-hero-copy h1{
    background:linear-gradient(110deg,#6a3fe2 0%,#9a4fe7 45%,#ff5b9d 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
  }
}
body.egs-kids-theme .kids-hero-copy h1 span{
  display:block;
  max-width:390px;
  margin-top:18px;
  color:#493e59;
  font-family:"Noto Sans Thai",sans-serif;
  font-size:clamp(1.08rem,1.42vw,1.35rem);
  font-weight:850;
  line-height:1.45;
  letter-spacing:0;
  text-shadow:none;
}
body.egs-kids-theme .kids-hero-copy p{
  position:relative;
  z-index:1;
  max-width:390px;
  margin:13px 0 0;
  color:#62566f;
  font-size:.98rem;
  font-weight:650;
  line-height:1.75;
}
body.egs-kids-theme .kids-hero-actions{
  position:relative;
  z-index:5;
  justify-content:flex-start;
  gap:10px;
  margin-top:24px;
}
body.egs-kids-theme .kids-hero-actions .btn{
  min-width:168px;
  min-height:52px;
  border-radius:17px;
}
body.egs-kids-theme .kids-hero-actions .btn-primary{
  background:linear-gradient(135deg,#8b55ff 0%,#713fe8 56%,#ec58a0 135%);
  box-shadow:0 13px 26px rgba(104,63,221,.28);
}
body.egs-kids-theme .kids-hero-actions .btn-outline{
  border:1px solid rgba(116,77,190,.18);
  background:rgba(255,255,255,.90);
  color:#4f3c68;
  box-shadow:0 11px 24px rgba(80,55,125,.10);
  backdrop-filter:blur(12px);
}
body.egs-kids-theme .kids-hero-note{
  position:relative;
  z-index:5;
  justify-content:flex-start;
  gap:8px;
  margin-top:18px;
  color:#534562;
  font-size:.76rem;
}
body.egs-kids-theme .kids-hero-note span{
  padding:7px 10px 7px 7px;
  border:1px solid rgba(118,83,175,.10);
  border-radius:999px;
  background:rgba(255,255,255,.82);
  box-shadow:0 7px 18px rgba(68,45,110,.07);
  backdrop-filter:blur(10px);
}
body.egs-kids-theme .kids-hero-note i{
  background:linear-gradient(135deg,#5bdab7,#2dbb97);
  color:#fff;
  box-shadow:none;
}
body.egs-kids-theme .kids-cloud-divider{
  height:78px;
  filter:drop-shadow(0 -8px 15px rgba(116,82,174,.05));
}
body.egs-kids-theme .kids-category-shell{margin-top:-31px}

@media(max-width:1100px){
  body.egs-kids-theme .kids-hero-scene{
    grid-template-columns:minmax(330px,.88fr) minmax(0,1.12fr);
    grid-template-rows:minmax(500px,1fr);
  }
  body.egs-kids-theme .kids-hero-visual{min-height:500px}
  body.egs-kids-theme .kids-hero-copy{padding:62px 30px 46px}
  body.egs-kids-theme .kids-hero-copy h1{font-size:clamp(2.8rem,4.3vw,4.3rem)}
  body.egs-kids-theme .kids-hero-actions .btn{min-width:148px;padding-right:15px;padding-left:15px}
}

@media(max-width:820px){
  body.egs-kids-theme .kids-hero{padding:24px 0 66px}
  body.egs-kids-theme .kids-hero-scene{
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
    border-width:5px;
    border-radius:32px;
  }
  body.egs-kids-theme .kids-hero-scene:before{
    top:38%;
    right:0;
    bottom:auto;
    left:0;
    width:auto;
    height:120px;
    background:linear-gradient(180deg,transparent,rgba(246,238,255,.70),rgba(246,238,255,.98));
    transform:none;
  }
  body.egs-kids-theme .kids-hero-scene:after{top:20px;left:22px}
  body.egs-kids-theme .kids-hero-visual{
    grid-column:1;
    grid-row:1;
    aspect-ratio:16/9;
    min-height:0;
    height:auto;
    max-height:410px;
    object-position:center center;
    transform:none;
  }
  body.egs-kids-theme .kids-hero-copy{
    grid-column:1;
    grid-row:2;
    width:100%;
    margin:0;
    padding:34px 28px 38px;
    align-items:center;
    background:linear-gradient(145deg,#fff9fd,#f4edff 58%,#ecfaff);
    text-align:center;
  }
  body.egs-kids-theme .kids-hero-copy:before{top:28px;right:35px;width:45px;height:45px}
  body.egs-kids-theme .kids-hero-copy:after{right:90px;bottom:36px;width:20px;height:20px}
  body.egs-kids-theme .kids-hero-copy h1{font-size:clamp(2.65rem,10vw,4.15rem)}
  body.egs-kids-theme .kids-hero-copy h1 span,
  body.egs-kids-theme .kids-hero-copy p{max-width:610px}
  body.egs-kids-theme .kids-hero-actions,
  body.egs-kids-theme .kids-hero-note{justify-content:center}
  body.egs-kids-theme .kids-category-shell{margin-top:-25px}
}

@media(max-width:520px){
  body.egs-kids-theme .kids-hero{padding-top:14px}
  body.egs-kids-theme .kids-hero-scene{border-width:4px;border-radius:25px}
  body.egs-kids-theme .kids-hero-visual{aspect-ratio:4/3;max-height:330px;object-position:center center}
  body.egs-kids-theme .kids-hero-copy{padding:27px 18px 31px}
  body.egs-kids-theme .kids-hero-copy:before{display:none}
  body.egs-kids-theme .kids-hero-copy h1{font-size:2.65rem;line-height:1}
  body.egs-kids-theme .kids-hero-copy h1 span{margin-top:13px;font-size:.98rem;line-height:1.5}
  body.egs-kids-theme .kids-hero-copy p{font-size:.88rem;line-height:1.7}
  body.egs-kids-theme .kids-hero-actions{display:grid;width:100%;gap:9px;margin-top:20px}
  body.egs-kids-theme .kids-hero-actions .btn{width:100%;min-width:0}
  body.egs-kids-theme .kids-hero-note{gap:6px;margin-top:14px;font-size:.68rem}
  body.egs-kids-theme .kids-hero-note span{padding:6px 8px 6px 6px}
  body.egs-kids-theme .kids-hero-note i{width:18px;height:18px}
  body.egs-kids-theme .kids-cloud-divider{height:48px}
}

@media(prefers-reduced-motion:reduce){
  body.egs-kids-theme .kids-hero-copy:before,
  body.egs-kids-theme .kids-hero-copy:after{animation:none!important}
}

/* ========================================================================== 
   EducTools v4.15.4 / Game Studio v1.8.7
   Hero title clarity hotfix: solid high-contrast text for Safari/mobile.
   ========================================================================== */
body.egs-kids-theme .kids-hero-copy h1{
  color:#5b2fc9!important;
  background:none!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  -webkit-text-fill-color:#5b2fc9!important;
  -webkit-text-stroke:1px rgba(72,30,151,.16);
  paint-order:stroke fill;
  font-weight:950;
  letter-spacing:-.025em;
  text-shadow:
    0 2px 0 rgba(255,255,255,.98),
    0 5px 0 rgba(255,255,255,.56),
    0 13px 25px rgba(75,34,158,.27)!important;
}
body.egs-kids-theme .kids-hero-copy h1 span{
  -webkit-text-fill-color:#40364f!important;
  -webkit-text-stroke:0;
  color:#40364f!important;
  text-shadow:0 2px 7px rgba(255,255,255,.82)!important;
}
@media(max-width:520px){
  body.egs-kids-theme .kids-hero-copy h1{
    font-size:2.72rem;
    line-height:1.04;
    letter-spacing:-.02em;
    text-shadow:
      0 2px 0 rgba(255,255,255,.98),
      0 4px 0 rgba(255,255,255,.52),
      0 10px 20px rgba(75,34,158,.24)!important;
  }
}


/* EducTools v4.16.2: member tools strip */
body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-member-strip.is-member-tools{border-color:rgba(62,203,165,.28);background:linear-gradient(135deg,rgba(245,255,252,.96),rgba(248,244,255,.96));box-shadow:0 14px 34px rgba(62,150,132,.14)}
.play-member-strip .play-member-copy{display:flex;min-width:0;align-items:center;gap:12px}
.play-member-strip .play-member-copy>div{display:grid;min-width:0;gap:3px}
.play-member-strip .play-member-icon{display:grid;width:46px;height:46px;flex:0 0 46px;place-items:center;border-radius:15px;background:linear-gradient(145deg,#45d4af,#7a5cf4);color:#fff;font-size:1.35rem;box-shadow:0 8px 18px rgba(70,163,143,.22)}
.play-member-strip .play-member-actions{display:flex;flex:none;align-items:center;justify-content:flex-end;gap:8px}
.play-member-strip .play-member-actions>a{display:inline-flex;min-height:42px;align-items:center;justify-content:center;padding:9px 13px;border:1px solid rgba(104,76,169,.14);border-radius:13px;background:#fff;color:#4d376b;font-size:.82rem;font-weight:900;box-shadow:0 6px 15px rgba(70,45,127,.08)}
.play-member-strip .play-member-actions>a.is-primary{border-color:transparent;background:linear-gradient(90deg,#7658f7,#c44fd5);color:#fff;box-shadow:0 9px 20px rgba(111,75,196,.2)}
@media(max-width:900px){body.egs-kids-theme.game-player-body.game-player-cute-v4117 .play-member-strip.is-member-tools{align-items:flex-start;flex-direction:column}.play-member-strip .play-member-actions{width:100%;flex-wrap:wrap;justify-content:flex-start}.play-member-strip .play-member-actions>a{flex:1 1 145px}}
@media(max-width:520px){.play-member-strip .play-member-copy{align-items:flex-start}.play-member-strip .play-member-icon{width:40px;height:40px;flex-basis:40px;border-radius:13px}.play-member-strip .play-member-actions{display:grid;grid-template-columns:1fr 1fr}.play-member-strip .play-member-actions>a{width:100%;font-size:.78rem}.play-member-strip .play-member-actions>a:last-child{grid-column:1/-1}}

/* ========================================================================== 
   EducTools v4.20.1 - compact Free/Pro badge on public game covers
   ========================================================================== */
body.egs-kids-theme .public-game-cover > .game-access-ribbon {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 7 !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 24px) !important;
  height: auto !important;
  min-height: 28px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 6px 12px !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  font-family: "Noto Sans Thai", "Prompt", Tahoma, sans-serif !important;
  font-size: .75rem !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
  pointer-events: none !important;
}
body.egs-kids-theme .public-game-card:hover .public-game-cover > .game-access-ribbon {
  transform: none !important;
  filter: none !important;
}
@media (max-width: 760px) {
  body.egs-kids-theme .public-game-cover > .game-access-ribbon {
    top: 9px !important;
    left: 9px !important;
    max-width: calc(100% - 18px) !important;
    min-height: 25px !important;
    padding: 5px 10px !important;
    font-size: .68rem !important;
  }
}
@media (max-width: 420px) {
  body.egs-kids-theme .public-game-cover > .game-access-ribbon {
    top: 8px !important;
    left: 8px !important;
    min-height: 24px !important;
    padding: 4px 9px !important;
    font-size: .65rem !important;
  }
}
