﻿
        @import url('css2.css');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Noto Sans JP', sans-serif;
            color: #333;
            line-height: 1.6;
            background: #f0f8ff;
        }
        
        .container {
            max-width: 500px;
            margin: 0 auto;
            padding: 0;
        }
        
        .robot-image {
            width: 100%;
            display: block;
            max-height: 260px;
            object-fit: cover;
            object-position: top;
        }
        
        .title-box {
            background: #1a7bff;
            color: white;
            padding: 12px 25px;
            font-weight: bold;
            text-align: center;
            font-size: 1.2rem;
            border-radius: 5px;
            width: 80%; /* 将宽度设置为容器的80% */
            margin: 15px auto; /* 居中显示 */
            box-shadow: 0 2px 5px rgba(0, 110, 255, 0.2);
        }
        
        .info-box {
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 5px;
            padding: 15px;
            margin: 15px;
        }
        
        .info-box p {
            margin-bottom: 8px;
            font-size: 0.95rem;
        }
        
        .highlight {
            color: #ff3860;
            font-weight: bold;
        }
        
        .input-container {
            margin: 0 15px 15px;
        }
        
        .stock-input {
            width: 100%;
            padding: 15px;
            border-radius: 50px;
            border: 1px solid #d0e3ff;
            background: #fff;
            font-size: 16px;
            text-align: center;
            outline: none;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0, 110, 255, 0.1);
        }
        
        .stock-input:focus {
            border-color: #1a7bff;
            box-shadow: 0 0 0 3px rgba(26, 123, 255, 0.25);
        }
        
        .analyze-btn {
            width: calc(100% - 30px);
            margin: 0 15px 15px;
            padding: 15px;
            border-radius: 5px;
            background: #1a7bff;
            color: white;
            font-weight: bold;
            font-size: 18px;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.02);
            }
        }
        
        .analyze-btn:hover {
            background: #0052cc;
        }
        
        .footer {
            font-size: 10px;
            color: #777;
            text-align: center;
            margin: 0 15px 15px;
        }
        
        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 100;
            justify-content: center;
            align-items: center;
        }
        
        .modal-content {
            background: #fff;
            border-radius: 15px;
            width: 90%;
            max-width: 350px;
            padding: 20px;
            text-align: center;
            position: relative;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
        }
        
        .close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
            color: #aaa;
        }
        
        .close:hover {
            color: #555;
        }
        
        .progress-container {
            position: relative;
            width: 150px;
            height: 150px;
            margin: 20px auto;
        }
        
        .progress-ring {
            transform: rotate(-90deg);
            width: 150px;
            height: 150px;
        }
        
        .progress-ring__circle {
            stroke: #1a7bff;
            stroke-width: 8;
            fill: transparent;
            transition: stroke-dashoffset 0.5s linear;
        }
        
        .progress-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            stroke: #eee;
            stroke-width: 8;
            fill: transparent;
        }
        
        .progress-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 24px;
            font-weight: bold;
            color: #1a7bff;
        }
        
        .modal-title {
            font-size: 20px;
            margin-bottom: 15px;
            color: #1a7bff;
        }
        
        .modal-text {
            margin-bottom: 15px;
            line-height: 1.5;
        }
        
        .modal-btn {
            padding: 12px 25px;
            border-radius: 50px;
            background: #1a7bff;
            color: white;
            font-weight: bold;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
            font-size: 16px;
        }
        
        .modal-btn:hover {
            background: #0052cc;
        }
        
        .progress-analysis {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 10px;
            flex-wrap: wrap;
        }
        
        .analysis-type {
            background: #f0f8ff;
            border-radius: 20px;
            padding: 5px 10px;
            font-size: 12px;
            color: #1a7bff;
            border: 1px solid #d0e3ff;
        }
        
        .analysis-type i {
            margin-right: 3px;
        }