body {
    margin: 0;
    font-family: "Parisienne", cursive;
}

/* --- Info Section --- */
#info {
    position: fixed;
    top: 40%;
    width: 100%;
    color: rgb(235, 229, 229);
    padding: 1rem;
    font-size: 5em;
    text-align: center;
    box-sizing: border-box;
}

#info.phone {
    font-size: 8em;
}

#info:hover {
    cursor: default;
}

.hidden {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s .5s, opacity .5s linear;
}

#reset {
    height: 25px;
    width: 25px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    margin: 10px;
    z-index: 1000;
}

#reset.phone {
    height: 60px;
    width: 60px;
    right: 10px;
    margin-bottom: 20px;
    margin-right: 20px;
}

#reset:hover {
    cursor: pointer;
}

/* --- Settings Panel --- */

#settings-icon {
    margin-bottom: 5px;
    position: fixed;
    bottom: 10px;
    right: 60px;
    z-index: 1000;
    cursor: pointer;
    font-size: 24px;
    padding: 5px;
}

#settings-panel {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 200;
    overflow: hidden;
    position: absolute;
    z-index: 9;
    top: 15px;
    right: 15px;
    width: 260px;

    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);

    border-radius: 14px;
    z-index: 1000;

    display: none;
    transition: opacity 0.25s ease;
}

#panel-content {
    padding: 18px 20px;
}

#panel-header {
    padding: 5px;
    cursor: move;
    z-index: 10;
    background-color: rgba(233, 237, 240, 0.5);
    color: #000000;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    position: relative;
}

#close-button {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    cursor: pointer;
    border-radius: 50%;
    background-color: #ff5f56;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    color: black;
}

#settings-panel.active {
    display: block;
    opacity: 1;
}

#settings-panel h3 {
    margin-top: 15px;
    margin-bottom: 5px;
    padding-bottom: 6px;
    font-size: 16px;
    font-weight: 400;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.bg-color-setting {
    width: 100%;
    height: 30px;
    border-radius: 6px;
    overflow: hidden;       
}

.bg-color-setting input[type="color"] {
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    cursor: pointer;
    background: transparent;
}

.color-group {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.color-setting {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.color-setting input[type="color"] {
    width: 30px;
    height: 30px;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-bottom: 0px;
    background: transparent;
}

.color-setting label {
    font-size: 13px;
    opacity: 0.85;
}

#settings-panel label[for$="-count"] {
    display: inline-block;
    width: 90px;
    margin-top: 10px;
    font-size: 13px;
}

#settings-panel input[type="range"] {
    width: 90px;
    cursor: pointer;
    height: 2px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

#settings-panel input[type="range"]::-webkit-slider-runnable-track {
    height: 2px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.2);
}

#settings-panel input[type="range"]::-moz-range-track {
    height: 2px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.2);
}

#settings-panel input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: black;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
    margin-top: -3px;
}

#settings-panel input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}