<!DOCTYPE html>
<html lang="pt-BR">
<head>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-1133373-11"></script>
    <script>
        window.dataLayer = window.dataLayer || [];
        function gtag(){dataLayer.push(arguments);}
        gtag('js', new Date());
        gtag('config', 'UA-1133373-11');
    </script>

	<title>contoseroticos.top</title>
	<meta charset='UTF-8'/>
    <meta name="description" content="Contos eróticos, histórias e relatos enviados por autores amadores" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    
    
    <link rel="alternate" type="application/atom+xml" title="contoseroticos.top" href="/feed" />
    <link rel="stylesheet" href="/style.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400&family=Noto+Serif:ital,wght@0,400;0,700;1,400&family=Playfair+Display:wght@400;700&family=Roboto:wght@400;700&display=swap" />
    <script>
    (function() {
        var auth = document.cookie.match(/user-authenticated=1/);
        document.documentElement.classList.add(auth ? 'authenticated' : 'anonymous');
        var roles = (document.cookie.match(/user-roles=([^;]+)/) || [])[1];
        if (roles) {
            roles.split(',').forEach(function(r) {
                document.documentElement.classList.add('role-' + r.trim());
            });
        }
    })();
    </script>
</head>

<body>

    <input type="checkbox" id="menu-toggle" class="menu-toggle" aria-controls="menu" />
    <input type="checkbox" id="search-toggle" class="search-toggle" />

    <div class="mm-page">

        <div id="header">
            <label for="menu-toggle" aria-label="Menu"></label>
            contoseroticos.top
            <label for="search-toggle" class="header-search-btn" aria-label="Busca"></label>
        </div>

        <nav class="desktop-nav" aria-label="Menu principal">
            <div class="desktop-nav-inner">
                <a href="/" class="desktop-nav-logo">contoseroticos.top</a>
                <ul class="desktop-nav-links">
                    <li><a href="/">Início</a></li>
                    <li><a href="/arquivo">Arquivo</a></li>
                    <li class="has-dropdown">
                        <a href="/categorias">Categorias <span class="caret"></span></a>
                        <ul class="dropdown dropdown-categories">
                            <li><a href="/categoria/hetero">Hétero</a></li>
                            <li><a href="/categoria/gay">Gay</a></li>
                            <li><a href="/categoria/lesbicas">Lésbicas</a></li>
                            <li><a href="/categoria/fantasias">Fantasias</a></li>
                            <li><a href="/categoria/incesto">Incesto</a></li>
                            <li><a href="/categoria/fetiches">Fetiches</a></li>
                            <li><a href="/categoria/infidelidade">Infidelidade</a></li>
                            <li><a href="/categoria/cuckold">Cuckold</a></li>
                            <li><a href="/categoria/grupal">Grupal</a></li>
                            <li><a href="/categoria/primeira-vez">Primeira Vez</a></li>
                            <li><a href="/categoria/exibicionismo">Exibicionismo</a></li>
                            <li><a href="/categoria/maturidade">Maturidade</a></li>
                            <li><a href="/categoria/interracial">Interracial</a></li>
                            <li><a href="/categoria/hardcore">Hardcore</a></li>
                            <li><a href="/categoria/bdsm">BDSM</a></li>
                        </ul>
                    </li>
                    <li class="has-dropdown">
                        <span>Rankings <span class="caret"></span></span>
                        <div class="dropdown dropdown-rankings">
                            <div class="dropdown-col">
                                <span class="dropdown-col-label">Votos</span>
                                <a href="/ranking/votos/semana">Semana</a>
                                <a href="/ranking/votos/mes">Mês</a>
                                <a href="/ranking/votos/todos">Todos</a>
                            </div>
                            <div class="dropdown-col">
                                <span class="dropdown-col-label">Comentários</span>
                                <a href="/ranking/comentarios/semana">Semana</a>
                                <a href="/ranking/comentarios/mes">Mês</a>
                                <a href="/ranking/comentarios/todos">Todos</a>
                            </div>
                            <div class="dropdown-col">
                                <span class="dropdown-col-label">Leituras</span>
                                <a href="/ranking/leituras/semana">Semana</a>
                                <a href="/ranking/leituras/mes">Mês</a>
                                <a href="/ranking/leituras/ano">Ano</a>
                                <a href="/ranking/leituras/todos">Todos</a>
                            </div>
                            <div class="dropdown-col">
                                <span class="dropdown-col-label">Autores</span>
                                <a href="/ranking/autores/semana">Semana</a>
                                <a href="/ranking/autores/mes">Mês</a>
                                <a href="/ranking/autores/todos">Todos</a>
                            </div>
                        </div>
                    </li>
                    <li><a href="/aleatorio">Aleatório</a></li>
                    <li class="show-auth"><a href="/escrever">Publique</a></li>
                </ul>
                <div class="desktop-nav-right">
                    <form action="/busca" method="get" class="desktop-search">
                        <input type="text" name="q" placeholder="Buscar..." class="desktop-search-input" aria-label="Busca" />
                        <button type="submit" class="desktop-search-btn" aria-label="Busca"></button>
                    </form>
                    <span class="show-guest desktop-nav-auth">
                        <a href="/login" class="desktop-nav-btn">Login</a>
                        <a href="/cadastro" class="desktop-nav-btn desktop-nav-btn-primary">Cadastre-se</a>
                    </span>
                    <span class="show-auth desktop-nav-auth">
                        <a href="/painel" class="desktop-nav-btn">Painel</a>
                        <a href="/favoritos" class="desktop-nav-btn">Favoritos</a>
                    </span>
                    <a href="/admin" class="show-admin desktop-nav-btn desktop-nav-btn-outline">Administração</a>
                    <button type="button" class="desktop-theme-toggle" id="desktop-theme-toggle" aria-label="Modo claro"></button>
                </div>
            </div>
        </nav>


        <main class="content">

            

            

            <?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
        <loc>https://contoseroticos.top/</loc>
        <changefreq>daily</changefreq>
        <priority>1.0</priority>
    </url>
    <url>
        <loc>https://contoseroticos.top/arquivo</loc>
        <changefreq>daily</changefreq>
        <priority>0.8</priority>
    </url>
    <url>
        <loc>https://contoseroticos.top/categorias</loc>
        <changefreq>weekly</changefreq>
        <priority>0.7</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/craque/realizei_uma_fantasia_minha_com_ajuda_de_um_amigo_do_sexlog</loc>
        <lastmod>2018-12-02</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/maximusjrs/clientes/no_paraiso_com_nataly_</loc>
        <lastmod>2018-11-11</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/maximusjrs/tarde_de_sexta_feira_no_escritorio_</loc>
        <lastmod>2018-11-11</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/mila/o_promotor_nao_aguentou_e_me_fudeu</loc>
        <lastmod>2018-05-27</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/mila/trepada_com_o_professor_valendo_nota</loc>
        <lastmod>2018-05-27</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/mila/fodida_pelo_piloto_machao</loc>
        <lastmod>2018-05-27</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/mila/furando_o_olho_da_amiga</loc>
        <lastmod>2018-05-27</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/mila/meu_primo_estourou_meu_cabacinho_2</loc>
        <lastmod>2018-05-27</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/gay/as_minhas_primeiras_vezes_com_o_marco_antonio_2</loc>
        <lastmod>2018-03-01</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/anal/como_gostaria_de_ser_arrombada</loc>
        <lastmod>2017-06-19</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/contos_de_daniel/realizei_a_vontade_da_mulher_do_meu_amigo_ahhh_e_ele_vendo_tudo_</loc>
        <lastmod>2016-08-29</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/contos_de_daniel/transei_com_a_coroa_amiga_da_minha_mae_</loc>
        <lastmod>2016-07-20</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/prof_andre/diario_de_classe/diario_de_classe_1_bia</loc>
        <lastmod>2016-04-14</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/bola/aprendizado_com_a_surda_evangelica</loc>
        <lastmod>2015-10-27</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/x/a_do_outro_e_sempre_melhor_</loc>
        <lastmod>2015-08-18</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/x/a_coroa_tatuada</loc>
        <lastmod>2015-08-18</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/gay/um_outro_prazer</loc>
        <lastmod>2015-07-21</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/gay/dando_ao_sol</loc>
        <lastmod>2015-07-21</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/morenoshowdebola/a_medica_casada_2</loc>
        <lastmod>2015-07-13</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/hetero/ela_merece</loc>
        <lastmod>2015-07-11</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/eduardo/a_dor_da_traicao</loc>
        <lastmod>2014-11-11</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/juliana/a_era_adormecida</loc>
        <lastmod>2014-11-05</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/juliana/meu_amigo_bem_dotado</loc>
        <lastmod>2014-11-04</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/juliana/sofrimento_nada_virtual</loc>
        <lastmod>2014-11-04</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/juliana/tadinha_de_mim</loc>
        <lastmod>2014-11-04</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/juliana/viagem_a_africa</loc>
        <lastmod>2014-11-04</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/juliana/dona_xepa_dona_puta_</loc>
        <lastmod>2014-11-04</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/juliana/sexo_anal_e_demais_</loc>
        <lastmod>2014-11-04</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/juliana/a_executiva_que_virou_striper</loc>
        <lastmod>2014-11-04</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/eduardo/induzindo_a_professora_de_matematica</loc>
        <lastmod>2014-09-10</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/eduardo/arregacada_por_um_pau_e_um_consolo</loc>
        <lastmod>2014-09-09</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/eduardo/meu_aluninho_</loc>
        <lastmod>2013-10-15</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/eduardo/a_dancarina</loc>
        <lastmod>2013-08-01</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>


    <url>
        <loc>https://contoseroticos.top/Gordos </loc>
        <lastmod>2018-12-25</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Craque</loc>
        <lastmod>2018-12-02</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Junior26</loc>
        <lastmod>2018-11-14</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Maximusjrs</loc>
        <lastmod>2018-11-11</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Comentarios</loc>
        <lastmod>2018-09-22</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/2</loc>
        <lastmod>2018-09-17</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Chewtop</loc>
        <lastmod>2018-08-10</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Moura</loc>
        <lastmod>2018-08-09</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Patricia</loc>
        <lastmod>2018-07-31</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Contos e videos</loc>
        <lastmod>2018-07-22</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Com leite</loc>
        <lastmod>2018-07-16</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Amor</loc>
        <lastmod>2018-07-11</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Bezukay</loc>
        <lastmod>2018-05-29</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/??</loc>
        <lastmod>2018-05-22</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Fuck</loc>
        <lastmod>2018-04-16</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Mila</loc>
        <lastmod>2018-04-07</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Jota</loc>
        <lastmod>2018-03-12</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Gay</loc>
        <lastmod>2018-03-01</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Contos rv</loc>
        <lastmod>2018-01-18</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/fabio santos</loc>
        <lastmod>2017-12-18</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/contos reais</loc>
        <lastmod>2017-11-25</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/NEW </loc>
        <lastmod>2017-10-29</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/fabio</loc>
        <lastmod>2017-08-25</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Björn </loc>
        <lastmod>2017-07-28</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/zz</loc>
        <lastmod>2017-06-28</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Anal</loc>
        <lastmod>2017-06-19</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Sexo </loc>
        <lastmod>2017-04-13</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Secreta2</loc>
        <lastmod>2017-02-04</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Lirius</loc>
        <lastmod>2017-01-16</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Jotape</loc>
        <lastmod>2016-12-18</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/F:\Movies</loc>
        <lastmod>2016-11-09</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Palmeiras</loc>
        <lastmod>2016-09-25</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/meus documentos</loc>
        <lastmod>2016-09-11</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Histórias</loc>
        <lastmod>2016-09-05</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/https://web.facebook.com/marciocmonteiro</loc>
        <lastmod>2016-08-22</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/c</loc>
        <lastmod>2016-07-31</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/comecu</loc>
        <lastmod>2016-07-26</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/relatos</loc>
        <lastmod>2016-07-24</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Contos De Daniel</loc>
        <lastmod>2016-07-20</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/daniel </loc>
        <lastmod>2016-06-10</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/sexo</loc>
        <lastmod>2016-05-15</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Flu</loc>
        <lastmod>2016-05-06</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Prof. André</loc>
        <lastmod>2016-04-14</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Silva</loc>
        <lastmod>2016-03-12</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Moreno</loc>
        <lastmod>2015-12-26</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/escritor</loc>
        <lastmod>2015-12-23</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/nando</loc>
        <lastmod>2015-12-22</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Tesudo</loc>
        <lastmod>2015-12-10</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/oi</loc>
        <lastmod>2015-12-08</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Novinho 20cm</loc>
        <lastmod>2015-12-08</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Anais</loc>
        <lastmod>2015-12-01</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/done</loc>
        <lastmod>2015-11-24</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/ricardaobaiano</loc>
        <lastmod>2015-11-19</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/derique</loc>
        <lastmod>2015-11-12</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Clara</loc>
        <lastmod>2015-11-07</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Qwert</loc>
        <lastmod>2015-11-02</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Hétero</loc>
        <lastmod>2015-10-29</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Doc</loc>
        <lastmod>2015-10-26</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Safada</loc>
        <lastmod>2015-10-16</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Cabei de fuder</loc>
        <lastmod>2015-10-14</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/quente</loc>
        <lastmod>2015-10-12</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Lésbicas</loc>
        <lastmod>2015-10-02</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/ml</loc>
        <lastmod>2015-09-28</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Não sei</loc>
        <lastmod>2015-09-20</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Nampnars</loc>
        <lastmod>2015-09-19</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Cris</loc>
        <lastmod>2015-09-14</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Hu3 BR</loc>
        <lastmod>2015-09-12</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/gmail</loc>
        <lastmod>2015-09-08</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/alves</loc>
        <lastmod>2015-08-24</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/imagens</loc>
        <lastmod>2015-08-24</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/x</loc>
        <lastmod>2015-08-18</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Luna♡</loc>
        <lastmod>2015-08-14</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/10</loc>
        <lastmod>2015-08-11</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/isaisa</loc>
        <lastmod>2015-08-10</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Os Eduardos</loc>
        <lastmod>2015-08-10</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/N</loc>
        <lastmod>2015-08-04</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/documentos</loc>
        <lastmod>2015-08-02</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/velho</loc>
        <lastmod>2015-07-29</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/erotico</loc>
        <lastmod>2015-07-27</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/passat10cruze12</loc>
        <lastmod>2015-07-27</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/meus contos</loc>
        <lastmod>2015-07-25</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Morenoshowdebola</loc>
        <lastmod>2015-07-13</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Amigo</loc>
        <lastmod>2015-07-13</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/app</loc>
        <lastmod>2015-07-09</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/bruno</loc>
        <lastmod>2015-07-09</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Esporte</loc>
        <lastmod>2015-07-07</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Hetero</loc>
        <lastmod>2015-07-06</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Novinhas</loc>
        <lastmod>2015-07-02</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/gay</loc>
        <lastmod>2015-07-02</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Sexo</loc>
        <lastmod>2015-07-02</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Cialis</loc>
        <lastmod>2015-06-30</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/1</loc>
        <lastmod>2015-06-30</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Coelho</loc>
        <lastmod>2015-06-30</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Teste</loc>
        <lastmod>2015-06-30</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/:-) luh</loc>
        <lastmod>2015-06-29</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Engenheiro P.F</loc>
        <lastmod>2015-06-29</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/safado</loc>
        <lastmod>2015-06-28</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/A</loc>
        <lastmod>2015-06-27</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/hetero</loc>
        <lastmod>2015-06-25</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/Mk</loc>
        <lastmod>2015-06-23</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/dink69a</loc>
        <lastmod>2015-06-17</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/amigo-comedor</loc>
        <lastmod>2015-06-15</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/juliana</loc>
        <lastmod>2014-11-03</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/suzan</loc>
        <lastmod>2013-07-20</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/eduardo</loc>
        <lastmod>2013-07-20</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.6</priority>
    </url>


    <url>
        <loc>https://contoseroticos.top/maximusjrs/clientes</loc>
        <lastmod>2018-11-11</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.7</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/prof_andre/diario_de_classe</loc>
        <lastmod>2016-04-14</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.7</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/os_eduardos/amiga_da_mamae_2</loc>
        <lastmod>2015-08-16</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.7</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/os_eduardos/amiga_da_mamae</loc>
        <lastmod>2015-08-16</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.7</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/velho/coroa</loc>
        <lastmod>2015-07-30</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.7</priority>
    </url>

    <url>
        <loc>https://contoseroticos.top/eduardo/primeira_serie</loc>
        <lastmod>2013-09-09</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.7</priority>
    </url>

