


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
:root{
    --yellow:#ffc72c;
    --black:#222;
    --cream:#fffaf0;
    --gray:#666;
    --white:#fff;
    --border:#111;
}


body{
    font-family:'Inter',sans-serif;
    background:var(--cream);
    color:var(--black);
    line-height:1.6;
}

header{
    background:var(--yellow);
    border-bottom:6px solid var(--black);
    padding:0px 0px;
    text-align:center;
}


#preview{

    width:100%;

    text-align:center;

    margin-top:20px;

}

#preview img{

    display:inline-block;

}

.logo .potato{
    font-size:70px;
    margin-bottom:10px;
}

.logo-potato{

    width:600px;

    max-width:100%;

    height:auto;

    display:block;

    margin:0 auto 0px;

}

.logo p{
    margin-top:20px;
    font-size:20px;
    font-weight:600;
}

.hero{
    max-width:900px;
    margin:50px auto;
    text-align:center;
    padding:0 20px;
}

.hero h2{
    font-family:'Oswald',sans-serif;
    font-size:42px;
    margin-bottom:15px;
}

.hero p{
    font-size:22px;
    color:var(--gray);
}

.name-section,
.photo-section,
.builder,
.plate,
.button-area{
    max-width:900px;
    margin:40px auto;
    padding:0 20px;
}

label{
    display:block;
    font-weight:700;
    margin-bottom:10px;
}

input[type=text],
input[type=file]{
    width:100%;
    padding:16px;
    border:3px solid var(--black);
    border-radius:10px;
    background:white;
    font-size:18px;
}

.small{
    margin-top:10px;
    color:#777;
    font-size:14px;
}

#preview{
    margin-top:25px;
    text-align:center;
}

#preview img{
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    border:6px solid var(--yellow);
    display:inline-block;
}

.builder h2{
    font-family:'Oswald',sans-serif;
    font-size:38px;
    text-align:center;
}

.builder p{
    text-align:center;
    margin-bottom:30px;
}

.toppings{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
}

.topping{
    background:white;
    border:3px solid var(--black);
    border-radius:16px;
    padding:25px;
    text-align:center;
    cursor:pointer;
    transition:.2s;
    user-select:none;
}

.topping:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 18px rgba(0,0,0,.15);
}

.topping.selected{
    background:var(--yellow);
}

.topping .emoji{
    font-size:42px;
    margin-bottom:10px;
}

.topping h3{
    font-family:'Oswald',sans-serif;
    margin-bottom:5px;
}

.topping p{
    margin:0;
    color:#555;
    font-size:15px;
}

#plate{
    background:white;
    border:6px solid var(--black);
    border-radius:50%;
    width:320px;
    height:320px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:110px;
}

.button-area{
    text-align:center;
    margin-bottom:70px;
}

button{
    background:var(--yellow);
    color:black;
    border:none;
    border-radius:12px;
    padding:22px 60px;
    font-family:'Oswald',sans-serif;
    font-size:34px;
    cursor:pointer;
    transition:.2s;
}

button:hover{
    transform:scale(1.05);
}

footer{

    background:var(--yellow);

    color:var(--black);

    border-top:6px solid var(--black);

    padding:40px 20px;

    text-align:center;

    font-size:14px;

}

@media(max-width:700px){

.logo h1{
    font-size:48px;
}

.hero h2{
    font-size:32px;
}

#plate{
    width:240px;
    height:240px;
    font-size:80px;
}

button{
    width:100%;
    font-size:28px;
}

}

/* ===========================================
   HASH BUILDER
=========================================== */

.builder{

    max-width:1000px;

    margin:50px auto;

    padding:0 20px;

}

.builder h2{

    font-family:'Oswald',sans-serif;

    font-size:40px;

    text-align:center;

}

.builder>p{

    text-align:center;

    margin-bottom:30px;

    color:#666;

}

/* TOPPING GRID */

.toppings{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:20px;

}

.topping{

    background:#fff;

    border:3px solid #222;

    border-radius:18px;

    padding:24px;

    text-align:center;

    cursor:pointer;

    transition:.2s;

    user-select:none;

}

.topping:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 20px rgba(0,0,0,.15);

}

.topping.selected{

    background:#ffc72c;

}

.topping .emoji{

    font-size:46px;

    margin-bottom:10px;

}

.topping h3{

    font-family:'Oswald',sans-serif;

    margin-bottom:6px;

}

.topping p{

    margin:0;

    color:#666;

    font-size:15px;

}

