* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #333;
min-height: 100vh;
line-height: 1.6;
}
.container {
max-width: 900px;
margin: 0 auto;
padding: 20px;
}
header {
text-align: center;
margin-bottom: 30px;
color: white;
}
header h1 {
font-size: 2.5rem;
margin-bottom: 10px;
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.subtitle {
font-size: 1.1rem;
opacity: 0.9;
}
main {
display: grid;
gap: 25px;
}
section {
background: white;
border-radius: 12px;
padding: 25px;
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
transition: transform 0.2s ease;
}
section:hover {
transform: translateY(-2px);
}
h2 {
color: #333;
margin-bottom: 20px;
font-size: 1.4rem;
border-bottom: 2px solid #e1e5e9;
padding-bottom: 10px;
}
.status-card {
display: grid;
gap: 20px;
}
.status-indicator {
display: flex;
align-items: center;
gap: 10px;
font-size: 1.1rem;
font-weight: 500;
}
.status-dot {
width: 12px;
height: 12px;
border-radius: 50%;
transition: background-color 0.3s ease;
}
.status-dot.running {
background-color: #10b981;
box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}
.status-dot.stopped {
background-color: #ef4444;
}
.status-dot.loading {
background-color: #f59e0b;
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.server-info {
display: grid;
gap: 10px;
background: #f8fafc;
padding: 15px;
border-radius: 8px;
border-left: 4px solid #667eea;
}
.info-item {
display: flex;
justify-content: space-between;
align-items: center;
}
.info-item label {
font-weight: 600;
color: #374151;
}
.info-item span {
font-family: 'SF Mono', Consolas, monospace;
background: white;
padding: 4px 8px;
border-radius: 4px;
font-size: 0.9rem;
}
.controls {
display: flex;
gap: 15px;
flex-wrap: wrap;
}
.btn {
padding: 12px 24px;
border: none;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
font-size: 0.95rem;
}
.btn:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-primary {
background: #667eea;
color: white;
}
.btn-primary:hover {
background: #5a67d8;
}
.btn-secondary {
background: #ef4444;
color: white;
}
.btn-secondary:hover {
background: #dc2626;
}
.btn-tertiary {
background: #10b981;
color: white;
}
.btn-tertiary:hover {
background: #059669;
}
.btn-small {
padding: 8px 16px;
font-size: 0.85rem;
}
.usage-card h3 {
color: #374151;
margin: 20px 0 10px 0;
font-size: 1.1rem;
}
.usage-card h3:first-child {
margin-top: 0;
}
.code-block {
background: #1f2937;
color: #f9fafb;
padding: 15px;
border-radius: 8px;
font-family: 'SF Mono', Consolas, monospace;
font-size: 0.9rem;
position: relative;
margin: 10px 0;
overflow-x: auto;
}
.copy-btn {
position: absolute;
top: 10px;
right: 10px;
background: #374151;
color: white;
border: none;
padding: 5px 10px;
border-radius: 4px;
cursor: pointer;
font-size: 0.8rem;
transition: background 0.2s ease;
}
.copy-btn:hover {
background: #4b5563;
}
.tools-list {
list-style: none;
margin: 10px 0;
}
.tools-list li {
background: #f8fafc;
padding: 10px;
margin: 5px 0;
border-radius: 6px;
border-left: 3px solid #667eea;
}
.tools-list strong {
color: #667eea;
}
.logs-container {
position: relative;
}
.logs {
background: #1f2937;
color: #f9fafb;
padding: 15px;
border-radius: 8px;
font-family: 'SF Mono', Consolas, monospace;
font-size: 0.85rem;
max-height: 200px;
overflow-y: auto;
line-height: 1.4;
white-space: pre-wrap;
}
.logs:empty::before {
content: "ログはありません...";
color: #9ca3af;
font-style: italic;
}
#clear-logs-btn {
margin-top: 10px;
background: #6b7280;
color: white;
}
#clear-logs-btn:hover {
background: #4b5563;
}
@media (max-width: 768px) {
.container {
padding: 15px;
}
header h1 {
font-size: 2rem;
}
.controls {
flex-direction: column;
}
.btn {
width: 100%;
}
.info-item {
flex-direction: column;
align-items: flex-start;
gap: 5px;
}
}