@charset "UTF-8";

.mysite_data_top {
    display:flex;
    justify-content: space-between;
}
.mysite_data_top .mysite_data_top_title {
    display;inline-block;
    font-size: 1.5em;
}
.mysite_data_top .mysite_data_top_title a {
    display:block;
}
.mysite_data_top .datetime-info {
    display:inline-block;
	text-align:right;
}

.ps-header {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.ps-header h2 {
    margin: 0 0 10px 0;
    font-size: 1.8em;
}

.ps-meta {
    opacity: 0.9;
    font-size: 0.9em;
}

.ps-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.ps-summary-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
}

.ps-summary-card h4 {
    color: #333;
    margin: 0 0 8px 0;
    font-size: 0.9em;
}

.ps-summary-card .value {
    font-size: 1.6em;
    font-weight: bold;
    color: #667eea;
    margin: 0;
}

.ps-tabs {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ps-tab {
    flex: 1;
    padding: 12px;
    background: #f1f1f1;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.3s;
}

.ps-tab.active {
    background: #667eea;
    color: white;
    font-weight: bold;
}

.ps-tab:hover:not(.active) {
    background: #e0e0e0;
}

.ps-tab-content {
    display: none;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ps-tab-content.active {
    display: block;
}

.ps-url-section {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.ps-url-header {
    background: #667eea;
    color: white;
    padding: 12px 15px;
    font-weight: bold;
}

.ps-url-header a {
    color: white;
    text-decoration: none;
}

.ps-device-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.ps-device-result {
    padding: 15px;
    border-right: 1px solid #e0e0e0;
}

.ps-device-result:last-child {
    border-right: none;
}

.ps-device-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
}

.ps-scores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.ps-score-item {
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    background: #f8f9fa;
}

.ps-score-label {
    font-size: 0.8em;
    color: #666;
    margin-bottom: 4px;
}

.ps-score-value {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 4px;
}

.ps-score-good { color: #28a745; }
.ps-score-needs-improvement { color: #ffc107; }
.ps-score-poor { color: #dc3545; }

.ps-link-button {
    display: inline-block;
    padding: 6px 12px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.8em;
    margin: 2px;
}

.ps-link-button:hover {
    background: #5a6fd8;
}

.ps-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.9em;
}

.ps-table th {
    background: #667eea;
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 0.8em;
}

.ps-table td {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}

.ps-table td:first-child {
    text-align: left;
}

.ps-error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
}

@media (max-width: 768px) {
    .ps-device-comparison {
        grid-template-columns: 1fr;
    }
    
    .ps-device-result {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .ps-scores-grid {
        grid-template-columns: 1fr;
    }
    
    .ps-summary-grid {
        grid-template-columns: 1fr;
    }
    
    .ps-tabs {
        flex-direction: column;
    }
}