/* ALL THE WAY */

.all-way{

    grid-column:1/-1;

}

/* PLATE */

.plate{

    margin-top:50px;

    display:flex;

    justify-content:center;

}

#plate{

    width:420px;

    height:420px;

    position:relative;

    background:#fff;

    border:8px solid #222;

    border-radius:50%;

    box-shadow:0 12px 24px rgba(0,0,0,.12);

}

#platePotato{

    position:absolute;

    left:50%;

    top:50%;

    transform:translate(-50%,-50%);

    font-size:135px;

}

/* INGREDIENTS */

.orbit{

    position:absolute;

    width:50px;

    height:50px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:42px;

    opacity:0;

    transition:opacity .2s;

}

.orbit.show{

    opacity:1;

}
.button-area{

    text-align:center;

    margin:50px auto 80px;

}

#analyze{

    background:var(--yellow);

    color:#000;

    border:none;

    border-radius:12px;

    padding:22px 60px;

    font-family:'Oswald',sans-serif;

    font-size:34px;

    cursor:pointer;

    transition:.2s;

}

#analyze:hover{

    transform:scale(1.05);

}

@media(max-width:700px){

    #analyze{

        width:100%;

        font-size:28px;

    }

}
/* CLOCK */

.p1{

    top:45px;

    left:50%;

    transform:translateX(-50%);

}

.p2{

    top:90px;

    right:70px;

}

.p3{

    top:50%;

    right:35px;

    transform:translateY(-50%);

}

.p4{

    bottom:90px;

    right:70px;

}

.p5{

    bottom:45px;

    left:50%;

    transform:translateX(-50%);

}

.p6{

    bottom:90px;

    left:70px;

}

.p7{

    top:50%;

    left:35px;

    transform:translateY(-50%);

}

.p8{

    top:90px;

    left:70px;

}

/* MOBILE */

@media(max-width:700px){

    #plate{

        width:300px;

        height:300px;

    }

    #platePotato{

        font-size:100px;

    }

    .orbit{

        font-size:34px;

    }

    .p1{top:22px;}
    .p2{top:48px;right:42px;}
    .p3{right:14px;}
    .p4{bottom:48px;right:42px;}
    .p5{bottom:22px;}
    .p6{bottom:48px;left:42px;}
    .p7{left:14px;}
    .p8{top:48px;left:42px;}

}

/* RECEIPT */

#receiptOverlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.6);

    display:none;

    justify-content:center;

    align-items:flex-start;

    z-index:9999;

    overflow:auto;

}

#receipt{

    margin-top:40px;

    width:360px;

    background:#fff;

    box-shadow:0 20px 40px rgba(0,0,0,.35);

    overflow:hidden;

}

#receiptPaper{

    padding:30px;

    font-family:monospace;

    white-space:pre-line;

    line-height:1.6;

    min-height:500px;

}

.receiptLine{

    opacity:0;

    animation:print .25s forwards;

}

@keyframes print{

    from{

        opacity:0;
        transform:translateY(-6px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/* ===========================
   RESULT CARD
=========================== */

#resultCard{

    position:fixed;
    inset:0;

    background:#fffaf0;

    display:none;

    justify-content:center;

    align-items:flex-start;

    overflow-y:auto;

    padding:20px;

    z-index:10000;

}

.result-inner{

    width:min(680px,95vw);

    margin:auto;

    background:#fff;

    border:8px solid #222;

    border-radius:25px;

    padding:25px;

    text-align:center;

    box-shadow:0 20px 60px rgba(0,0,0,.25);

}

.result-photo{

    width:120px;
    height:120px;

    margin:0 auto 15px;

    border-radius:50%;

    overflow:hidden;

    background:#ffc72c;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:60px;

}

.result-photo img{

    width:100%;

    height:100%;

    object-fit:cover;

}

#resultName{

    font-family:'Oswald',sans-serif;

    letter-spacing:2px;

    font-size:24px;

    margin-bottom:5px;

}

#resultTitle{

    font-family:'Oswald',sans-serif;

    font-size:48px;

    line-height:.9;

    margin-bottom:15px;

}

.hash-note{

    color:#666;

    font-size:16px;

    margin-bottom:18px;

}

.result-icons{

    display:flex;

    justify-content:center;

    gap:16px;

    margin-bottom:18px;

    font-size:44px;

}

.result-icons span{

    cursor:pointer;

    transition:.2s;

}

.result-icons span:hover{

    transform:scale(1.2);

}

