        /* 基础样式 - 不使用root全局变量 */
        .whois-app * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }
        
        .whois-app html {
            height: 100%;
        }
        
        .whois-app body {
            min-height: 100%;
            background-color: #f8fafc;
            color: #1f2937;
            line-height: 1.5;
            padding: 1rem;
        }
        
        /* 布局容器 */
        .whois-app .app-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            min-height: calc(100vh - 2rem);
        }
        
        .whois-app header {
            text-align: center;
            margin-bottom: 2rem;
            padding-top: 1rem;
        }
        
        .whois-app .logo {
            font-size: 2rem;
            font-weight: 700;
            color: #4f46e5;
            margin-bottom: 0.5rem;
        }
        
        .whois-app .tagline {
            color: #6b7280;
            font-size: 1rem;
        }
        
        .whois-app .main-wrapper {
            display: flex;
            flex-grow: 1;
            gap: 1.5rem;
        }
        
        .whois-app .content-area {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        /* 搜索框样式 */
        .whois-app .search-card {
            background: white;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .whois-app .search-form {
            position: relative;
        }
        
        .whois-app .search-container {
            display: flex;
            gap: 0;
        }
        
        .whois-app .domain-input {
            flex-grow: 1;
            padding: 0.875rem 1rem;
            border: 1px solid #e5e7eb;
            border-right: none;
            border-radius: 0.375rem 0 0 0.375rem;
            font-size: 1rem;
            transition: all 0.2s ease;
        }
        
        .whois-app .domain-input:focus {
            outline: none;
            border-color: #4f46e5;
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
        }
        
        .whois-app .clear-button {
            position: absolute;
            right: 8rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #6b7280;
            cursor: pointer;
            padding: 0.25rem;
            opacity: 0.7;
            transition: opacity 0.2s;
        }
        
        .whois-app .clear-button:hover {
            opacity: 1;
            color: #4b5563;
        }
        
        .whois-app .search-button {
            width: 8rem;
            background-color: #4f46e5;
            color: white;
            border: none;
            border-radius: 0 0.375rem 0.375rem 0;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        
        .whois-app .search-button:hover {
            background-color: #4338ca;
        }
        
        .whois-app .search-button:disabled {
            background-color: #e5e7eb;
            color: #6b7280;
            cursor: not-allowed;
        }
        
        /* 结果区域 */
        .whois-app .results-section {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .whois-app .result-card {
            background: white;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            overflow: hidden;
            flex-grow: 1;
            display: none;
            flex-direction: column;
        }
        
        .whois-app .result-header {
            padding: 1rem 1.5rem;
            border-bottom: 1px solid #e5e7eb;
            background-color: #f5f5f4;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .whois-app .result-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #1f2937;
        }
        
        .whois-app .result-actions {
            display: flex;
            gap: 0.5rem;
        }
        
        .whois-app .result-content {
            padding: 1.5rem;
            overflow-y: auto;
            flex-grow: 1;
        }
        
        .whois-app .section-divider {
            margin: 1.5rem 0;
            border: none;
            border-top: 1px solid #e5e7eb;
        }
        
        .whois-app .info-section {
            margin-bottom: 1.5rem;
        }
        
        .whois-app .info-section-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #1f2937;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .whois-app .info-section-title svg {
            width: 1.25rem;
            height: 1.25rem;
        }
        
        .whois-app .overview-section {
            background-color: #eff6ff;
            border-radius: 0.375rem;
            padding: 1.25rem;
            margin-bottom: 1.5rem;
        }
        
        .whois-app .original-section {
            background-color: #f9fafb;
            border-radius: 0.375rem;
            padding: 1.25rem;
        }
        
        .whois-app .info-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
        }
        
        @media (min-width: 768px) {
            .whois-app .info-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.25rem;
            }
        }
        
        .whois-app .info-item {
            display: flex;
            flex-direction: column;
        }
        
        .whois-app .info-label {
            font-size: 0.875rem;
            font-weight: 500;
            color: #4b5563;
            margin-bottom: 0.25rem;
        }
        
        .whois-app .info-value {
            font-size: 0.95rem;
            color: #1f2937;
            word-break: break-all;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .whois-app .original-content {
            white-space: pre-wrap;
            word-break: break-all;
            font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
            font-size: 0.875rem;
            line-height: 1.6;
            color: #4b5563;
        }
        
        /* 历史记录 */
        .whois-app .history-panel {
            width: 320px;
            background: white;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            display: none;
            flex-direction: column;
        }
        
        @media (min-width: 1024px) {
            .whois-app .history-panel {
                display: flex;
            }
        }
        
        .whois-app .history-header {
            padding: 1rem 1.5rem;
            border-bottom: 1px solid #e5e7eb;
            background-color: #f5f5f4;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .whois-app .history-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: #1f2937;
        }
        
        .whois-app .close-history {
            background: none;
            border: none;
            color: #6b7280;
            cursor: pointer;
            padding: 0.25rem;
        }
        
        .whois-app .close-history:hover {
            color: #1f2937;
        }
        
        .whois-app .history-list-container {
            flex-grow: 1;
            overflow-y: auto;
            padding: 0.5rem 0;
        }
        
        .whois-app .history-list {
            list-style: none;
        }
        
        .whois-app .history-item {
            padding: 0.75rem 1.5rem;
            border-bottom: 1px solid #e5e7eb;
            transition: background-color 0.1s;
        }
        
        .whois-app .history-item:last-child {
            border-bottom: none;
        }
        
        .whois-app .history-item:hover {
            background-color: #f5f5f4;
        }
        
        .whois-app .history-domain {
            font-size: 0.95rem;
            color: #1f2937;
            margin-bottom: 0.25rem;
            display: block;
            font-weight: 500;
        }
        
        .whois-app .search-again {
            font-size: 0.825rem;
            color: #4f46e5;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        .whois-app .search-again:hover {
            color: #4338ca;
            text-decoration: underline;
        }
        
        .whois-app .no-history {
            font-size: 0.95rem;
            color: #6b7280;
            text-align: center;
            padding: 2rem 1rem;
        }
        
        /* 移动端历史按钮 */
        .whois-app .mobile-history-btn {
            position: fixed;
            bottom: 1.5rem;
            right: 1.5rem;
            width: 3.5rem;
            height: 3.5rem;
            border-radius: 50%;
            background-color: #4f46e5;
            color: white;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
        }
        
        @media (min-width: 1024px) {
            .whois-app .mobile-history-btn {
                display: none;
            }
        }
        
        /* 遮罩层 */
        .whois-app .overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: none;
        }
        
        /* 加载动画 */
        @keyframes rotate {
            100% {
                transform: rotate(360deg);
            }
        }
        
        .whois-app .loading-spinner {
            animation: rotate 1.5s linear infinite;
        }
        
        /* 滚动条样式 */
        .whois-app ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        
        .whois-app ::-webkit-scrollbar-track {
            background: #f5f5f4;
            border-radius: 4px;
        }
        
        .whois-app ::-webkit-scrollbar-thumb {
            background-color: #cbd5e1;
            border-radius: 4px;
        }
        
        .whois-app ::-webkit-scrollbar-thumb:hover {
            background-color: #94a3b8;
        }
        
        /* 提示框 */
        .whois-app .toast {
            position: fixed;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            background-color: #1f2937;
            color: white;
            padding: 0.625rem 1.25rem;
            border-radius: 0.375rem;
            opacity: 0;
            transition: opacity 0.3s, transform 0.3s;
            font-size: 0.875rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            z-index: 100;
            transform: translate(-50%, 20px);
        }
        
        .whois-app .toast.show {
            opacity: 1;
            transform: translate(-50%, 0);
        }
        
        /* 按钮图标 */
        .whois-app .icon-button {
            background: none;
            border: none;
            cursor: pointer;
            color: #4b5563;
            padding: 0.375rem;
            border-radius: 0.375rem;
            transition: background-color 0.2s, color 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .whois-app .icon-button:hover {
            background-color: rgba(0, 0, 0, 0.05);
            color: #1f2937;
        }
        
        .whois-app .icon {
            width: 1.25rem;
            height: 1.25rem;
        }
        
        /* 时间标签 */
        .whois-app .time-tag {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            color: white;
            border-radius: 999px;
            padding: 0.15rem 0.5rem;
            height: 1.5rem;
            font-weight: 500;
        }
        
        .whois-app .time-tag.registration {
            background-color: #3b82f6;
        }
        
        .whois-app .time-tag.remaining {
            background-color: #10b981;
        }
        
        /* 错误消息 */
        .whois-app .error-message {
            color: #ef4444;
            padding: 1rem;
            text-align: center;
        }