.cj-msg{padding:20px;color:#666;font-size:12px}
#home_content #destaque{min-height:100px}
#home_content .game img{object-fit:cover;background:#ddd}
#cj-game{width:100%;text-align:left;font:13px Verdana,Arial,sans-serif;color:#222}
#cj-titlebar{display:flex;align-items:center;gap:12px;border:1px solid #ddd;background:#f6f6f6;padding:4px 8px;margin:0 0 10px}
#cj-titlebar img{border-radius:12px}#cj-titlebar h1{font:bold 17px "Trebuchet MS",Arial;flex:1;margin:0}
#cj-crumbs{font-size:14px}#cj-crumbs a{color:#003}
#cj-info{display:flex;gap:30px;padding:0 6px 14px}#cj-desc{flex:1.4;font-size:15px;line-height:1.7}#cj-how{flex:1}
#cj-how h3{color:#e10000;font-size:15px;margin:0 0 6px}#cj-how i,.cj-btn i{font-style:normal;margin-right:6px}
#cj-desc small{color:#888;font-size:14px;margin-left:6px}
.cj-btn{display:inline-block;margin-top:10px;padding:5px 12px;border:1px solid #ccc;background:linear-gradient(#fff,#e8e8e8);border-radius:3px;font:bold 13px Arial;color:#000;text-decoration:none}
#cj-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#f1f3f6;padding:9px 10px;font-size:13px}
#cj-bar b{color:#e10000;font-size:14px}#cj-bar a{color:#003;text-decoration:none;white-space:nowrap}#cj-bar a u{text-decoration:underline}
#cj-bar i{font-style:normal;margin-right:3px}#cj-bar a.on{font-weight:bold;background:#ffe9a8;border-radius:3px}
.cj-sep{width:1px;height:16px;background:#ccc;margin:0 6px}.cj-right{margin-left:auto;display:flex;gap:16px}
#cj-frame{border:1px solid #ddd;border-radius:6px;background:#fff;padding:10px;margin:5px 0 18px;box-shadow:inset 0 0 6px #eee}
#cj-player{position:relative;width:100%;max-width:960px;margin:0 auto;background:#000;aspect-ratio:16/9}
#cj-player ruffle-player,#cj-player ruffle-embed{position:absolute;inset:0;width:100%;height:100%;display:block}
#cj-loading{position:absolute;inset:0;z-index:5;background:#000;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:opacity .4s}
#cj-loading.done{opacity:0;pointer-events:none}
#cj-prev{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.45)}
#cj-loadtxt{position:relative;color:#fff;font:bold 20px "Courier New",monospace;letter-spacing:3px;text-shadow:0 0 6px #000;animation:cjb 1.2s infinite}
@keyframes cjb{50%{opacity:.45}}
#cj-loading.err #cj-loadtxt{animation:none;color:#f66;font-size:16px;text-align:center;padding:0 20px}
#cj-player:fullscreen{max-width:none;aspect-ratio:auto}
#cj-cats{background:#f1f3f6;border:1px solid #e3e3e3;padding:10px 12px;margin-bottom:14px}#cj-cats b{color:#e10000;font-size:14px}
#cj-cats a{color:#003;margin-right:22px;display:inline-block;margin-top:5px}#cj-cats a.all{color:#e10000;font-weight:bold}#cj-cats i{font-style:normal}
@media(max-width:700px){#cj-info{flex-direction:column;gap:10px}}
#novos,#populares{clear:both;overflow:hidden}
#novos .game{float:left;width:206px;margin:0 0 14px 0;min-height:70px}
#populares .game{float:left;width:156px;margin:0 0 14px 0;min-height:70px}
#populares .game p,#novos .game p{margin-right:6px}
#recent_games{min-height:90px}
#novos .game,#populares .game{display:grid;grid-template-columns:76px 1fr;grid-template-rows:auto 1fr;column-gap:8px;align-content:start}
#novos .game .image,#populares .game .image{grid-row:1/3;float:none;margin:0}
#novos .game h3,#populares .game h3,#novos .game p,#populares .game p{margin-left:0;padding-left:0;float:none;width:auto}
#home_content.show-results>:not(#cj-results){display:none}
#cj-results{display:none}#home_content.show-results #cj-results{display:block}
#cj-list .game{float:left;width:206px;margin:0 0 14px 0;min-height:70px;display:grid;grid-template-columns:76px 1fr;grid-template-rows:auto 1fr;column-gap:8px;align-content:start}
#cj-list .game .image{grid-row:1/3;float:none;margin:0}#cj-list .game h3,#cj-list .game p{margin-left:0;padding-left:0;float:none;width:auto}
#cj-list{padding-top:6px;overflow:hidden;clear:both}
#cj-list .game img{object-fit:cover;background:#ddd}
#channels li.cj-active{background:#ffe9cc}
#cj-toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%) translateY(20px);background:#333;color:#fff;padding:10px 18px;border-radius:4px;font:13px Verdana,Arial;opacity:0;pointer-events:none;transition:.3s;z-index:99}
#cj-toast.show{opacity:.95;transform:translateX(-50%)}
#cj-cats a.cj-cat{display:inline-block;padding:0 0 0 38px;height:24px;line-height:24px;margin:5px 18px 0 0;color:#003;font-weight:bold;font-size:12px;text-decoration:underline}
/* Como jogar (usa as classes key-* do site original) */
#cj-how #game_show .instructions{float:none;width:auto}
#cj-how .instructions ul{margin:0;padding:0}
#cj-how .instructions ul li{overflow:hidden;font-size:14px;line-height:17px;padding:4px 0}
#cj-how .instructions ul li span{padding:0 8px 0 4px;font-size:14px}
.cj-tk{display:block;float:left;margin-right:2px;min-width:16px;height:16px;line-height:14px;padding:0 3px;font:bold 9px Verdana,Arial;font-style:normal;text-align:center;color:#555;background:linear-gradient(#f4f4f4,#d4d4d4);border:1px solid #bbb;border-radius:3px;box-sizing:border-box}
/* Avaliação */
#cj-bar a img{vertical-align:middle;margin-right:3px}
/* Categorias */
#cj-below{background:#f9f9f9;border-bottom:1px solid #eee;padding:14px 18px 16px;margin:0 0 18px}
#cj-cats{background:none;border:0;padding:0;margin:0}
#cj-cats b{color:#e10000;font-size:14px;display:block;margin-bottom:6px}
#cj-catlist{display:grid;grid-template-columns:repeat(4,1fr);gap:4px 10px}
#cj-cats a.cj-cat{margin:0;display:block;font-size:13px;font-weight:bold;color:#e10000;text-decoration:underline;padding-left:40px;height:30px;line-height:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#cj-cats a.cj-unk{background:url(img/icons.png) no-repeat 8px -1968px}
#cj-cats a.all{margin:0;background:url(img/global_sprite.png) no-repeat 8px -408px;padding-left:40px;color:#e10000}
#cj-cats a.all i{display:none}
.cj-h{color:#e10000;font:bold 18px "Trebuchet MS",Arial;margin:14px 0 8px;padding-top:14px;border-top:1px solid #ddd}
#cj-reclist{display:flex;gap:22px}
.cj-g{width:140px;text-align:center;font-size:11px;line-height:16px;color:#555}
.cj-g .im{display:block;width:140px;height:102px;border:1px solid #ccc;background:#fff;padding:0;overflow:hidden}
.cj-g .im img{width:100%;height:100%;object-fit:cover;display:block}
.cj-g a.t{display:block;margin:10px 0 3px;color:#e10000;font:bold 14px "Trebuchet MS",Arial;text-decoration:underline;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cj-g a.t.pk{color:#e0289a}
#cj-tweet{border-top:1px solid #ddd;margin-top:16px;padding-top:14px;font-size:14px}
#cj-tweet b{color:#e10000}#cj-tweet b span{color:#1b6bd4}
#cj-tweet a{font-size:10px;color:#999;margin-left:6px}
#cj-tweet input{width:415px;max-width:70%;padding:5px 6px;border:1px solid #ccc;margin-top:6px;font:12px Verdana,Arial}
#cj-tweet button{margin-left:4px;padding:4px 10px;border:1px solid #aaa;background:linear-gradient(#fff,#ddd);font:bold 12px Verdana,Arial;cursor:pointer;border-radius:2px}
#cj-tabs{display:flex;gap:12px;border-bottom:1px solid #ddd;padding:0 0 0 0}
#cj-tabs a{padding:11px 28px;border:1px solid #ddd;border-bottom:0;background:#f4f4f4;color:#777;font:bold 13px "Trebuchet MS",Arial;text-decoration:underline;border-radius:3px 3px 0 0;margin-bottom:-1px}
#cj-tabs a.on{background:#fff;color:#555;text-decoration:none;position:relative;padding-left:44px}
#cj-tabs a.on::before{content:"";position:absolute;left:24px;top:13px;width:12px;height:12px;border-radius:50%;background:#ccc;box-shadow:inset 0 0 0 3px #eee}
#cj-tabbody{display:grid;grid-template-columns:repeat(6,140px);justify-content:space-between;gap:20px 10px;padding:14px 0 12px}
#cj-tabbody .cj-msg{grid-column:1/-1}
#cj-more{border-top:1px solid #e3e3e3;padding:8px 0 20px}
#cj-more a{padding-left:24px;background:url(img/global_sprite.png) no-repeat 0 -408px;font:bold 13px "Trebuchet MS",Arial;color:#e10000;line-height:20px;display:inline-block}
@media(max-width:900px){#cj-catlist{grid-template-columns:repeat(2,1fr)}#cj-tabbody{grid-template-columns:repeat(3,140px)}#cj-reclist{flex-wrap:wrap}}
#cj-cats a.cj-cat{height:24px;line-height:24px;margin:3px 0}
#cj-below h2.cj-h{background:none;border:0;border-top:1px solid #ddd;height:auto;line-height:1.2;padding:14px 0 0;margin:16px 0 10px}
#cj-below h2.cj-h::before{display:none}
/* Descrição longa: mostra só uma parte e mantém as linhas alinhadas */
#novos .game,#populares .game,#cj-list .game{height:72px;min-height:0;overflow:hidden}
#novos .game p,#populares .game p,#cj-list .game p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;line-height:14px;max-height:42px;margin-top:0}
.highlight_page .game p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
.cj-g{height:auto}
.cj-g .d{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;height:48px}
#cj-tabbody .cj-g,#cj-reclist .cj-g{height:196px}
#novos .game h3,#populares .game h3,#cj-list .game h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#novos .game h3 a,#populares .game h3 a,#cj-list .game h3 a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#novos .game>*,#populares .game>*,#cj-list .game>*{min-width:0}
#novos .game h3,#populares .game h3,#cj-list .game h3{line-height:20px;height:20px;margin:0;padding:0}
#novos .game h3 a,#populares .game h3 a,#cj-list .game h3 a{line-height:18px;padding-top:2px}
