* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 25%, #2c5364 50%, #1e3c72 75%, #2a5298 100%);
    min-height: 100vh;
    padding: 20px;
    color: #ffffff;
}

.pconly {
    display: inline;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

button {
    border: none;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    font-weight: 700;
    letter-spacing: 2px;
}

.section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.section:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.section-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #a8d0ff;
    font-weight: 600;
    border-bottom: 2px solid rgba(168, 208, 255, 0.3);
    padding-bottom: 10px;
}

.usage-content, .notice-content {
    line-height: 1.8;
    color: #e0e7ff;
    white-space: pre-line;
}

.input-area {
    width: 100%;
    min-height: 150px;
    padding: 20px;
    border: 2px solid rgba(168, 208, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    resize: vertical;
    font-family: inherit;
    transition: all 0.3s ease;
}

.input-area:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.input-area::placeholder {
    color: rgba(224, 231, 255, 0.5);
}

.button-container {
    text-align: center;
    margin: 30px 0;
}

.execute-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 60px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    letter-spacing: 1px;
}

.execute-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.execute-btn:disabled {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.loading-message {
    text-align: center;
    color: #a8d0ff;
    font-size: 1.1rem;
    margin: 20px 0;
    font-style: italic;
    display: none;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.output-area {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    min-height: 100px;
    color: #e0e7ff;
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.fade-text {
    display: inline;
}

.continue-btn {
    display: inline-block;
    margin-top: 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(240, 147, 251, 0.4);
}

.continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.6);
}

.error-message {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 25px 5px;
    }

    h1 {
        font-size: 2rem;
    }

    .section {
        padding: 20px 5px;
    }

    .execute-btn {
        padding: 15px 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 0px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .pconly {
        display: none;
    }
}