:where([class^="ri-"])::before { content: "\f3c2"; }
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #FAFAFA;
    font-family: 'PingFang SC', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body {
    display: flex;
    justify-content: center;
    background-color: #FAFAFA;
}
.fixed-width-container {
    width: 375px;
    position: relative;
    background: #FAFAFA;
    min-height: 100vh;
    padding-bottom: 60px;
}
.content-container {
    overflow-y: auto;
    height: calc(100vh - 60px);
    -webkit-overflow-scrolling: touch;
}
.ios-card {
    background: white;
    border-radius: 12px;
    margin: 12px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.ios-header {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.ios-button {
    transition: all 0.2s ease;
}
.ios-button:active {
    opacity: 0.7;
    transform: scale(0.98);
}
.ios-nav-item {
    transition: all 0.2s ease;
}
.ios-nav-item:active {
    opacity: 0.7;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
html {
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}
.fixed-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 375px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 0.5px solid rgba(0,0,0,0.1);
    z-index: 100;
}
.pet-card {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
            0 4px 6px -1px rgba(0, 0, 0, 0.05),
            0 2px 4px -1px rgba(0, 0, 0, 0.03),
            inset 0 2px 4px rgba(255, 255, 255, 0.8);
}
.add-pet-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 122, 255, 0.1);
    box-shadow:
            0 4px 6px -1px rgba(0, 0, 0, 0.05),
            0 2px 4px -1px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
}
.add-pet-card:active {
    transform: scale(0.98);
    background: linear-gradient(145deg, #f8f9fa 0%, #f5f6f7 100%);
}
.add-pet-content {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #007AFF;
}
.add-icon-container {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 122, 255, 0.2);
}
.pet-avatar-container {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
            0 4px 6px -1px rgba(0, 0, 0, 0.1),
            0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.pet-avatar-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1);
}
.pet-info-container {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px 12px;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.02),
            inset 0 2px 4px rgba(255, 255, 255, 0.8);
}
.pet-tag {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    padding: 3px 8px;
    border-radius: 6px;
    color: white;
    font-size: 10px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 122, 255, 0.2);
}
.pet-stats {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.pet-stat-item {
    flex: 1;
    background: white;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 11px;
    color: #666;
    box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.02),
            inset 0 2px 4px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.pet-stat-label {
    color: #999;
    font-size: 10px;
    margin-bottom: 2px;
}
.pet-stat-value {
    color: #333;
    font-weight: 500;
}
.function-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px;
}
.function-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.function-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
.function-text {
    font-size: 10px;
    color: #666;
    text-align: center;
}
.user-profile-card {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    margin: 12px 16px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
            0 4px 6px -1px rgba(0, 0, 0, 0.05),
            0 2px 4px -1px rgba(0, 0, 0, 0.03),
            inset 0 2px 4px rgba(255, 255, 255, 0.8);
}
.user-avatar-container {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
            0 4px 6px -1px rgba(0, 0, 0, 0.1),
            0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.user-avatar-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1);
}
.edit-profile-text {
    font-size: 12px;
    color: #8E8E93;
    transition: all 0.2s ease;
}
.edit-profile-text:active {
    opacity: 0.7;
}
.user-stats {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.user-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
    font-size: 12px;
}