.tap-note{

    font-size:16px;

    margin-bottom:18px;

}

#resultDescription{

    max-width:560px;

    margin:0 auto 0px;

    font-size:19px;

    line-height:1.45;

}

.cook-note{

    background:#fff8d7;

    border:3px dashed #222;

    border-radius:15px;

    padding:15px;

    margin-bottom:20px;

}



.result-buttons{

    display:flex;

    gap:12px;

    margin-top:20px;

}

.result-buttons button{

    flex:1;

    padding:16px 20px;

    font-size:24px;

}

@media(max-width:700px){

    .result-inner{

        padding:20px;

    }

    .result-photo{

        width:100px;

        height:100px;

        font-size:50px;

    }

    #resultTitle{

        font-size:38px;

    }

    .result-buttons{

        flex-direction:column;

    }

    .result-buttons button{

        width:100%;

        font-size:22px;

    }

}

#traitOverlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.65);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

#traitCard{

    width:90%;

    max-width:420px;

    background:#fff;

    border:5px solid #222;

    border-radius:20px;

    padding:35px;

    text-align:center;

    box-shadow:0 20px 40px rgba(0,0,0,.35);

}

#traitCard h2{

    font-family:'Oswald',sans-serif;

    font-size:40px;

    margin-bottom:15px;

}

#traitCard p{

    font-size:20px;

    line-height:1.6;

}

#traitClose{

    margin-top:30px;

    background:#ffc72c;

    border:none;

    padding:14px 30px;

    border-radius:10px;

    font-family:'Oswald',sans-serif;

    font-size:24px;

    cursor:pointer;

}
.potato-footer{

    margin-top:10px;

    padding-top:0px;
    padding-bottom:10px;

    border-top:0px dashed #bbb;

    text-align:center;

    color: #000;

    font-size:18px;

    letter-spacing:1px;

}

.potato-footer strong{

    display:block;

    font-family:'Oswald',sans-serif;

    font-size:48px;

    line-height:.9;

    margin-bottom:15px;

}

.base-potato{

    font-size:48px;

    margin-right:10px;

}

.name-photo{

    max-width:1000px;

    margin:40px auto;

    padding:0 20px;

}

.name-photo-inner{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:25px;

}

.field{

    display:flex;

    flex-direction:column;

}

@media(max-width:700px){

    .name-photo-inner{

        grid-template-columns:1fr;

    }

}
#shareCard{

    position:absolute;

    left:-9999px;

    top:0;

    width:1080px;

    background:#fffaf0;

    padding:70px;

}

.share-inner{

    background:#fff;

    border:10px solid #222;

    border-radius:30px;

    padding:60px;

    text-align:center;

}

.share-heading{

    font-family:'Oswald',sans-serif;

    font-size:54px;

    margin:25px 0;

    letter-spacing:2px;

}

#shareName{

    font-family:'Oswald',sans-serif;

    font-size:34px;

    margin-bottom:10px;

}

#shareTitle{

    font-family:'Oswald',sans-serif;

    font-size:86px;

    line-height:.9;

    margin-bottom:25px;

}

#shareDescription{

    font-size:30px;

    line-height:1.5;

    margin:30px auto;

    max-width:800px;

}

.share-footer{

    margin-top:45px;

    padding-top:25px;

    border-top:3px dashed #bbb;

    font-size:28px;

    color:#555;

}

.share-footer strong{

    font-family:'Oswald',sans-serif;

    font-size:46px;

    color:#222;

}

.name-photo .field:last-child{
    align-items:center;
}

.name-photo .field:last-child label{
    align-self:flex-start;
}

.name-photo .field:last-child input{
    align-self:stretch;
}

.name-photo .field:last-child #preview{
    justify-content:center;
}
.find-wafflehouse{

    text-align:center;

    padding:0px 0px;



}

.find-wafflehouse h3{

    font-family:'Oswald',sans-serif;

    font-size:34px;

    margin-bottom:0px;

}

.find-wafflehouse p{

    margin:0px 0;

    color: #000;

}

.find-wafflehouse a{

    display:inline-block;

    margin-top:0px;

    font-weight:700;

    color:var(--black);

    text-decoration:none;

    border-bottom:3px solid var(--yellow);

    transition:.2s;

}

.find-wafflehouse a:hover{

    color:#000;

    border-bottom-color:var(--black);

}
.result-title{

    display:block;

    width:100%;

    max-width:520px;

    margin:0 auto 20px;

    height:auto;

}