body {
    overflow: hidden;
    position: fixed;
}

.page-container {
    width: 100%;
    padding-top: 60px;
    height: 100dvh; 
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; 
}

.label-container {
    width: 100%;
    display: flex;
    font-size: 17px;
}

.label-title {
    width: 130px;
    color: #ccc;
}

.label-btns {
    display: flex;
    height: 100%;
}

.label-btn {
    height: 100%;
    width: 100%;
    text-align: left;
    padding: 0 6px 0 0;
    color: #fff;
    background: transparent;
    font-size: 1rem;
    border: none;
}

.remove-area {
    height: 100%;
    aspect-ratio: 1/1;
    display: flex;
    padding: 12px;
    justify-content: center;
    align-items: center;
}

.label-btn-remove {
    background: #333;
    border: none;
    color: #fff;
    font-size: 0.8rem;
    border-radius: 9999px;
    padding: 0 6px;
    height: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.label-btn-remove svg {
    width: 8px;
    height: 8px;
    fill: #fff;
}

.label-input-area {
    width: 100%;
    height: 100%;
    border-bottom: 0.1px solid var(--navbar-border);
    display: flex;
    align-items: center;
}

.label-input-area.last {
    border: none;
}

.label-input.color {
    background-color: transparent;
    border-radius: 12px;
    padding:  0 8px 8px 8px;
}

.label-input {
    background-color: transparent;
    width: 100%;
    height: 100%;
    padding-right: 20px;
    border: none;
    font-size: 17px;
    outline: none;
    color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none
}

.label-input::placeholder {
    color: #666;
}

.label-left {
    padding: 12px;
    width: 150px;
}

.label-left.last {
    border-bottom:  1px solid #202020;
}

.label-left.link {
    width: 56px;
}

.label-left i {
    font-size: 24px;
}
.label-rigth {
    border-bottom:  1px solid #202020;
    width: 100%;
}

.label-rigth.last {
    border-bottom: none;
    width: 100%;
}

.major-container {
    border-left: none;
    border-right: none;
}

.major-container.link {
    border: 0.1px solid var(--navbar-border);
}

.config-title {
    padding: 12px;
    color: #ccc;
}

.label-left.border {
    border-bottom: 0.1px solid var(--navbar-border);
}

.pfp-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pfp-area {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.pfp {
    border-radius: 50%;
    height: 90px;
    width: 90px;
    border: 0.1px solid #1f1f1f;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    object-fit: cover;
}

.banner-container {
    padding: 10px 0;
    height: 120px;
    width: 100%;
    max-width: 410px;
}

.banner-area {
    height: 100%;
    width: 100%;
    background-color: #333;
    border-radius: 12px;
}

.banner {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 0.1px solid #1f1f1f;
    background-position: center;
    object-fit: cover;
}

.media-area {
    display: flex;
    padding: 16px;
    gap: 16px;
}

.navbar-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-bottom: 0.01px solid var(--navbar-border);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 9999;
    align-items: center;
}

.navbar-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.top-left, .top-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-right a {
    padding: 12px;
    color: var(--text-primary);
}

.top-right button {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 22px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.top-right button:hover {
    color: var(--primary-color);
}

.top-left {
    display: flex;
    gap: 12px;
}

.top-left button, .top-left a {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.navbar-top h2 {
    font-size: 1rem;
    justify-self: center;
}

.top-right {
    width: 40px;
    height: 100%;
    visibility: hidden;
}

.top-left {
    width: 40px;
    height: 100%;
}

.save-area {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 12px;
    padding-bottom: 38px;
    background: var(--bg-primary);
}

.save-btn {
    font-size: 16px;
    padding: 12px 22px;
    width: 100%;
    border-radius: 14px;
    color: #fff;
    border: none;
    font-weight: bold;
    background-color: var(--primary-btn);
}

.links-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.links-list.open {
  max-height: 2000px;
  padding-bottom: 160px;
  opacity: 1;
}

.config-title {
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toggle-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.toggle-arrow.rotated {
  transform: rotate(180deg);
}