* {
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f0c1b;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}
/* PC Portrait Layout (Mobile App Size on Desktop) */
.portrait-container {
    background: #161224;
    border: 2px solid #3d3460;
    padding: 30px 20px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    width: 360px; 
    height: 640px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.header-area {
    width: 100%;
}
h1 {
    font-size: 1.8rem;
    color: #00ff88;
    margin: 10px 0;
}
p {
    color: #a0a0a0;
    font-size: 0.95rem;
    margin: 5px 0 15px 0;
}
.btn {
    background-color: #00ff88;
    color: #110d20;
    border: none;
    padding: 15px 50px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
    margin-top: auto;
    margin-bottom: auto;
    transition: transform 0.1s;
}
.btn:active {
    transform: scale(0.95);
}
/* Both Left & Right Click Target Box */
.click-zone {
    width: 100%;
    height: 250px;
    background: #221b38;
    border: 3px dashed #00adb5;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.05s, transform 0.05s;
}
.click-zone:active {
    background: #2c2249;
    transform: scale(0.98);
}
.counter {
    font-size: 4.5rem;
    font-weight: bold;
    color: #00adb5;
    line-height: 1;
}
.click-hint {
    margin-top: 15px;
    color: #888;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.progress-wrapper {
    width: 100%;
    margin-top: 15px;
}
.progress-container {
    background-color: #2c2249;
    border-radius: 10px;
    height: 12px;
    width: 100%;
    overflow: hidden;
}
.progress-bar {
    background: linear-gradient(90deg, #00adb5, #00ff88);
    height: 100%;
    width: 0%;
}
.remaining-text {
    color: #efefef;
    font-size: 0.9rem;
    margin-top: 8px;
}
/* Finish/Troll Screen Message */
.troll-msg {
    font-size: 1.5rem;
    color: #ff3366;
    font-weight: bold;
    margin-top: auto;
    margin-bottom: auto;
    line-height: 1.4;
    animation: shake 0.5s ease-in-out infinite alternate;
}
.enjoy-tag {
    font-size: 1.1rem;
    color: #ffaa00;
    margin-top: 10px;
    font-style: italic;
}
.hidden {
    display: none !important;
}
.screen-flex {
    display: flex; 
    flex-direction: column; 
    height: 100%; 
    justify-content: center; 
    align-items: center;
}
.screen-space {
    width: 100%; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
}
@keyframes shake {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}