
:root{
    --thowl-ink:#182322;
    --thowl-muted:#65706d;
    --thowl-line:#e5e9e7;
    --thowl-soft:#f6f8f7;
    --thowl-accent:#267361;
    --thowl-accent-dark:#185849;
    --thowl-gold:#a8782d;
}
.thowl-page-hero{
    max-width:900px;
    margin:0 auto 2.2rem;
    text-align:center;
    padding:1rem 0;
}
.thowl-page-hero h1{
    margin:.35rem 0 .8rem;
    font-size:clamp(2rem,4vw,3.5rem);
    line-height:1.06;
}
.thowl-page-hero p{
    max-width:760px;
    margin:.45rem auto;
    color:var(--thowl-muted);
    font-size:1.05rem;
    line-height:1.7;
}
.thowl-eyebrow{
    display:inline-block;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.11em;
    text-transform:uppercase;
    color:var(--thowl-accent);
}
.thowl-hero-actions,.thowl-finder-bottom{
    display:flex;
    gap:.75rem;
    justify-content:center;
    flex-wrap:wrap;
    margin-top:1.3rem;
}
.thowl-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:.75rem 1.1rem;
    border-radius:999px;
    text-decoration:none!important;
    font-weight:750;
}
.thowl-btn-primary{
    background:var(--thowl-accent);
    color:#fff!important;
}
.thowl-btn-primary:hover{background:var(--thowl-accent-dark)}
.thowl-btn-secondary{
    background:#fff;
    border:1px solid var(--thowl-line);
    color:var(--thowl-ink)!important;
}
.thowl-compare-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:1.15rem;
    margin:2rem 0;
}
.thowl-game-card{
    border:1px solid var(--thowl-line);
    border-radius:20px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 10px 28px rgba(18,36,32,.05);
}
.thowl-game-image{
    display:block;
    background:var(--thowl-soft);
    aspect-ratio:16/10;
    overflow:hidden;
}
.thowl-game-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:contain;
    padding:14px;
}
.thowl-image-placeholder{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    color:var(--thowl-muted);
}
.thowl-game-card-body{padding:1.15rem}
.thowl-age-pill{
    display:inline-flex;
    padding:.3rem .55rem;
    border-radius:999px;
    background:#edf6f2;
    color:var(--thowl-accent-dark);
    font-size:.78rem;
    font-weight:800;
}
.thowl-game-card h2{
    margin:.65rem 0 .25rem;
    font-size:1.22rem;
    line-height:1.25;
}
.thowl-game-card h2 a{color:var(--thowl-ink);text-decoration:none}
.thowl-price{font-weight:800;margin:.2rem 0 .9rem}
.thowl-game-card dl{margin:0}
.thowl-game-card dl>div{
    padding:.65rem 0;
    border-top:1px solid var(--thowl-line);
}
.thowl-game-card dt{
    font-size:.76rem;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:var(--thowl-muted);
    font-weight:800;
}
.thowl-game-card dd{margin:.18rem 0 0;line-height:1.48}
.thowl-card-link{
    display:inline-block;
    margin-top:.9rem;
    color:var(--thowl-accent-dark);
    font-weight:800;
    text-decoration:none!important;
}
.thowl-compare-table-wrap{
    overflow:auto;
    margin:2.2rem 0;
    border:1px solid var(--thowl-line);
    border-radius:18px;
}
.thowl-compare-table{
    width:100%;
    min-width:900px;
    border-collapse:collapse;
    margin:0!important;
}
.thowl-compare-table th,.thowl-compare-table td{
    padding:.9rem;
    vertical-align:top;
    border-bottom:1px solid var(--thowl-line);
}
.thowl-compare-table thead th{
    background:var(--thowl-soft);
    text-align:left;
    color:var(--thowl-ink);
}
.thowl-note-box{
    margin:2rem 0;
    border-radius:16px;
    padding:1rem 1.1rem;
    background:#faf7f0;
    border:1px solid #eadfca;
    line-height:1.65;
}
.thowl-note-box a{font-weight:800;margin-left:.35rem}
.thowl-finder-panel{
    max-width:980px;
    margin:0 auto 2rem;
    padding:1.25rem;
    border:1px solid var(--thowl-line);
    border-radius:20px;
    background:#fff;
    box-shadow:0 10px 30px rgba(18,36,32,.04);
}
.thowl-finder-panel fieldset{
    border:0;
    padding:0;
    margin:0 0 1.5rem;
}
.thowl-finder-panel fieldset:last-child{margin-bottom:0}
.thowl-finder-panel legend{
    font-size:1.08rem;
    font-weight:850;
    margin-bottom:.75rem;
}
.thowl-choice-row{
    display:flex;
    flex-wrap:wrap;
    gap:.65rem;
}
.thowl-choice-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.thowl-choice-row label{
    cursor:pointer;
}
.thowl-choice-row input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}
.thowl-choice-row span{
    display:flex;
    align-items:center;
    min-height:45px;
    padding:.65rem .8rem;
    border:1px solid var(--thowl-line);
    border-radius:12px;
    background:#fff;
    line-height:1.3;
    transition:.15s ease;
}
.thowl-choice-row input:checked+span{
    border-color:var(--thowl-accent);
    background:#edf6f2;
    color:var(--thowl-accent-dark);
    box-shadow:inset 0 0 0 1px var(--thowl-accent);
}
.thowl-finder-results{
    max-width:1080px;
    margin:2rem auto;
}
.thowl-results-heading{text-align:center;margin-bottom:1.1rem}
.thowl-results-heading h2{margin:.25rem 0}
.thowl-results-heading p{color:var(--thowl-muted)}
.thowl-result-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:1rem;
}
.thowl-result-card{
    border:1px solid var(--thowl-line);
    background:#fff;
    border-radius:18px;
    overflow:hidden;
}
.thowl-result-card .thowl-result-image{
    aspect-ratio:16/9;
    background:var(--thowl-soft);
}
.thowl-result-card .thowl-result-image img{
    width:100%;height:100%;object-fit:contain;padding:12px;
}
.thowl-result-body{padding:1rem}
.thowl-result-rank{
    font-size:.75rem;
    font-weight:850;
    color:var(--thowl-accent);
    text-transform:uppercase;
    letter-spacing:.07em;
}
.thowl-result-body h3{margin:.3rem 0;font-size:1.15rem}
.thowl-result-body p{color:var(--thowl-muted);line-height:1.55;margin:.55rem 0}
.thowl-result-actions{display:flex;justify-content:space-between;gap:.7rem;align-items:center;margin-top:.9rem}
.thowl-result-actions a{font-weight:800;color:var(--thowl-accent-dark);text-decoration:none!important}
.thowl-small-note{font-size:.9rem!important}
.thowl-shop-chooser{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:1rem;
    padding:1rem 1.1rem;
    margin:0 0 1.4rem;
    border-radius:16px;
    background:#f4f8f6;
    border:1px solid #dce9e3;
}
.thowl-shop-chooser strong{display:block;color:var(--thowl-ink);font-size:1rem}
.thowl-shop-chooser span{display:block;color:var(--thowl-muted);margin-top:.2rem}
.thowl-shop-chooser-actions{display:flex;gap:.55rem;flex-wrap:wrap}
.thowl-shop-chooser-actions a{
    padding:.55rem .8rem;
    border-radius:999px;
    background:#fff;
    border:1px solid #dce9e3;
    color:var(--thowl-accent-dark);
    text-decoration:none!important;
    font-weight:800;
    white-space:nowrap;
}
@media(max-width:900px){
    .thowl-compare-grid,.thowl-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .thowl-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
    .thowl-compare-grid,.thowl-result-grid,.thowl-choice-grid{grid-template-columns:1fr}
    .thowl-shop-chooser{align-items:flex-start;flex-direction:column}
    .thowl-shop-chooser-actions{width:100%}
    .thowl-shop-chooser-actions a{flex:1;text-align:center}
}