</urlset>


            <form action="/busca" method="get" class="busca-form">
                <input type="text" name="q" placeholder="Buscar..." class="busca-campo" aria-label="Busca" />
                <button type="submit" class="busca-btn">OK</button>
            </form>

        </main>

        <footer id="footer">
            <div class="footer-grid">
                <div class="footer-col">
                    <p class="footer-desc">Contos eróticos, histórias e relatos enviados por autores amadores</p>
                </div>
                <div class="footer-col">
                    <h4>Categorias</h4>
                    <ul>
                        <li><a href="/categoria/hetero">Hétero</a></li>
                        <li><a href="/categoria/gay">Gay</a></li>
                        <li><a href="/categoria/lesbicas">Lésbicas</a></li>
                        <li><a href="/categoria/fantasias">Fantasias</a></li>
                        <li><a href="/categoria/incesto">Incesto</a></li>
                        <li><a href="/categoria/fetiches">Fetiches</a></li>
                        <li><a href="/categoria/infidelidade">Infidelidade</a></li>
                        <li><a href="/categoria/cuckold">Cuckold</a></li>
                    </ul>
                </div>
                <div class="footer-col">
                    <h4>&nbsp;</h4>
                    <ul>
                        <li><a href="/categoria/grupal">Grupal</a></li>
                        <li><a href="/categoria/primeira-vez">Primeira Vez</a></li>
                        <li><a href="/categoria/exibicionismo">Exibicionismo</a></li>
                        <li><a href="/categoria/maturidade">Maturidade</a></li>
                        <li><a href="/categoria/interracial">Interracial</a></li>
                        <li><a href="/categoria/hardcore">Hardcore</a></li>
                        <li><a href="/categoria/bdsm">BDSM</a></li>
                    </ul>
                </div>
                <div class="footer-col">
                    <h4>Links</h4>
                    <ul>
                        <li><a href="/">Início</a></li>
            <li><a href="/arquivo">Arquivo</a></li>
            <li><a href="/aleatorio">Aleatório</a></li>
                        <li><a href="/ranking/votos/todos">Mais votados de todos os tempos</a></li>
                        <li><a href="/escrever">Publique</a></li>
                        <li><a href="/cadastro">Cadastre-se</a></li>
                    </ul>
                </div>
            </div>
            <p class="footer-copy">&copy; 2026 contoseroticos.top</p>
        </footer>

    </div>

    <div class="search-overlay">
        <form action="/busca" method="get" class="search-overlay-form">
            <input type="text" name="q" placeholder="Buscar..." class="search-overlay-input" aria-label="Busca" />
            <button type="submit" class="search-overlay-btn">OK</button>
        </form>
        <label for="search-toggle" class="search-overlay-close">&#10005;</label>
    </div>

    <label for="menu-toggle" class="menu-overlay"></label>

    <nav id="menu" aria-label="Menu principal">
        <div class="menu-header">
            <label for="menu-toggle" class="menu-close" aria-label="Fechar menu">&#10005;</label>
        </div>
        <ul>
            <li class="menu-section">Navegação</li>
            <li><a href="/">Início</a></li>
            <li><a href="/arquivo">Arquivo</a></li>
            <li class="has-submenu">
                <input type="checkbox" id="cat-toggle" class="submenu-toggle" />
                <label for="cat-toggle">Categorias</label>
                <ul>
                    <li><a href="/categoria/hetero">Hétero</a></li>
                    <li><a href="/categoria/gay">Gay</a></li>
                    <li><a href="/categoria/lesbicas">Lésbicas</a></li>
                    <li><a href="/categoria/fantasias">Fantasias</a></li>
                    <li><a href="/categoria/incesto">Incesto</a></li>
                    <li><a href="/categoria/fetiches">Fetiches</a></li>
                    <li><a href="/categoria/infidelidade">Infidelidade</a></li>
                    <li><a href="/categoria/cuckold">Cuckold</a></li>
                    <li><a href="/categoria/grupal">Grupal</a></li>
                    <li><a href="/categoria/primeira-vez">Primeira Vez</a></li>
                    <li><a href="/categoria/exibicionismo">Exibicionismo</a></li>
                    <li><a href="/categoria/maturidade">Maturidade</a></li>
                    <li><a href="/categoria/interracial">Interracial</a></li>
                    <li><a href="/categoria/hardcore">Hardcore</a></li>
                    <li><a href="/categoria/bdsm">BDSM</a></li>
                </ul>
            </li>
            <li class="has-submenu">
                <input type="checkbox" id="rank-toggle" class="submenu-toggle" />
                <label for="rank-toggle">Rankings</label>
                <ul>
                    <li class="menu-subgroup">Votos</li>
                    <li><a href="/ranking/votos/semana">Semana</a></li>
                    <li><a href="/ranking/votos/mes">Mês</a></li>
                    <li><a href="/ranking/votos/todos">Todos</a></li>
                    <li class="menu-subgroup">Comentários</li>
                    <li><a href="/ranking/comentarios/semana">Semana</a></li>
                    <li><a href="/ranking/comentarios/mes">Mês</a></li>
                    <li><a href="/ranking/comentarios/todos">Todos</a></li>
                    <li class="menu-subgroup">Leituras</li>
                    <li><a href="/ranking/leituras/semana">Semana</a></li>
                    <li><a href="/ranking/leituras/mes">Mês</a></li>
                    <li><a href="/ranking/leituras/ano">Ano</a></li>
                    <li><a href="/ranking/leituras/todos">Todos</a></li>
                    <li class="menu-subgroup">Autores</li>
                    <li><a href="/ranking/autores/semana">Semana</a></li>
                    <li><a href="/ranking/autores/mes">Mês</a></li>
                    <li><a href="/ranking/autores/todos">Todos</a></li>
                </ul>
            </li>
            <li class="menu-section">Minha Conta</li>
            <li class="show-auth"><a href="/escrever">Publique</a></li>
            <li class="show-auth"><a href="/painel">Painel</a></li>
            <li class="show-auth"><a href="/favoritos">Favoritos</a></li>
            <li class="show-guest"><a href="/login">Login</a></li>
            <li class="show-guest"><a href="/cadastro">Cadastre-se</a></li>
            <li class="show-admin"><a href="/admin">Administração</a></li>
        </ul>
        <div class="theme-switch">
            <input type="checkbox" id="theme-toggle" />
            <label for="theme-toggle">Modo claro</label>
        </div>
    </nav>