/* v1.1 desktop refinement: give the two dedicated tools more breathing room. */
@media (min-width: 1024px){
    body.thowl-tools-page .site-container,
    body.thowl-tools-page .content-container,
    body.thowl-tools-page .site-main,
    body.thowl-tools-page .content-area,
    body.thowl-tools-page article.entry,
    body.thowl-tools-page .entry-content-wrap,
    body.thowl-tools-page .entry-content{
        max-width: 1240px !important;
        width: 100% !important;
    }

    body.thowl-tools-page .content-container{
        grid-template-columns: minmax(0,1fr) !important;
    }

    body.thowl-tools-page .site-main{
        margin-left:auto !important;
        margin-right:auto !important;
    }

    body.thowl-tools-page .entry-content-wrap{
        padding-left: 28px !important;
        padding-right: 28px !important;
    }

    body.thowl-tools-page .thowl-page-hero{
        max-width: 980px;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    body.thowl-tools-page .thowl-compare-grid{
        gap: 1.35rem;
    }

    body.thowl-tools-page .thowl-game-image{
        aspect-ratio: 16/9;
    }

    body.thowl-tools-page .thowl-game-image img{
        padding: 18px;
    }

    body.thowl-tools-page .thowl-finder-panel,
    body.thowl-tools-page .thowl-finder-results{
        max-width: 1120px;
    }
}


[data-thowl-legacy-guide-hidden="1"]{display:none!important;}


/* v1.5: compact the Shop title area so products appear sooner on desktop. */
@media (min-width: 768px){
    body.thowl-shop-page .entry-hero-container-inner{
        min-height: 118px !important;
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    body.thowl-shop-page .entry-hero-container-inner .entry-header{
        min-height: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body.thowl-shop-page .entry-hero-container-inner .entry-title{
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}


/* v1.6: reduce the remaining large gap between the Shop title band and product chooser. */
@media (min-width: 768px){
    body.thowl-shop-page .content-area{
        margin-top: 34px !important;
    }

    body.thowl-shop-page .site-main{
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    body.thowl-shop-page .thowl-shop-chooser{
        margin-top: 0 !important;
    }
}