<script>
(function() {
    var saved = localStorage.getItem('theme');
    if (saved === 'light') {
        document.documentElement.setAttribute('data-theme', 'light');
    }
})();
document.addEventListener('DOMContentLoaded', function() {

    var themeToggle = document.getElementById('theme-toggle');
    if (localStorage.getItem('theme') === 'light') {
        themeToggle.checked = true;
    }
    themeToggle.addEventListener('change', function() {
        if (this.checked) {
            document.documentElement.setAttribute('data-theme', 'light');
            localStorage.setItem('theme', 'light');
        } else {
            document.documentElement.removeAttribute('data-theme');
            localStorage.setItem('theme', 'dark');
        }
        syncThemeToggles();
    });

    function syncThemeToggles() {
        var isLight = document.documentElement.getAttribute('data-theme') === 'light';
        themeToggle.checked = isLight;
        var dt = document.getElementById('desktop-theme-toggle');
        if (dt) dt.setAttribute('data-theme', isLight ? 'light' : 'dark');
    }
    syncThemeToggles();

    document.getElementById('desktop-theme-toggle').addEventListener('click', function() {
        var isLight = document.documentElement.getAttribute('data-theme') === 'light';
        if (isLight) {
            document.documentElement.removeAttribute('data-theme');
            localStorage.setItem('theme', 'dark');
        } else {
            document.documentElement.setAttribute('data-theme', 'light');
            localStorage.setItem('theme', 'light');
        }
        syncThemeToggles();
    });

    document.querySelectorAll('.voto-estrelas').forEach(function(estrelas) {
        var votacao = estrelas.closest('.votacao');
        var media = parseFloat(votacao.dataset.media) || 0;
        var meuVoto = parseInt(votacao.dataset.meuVoto) || 0;
        estrelas.querySelectorAll('.star').forEach(function(star, index) {
            if (meuVoto > 0 && meuVoto >= (index * 2 + 1)) {
                star.classList.add('votado');
                star.style.setProperty('--base-fill', 1);
            } else {
                var fill = Math.min(Math.max(media / 2 - index, 0), 1);
                star.style.setProperty('--base-fill', fill);
            }
        });
    });

    document.querySelectorAll('.star-l, .star-r').forEach(function(btn) {
        btn.addEventListener('click', function() {
            var container = btn.closest('.votacao');
            var postId = container.dataset.postId;
            var nota = btn.dataset.nota;
            fetch('/voto', {
                method: 'POST',
                headers: {'Content-Type': 'application/x-www-form-urlencoded'},
                body: 'id=' + postId + '&nota=' + nota
            })
            .then(function(r) { return r.json(); })
            .then(function(data) {
                if (data.erro) { alert(data.erro); return; }
                var media = parseFloat(data.media) || 0;
                var nota = parseInt(btn.dataset.nota) || 0;
                container.querySelectorAll('.star').forEach(function(star, index) {
                    if (nota > 0 && nota >= (index * 2 + 1)) {
                        star.classList.add('votado');
                        star.style.setProperty('--base-fill', 1);
                    } else {
                        star.classList.remove('votado');
                        var fill = Math.min(Math.max(media / 2 - index, 0), 1);
                        star.style.setProperty('--base-fill', fill);
                    }
                });
                var mediaEl = container.querySelector('.votos-media');
                var totalEl = container.querySelector('.votos-total');
                if (mediaEl) mediaEl.textContent = data.media;
                if (totalEl) totalEl.textContent = '(' + data.total_votos + ' votos)';
            });
        });
    });

    document.querySelectorAll('.favorito-btn').forEach(function(btn) {
        btn.addEventListener('click', function() {
            var postId = btn.dataset.postId;
            fetch('/favorito', {
                method: 'POST',
                headers: {'Content-Type': 'application/x-www-form-urlencoded'},
                body: 'post_id=' + postId
            })
            .then(function(r) { return r.json(); })
            .then(function(data) {
                if (data.removido) {
                    btn.classList.remove('ativo');
                } else {
                    btn.classList.add('ativo');
                }
            });
        });
    });

    document.querySelectorAll('.seguir-btn').forEach(function(btn) {
        btn.addEventListener('click', function() {
            var usuarioId = btn.dataset.usuarioId;
            fetch('/seguir', {
                method: 'POST',
                headers: {'Content-Type': 'application/x-www-form-urlencoded'},
                body: 'usuario_id=' + usuarioId
            })
            .then(function(r) { return r.json(); })
            .then(function(data) {
                if (data.removido) {
                    btn.classList.remove('ativo');
                    btn.textContent = 'Seguir';
                } else {
                    btn.classList.add('ativo');
                    btn.textContent = 'Seguindo';
                }
            });
        });
    });

    document.querySelectorAll('.compartilhar-btn').forEach(function(btn) {
        btn.addEventListener('click', function(e) {
            e.preventDefault();
            var url = btn.dataset.url;
            var text = btn.dataset.text;
            var type = btn.dataset.type;
            if (navigator.share && type !== 'copy') {
                navigator.share({ title: text, url: url }).catch(function() {});
                return;
            }
            var shareUrl;
            if (type === 'whatsapp') {
                shareUrl = 'https://api.whatsapp.com/send?text=' + encodeURIComponent(text + ' ' + url);
            } else if (type === 'twitter') {
                shareUrl = 'https://twitter.com/intent/tweet?text=' + encodeURIComponent(text) + '&url=' + encodeURIComponent(url);
            } else if (type === 'facebook') {
                shareUrl = 'https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(url);
            } else if (type === 'copy') {
                navigator.clipboard.writeText(url);
                btn.textContent = 'Copiado!';
                setTimeout(function() { btn.textContent = 'Copiar link'; }, 2000);
                return;
            }
            window.open(shareUrl, '_blank', 'width=600,height=400');
        });
    });

    var postEl = document.querySelector('[data-post-id]');
    if (postEl) {
        fetch('/api/visualizar/' + postEl.dataset.postId, { method: 'POST' });
    }

    var article = document.querySelector('article[data-post-id] .story-content');
    if (article) {
        var families = [
            "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif",
            "'Roboto', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif",
            "'Lora', Georgia, 'Noto Serif', serif",
            "'Playfair Display', Georgia, 'Noto Serif', serif",
            "'Noto Serif', Georgia, serif",
            "'Courier New', Courier, monospace",
            "Georgia, 'Times New Roman', Times, serif"
        ];
        var familyNames = [
            "Sistema",
            "Roboto",
            "Lora",
            "Playfair Display",
            "Noto Serif",
            "Courier New",
            "Georgia"
        ];
        var format = JSON.parse(localStorage.getItem('format') || '{}');
        var fontTooltip;
        var fontTooltipTimer;

        function showFontTooltip(text) {
            if (!fontTooltip) {
                fontTooltip = document.createElement('div');
                fontTooltip.className = 'font-tooltip';
                document.querySelector('.font-bar').appendChild(fontTooltip);
            }
            clearTimeout(fontTooltipTimer);
            fontTooltip.textContent = text;
            fontTooltip.style.opacity = '1';
            fontTooltipTimer = setTimeout(function() {
                fontTooltip.style.opacity = '0';
            }, 1500);
        }

        if (format.fontsize) {
            article.style.fontSize = format.fontsize + 'px';
        }
        if (format.fontindex) {
            article.style.fontFamily = families[format.fontindex];
        }

        window.font_increase = function() {
            var cs = window.getComputedStyle(article, null).getPropertyValue('font-size');
            var s = parseFloat(cs);
            if (s < 36) {
                article.style.fontSize = (s + 1) + 'px';
                format.fontsize = s;
                localStorage.setItem('format', JSON.stringify(format));
            }
        };
        window.font_decrease = function() {
            var cs = window.getComputedStyle(article, null).getPropertyValue('font-size');
            var s = parseFloat(cs);
            if (s > 12) {
                article.style.fontSize = (s - 1) + 'px';
                format.fontsize = s;
                localStorage.setItem('format', JSON.stringify(format));
            }
        };
        window.font_loop = function() {
            if (typeof format.fontindex !== 'number') format.fontindex = -1;
            format.fontindex = (format.fontindex + 1) % families.length;
            article.style.fontFamily = families[format.fontindex];
            localStorage.setItem('format', JSON.stringify(format));
            showFontTooltip(familyNames[format.fontindex]);
        };
    }

});
</script>

</body>
</html>
