/**
 * Webサービス大辞典 - かわいらしいデザイン
 * 女性向けパステルカラー・やわらかいUI
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    /* Colors - Pastel & Cute */
    --ws-pink-50: #fdf2f8;
    --ws-pink-100: #fce7f3;
    --ws-pink-200: #fbcfe8;
    --ws-pink-300: #f9a8d4;
    --ws-pink-400: #f472b6;
    --ws-pink-500: #ec4899;
    --ws-pink-600: #db2777;
    
    --ws-purple-50: #faf5ff;
    --ws-purple-100: #f3e8ff;
    --ws-purple-200: #e9d5ff;
    --ws-purple-300: #d8b4fe;
    --ws-purple-400: #c084fc;
    --ws-purple-500: #a855f7;
    
    --ws-mint-50: #f0fdfa;
    --ws-mint-100: #ccfbf1;
    --ws-mint-200: #99f6e4;
    --ws-mint-400: #2dd4bf;
    --ws-mint-500: #14b8a6;
    
    --ws-cream: #fffbf5;
    --ws-white: #ffffff;
    --ws-gray-50: #fafafa;
    --ws-gray-100: #f5f5f5;
    --ws-gray-200: #e5e5e5;
    --ws-gray-300: #d4d4d4;
    --ws-gray-400: #a3a3a3;
    --ws-gray-500: #737373;
    --ws-gray-600: #525252;
    --ws-gray-700: #404040;
    --ws-gray-800: #262626;
    
    /* Semantic */
    --ws-success: #10b981;
    --ws-success-bg: #d1fae5;
    --ws-warning: #f59e0b;
    --ws-warning-bg: #fef3c7;
    --ws-info: #8b5cf6;
    --ws-info-bg: #ede9fe;
    
    /* Primary Gradient */
    --ws-gradient-pink: linear-gradient(135deg, #fce7f3 0%, #f3e8ff 100%);
    --ws-gradient-header: linear-gradient(135deg, #fbcfe8 0%, #e9d5ff 50%, #ccfbf1 100%);
    --ws-gradient-card: linear-gradient(180deg, #ffffff 0%, #fdf2f8 100%);
    --ws-gradient-button: linear-gradient(135deg, #f472b6 0%, #c084fc 100%);
    
    /* Typography */
    --ws-font-sans: "Zen Maru Gothic", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
    --ws-font-display: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif;
    
    /* Spacing */
    --ws-space-xs: 0.25rem;
    --ws-space-sm: 0.5rem;
    --ws-space-md: 1rem;
    --ws-space-lg: 1.5rem;
    --ws-space-xl: 2rem;
    --ws-space-2xl: 3rem;
    --ws-space-3xl: 4rem;
    
    /* Border Radius - Rounded & Soft */
    --ws-radius-sm: 8px;
    --ws-radius-md: 12px;
    --ws-radius-lg: 20px;
    --ws-radius-xl: 28px;
    --ws-radius-full: 9999px;
    
    /* Shadows - Soft & Dreamy */
    --ws-shadow-sm: 0 2px 8px rgba(244, 114, 182, 0.08);
    --ws-shadow-md: 0 4px 20px rgba(244, 114, 182, 0.12);
    --ws-shadow-lg: 0 8px 30px rgba(244, 114, 182, 0.15);
    --ws-shadow-card: 0 4px 24px rgba(236, 72, 153, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    --ws-shadow-hover: 0 8px 32px rgba(236, 72, 153, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
    
    /* Transitions */
    --ws-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ws-transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Google Fonts読み込み（functions.phpに追加推奨） */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&family=Zen+Maru+Gothic:wght@400;500;700&display=swap');


/* ==========================================================================
   Base
   ========================================================================== */

.ws-archive,
.ws-single {
    font-family: var(--ws-font-sans);
    color: var(--ws-gray-700);
    line-height: 1.8;
    background: var(--ws-cream);
}


/* ==========================================================================
   Archive Page
   ========================================================================== */

.ws-archive {
    padding: 0 0 var(--ws-space-3xl);
    min-height: 100vh;
}

/* Header - Hero Section */
.ws-archive__header {
    background: var(--ws-gradient-header);
    text-align: center;
    padding: var(--ws-space-3xl) var(--ws-space-lg);
    margin-bottom: var(--ws-space-2xl);
    position: relative;
    overflow: hidden;
}

/* Decorative circles */
.ws-archive__header::before,
.ws-archive__header::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.ws-archive__header::before {
    width: 200px;
    height: 200px;
    background: var(--ws-pink-200);
    top: -50px;
    left: -50px;
}

.ws-archive__header::after {
    width: 150px;
    height: 150px;
    background: var(--ws-purple-200);
    bottom: -30px;
    right: -30px;
}

.ws-archive__title {
    font-family: var(--ws-font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ws-gray-800);
    margin: 0 0 var(--ws-space-sm);
    position: relative;
    z-index: 1;
}

.ws-archive__title::after {
    content: "✨";
    margin-left: 8px;
    font-size: 1.5rem;
}

.ws-archive__description {
    font-size: 0.9375rem;
    color: var(--ws-gray-600);
    margin: 0 0 var(--ws-space-lg);
    position: relative;
    z-index: 1;
}

.ws-archive__stats {
    display: flex;
    justify-content: center;
    gap: var(--ws-space-xl);
    position: relative;
    z-index: 1;
}

.ws-archive__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: var(--ws-space-md) var(--ws-space-xl);
    border-radius: var(--ws-radius-lg);
    box-shadow: var(--ws-shadow-sm);
}

.ws-archive__stat-number {
    font-family: var(--ws-font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ws-pink-500);
    line-height: 1.2;
}

.ws-archive__stat-label {
    font-size: 0.75rem;
    color: var(--ws-gray-500);
    font-weight: 500;
}

/* Container */
.ws-archive__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--ws-space-lg);
}

/* Filter */
.ws-archive__filter {
    margin-bottom: var(--ws-space-xl);
}

.ws-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ws-space-md);
    align-items: flex-end;
    padding: var(--ws-space-lg) var(--ws-space-xl);
    background: var(--ws-white);
    border-radius: var(--ws-radius-xl);
    box-shadow: var(--ws-shadow-card);
    border: 1px solid var(--ws-pink-100);
}

.ws-filter-form__group {
    display: flex;
    flex-direction: column;
    gap: var(--ws-space-xs);
    flex: 1;
    min-width: 140px;
}

.ws-filter-form__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ws-pink-500);
    display: flex;
    align-items: center;
    gap: 4px;
}

.ws-filter-form__label::before {
    content: "♡";
    font-size: 0.625rem;
}

.ws-filter-form__select {
    padding: var(--ws-space-sm) var(--ws-space-md);
    font-size: 0.875rem;
    font-family: var(--ws-font-sans);
    border: 2px solid var(--ws-pink-200);
    border-radius: var(--ws-radius-full);
    background: var(--ws-white);
    color: var(--ws-gray-700);
    cursor: pointer;
    transition: var(--ws-transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f472b6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.ws-filter-form__select:hover,
.ws-filter-form__select:focus {
    border-color: var(--ws-pink-400);
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.15);
}

.ws-filter-form__button {
    padding: var(--ws-space-sm) var(--ws-space-xl);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--ws-font-sans);
    color: var(--ws-white);
    background: var(--ws-gradient-button);
    border: none;
    border-radius: var(--ws-radius-full);
    cursor: pointer;
    transition: var(--ws-transition);
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.3);
}

.ws-filter-form__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 114, 182, 0.4);
}

.ws-filter-form__reset {
    font-size: 0.8125rem;
    color: var(--ws-gray-400);
    text-decoration: none;
    transition: var(--ws-transition);
    padding: var(--ws-space-sm);
}

.ws-filter-form__reset:hover {
    color: var(--ws-pink-500);
}

/* Grid */
.ws-archive__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--ws-space-xl);
}

/* Card */
.ws-card {
    background: var(--ws-white);
    border-radius: var(--ws-radius-xl);
    box-shadow: var(--ws-shadow-card);
    transition: var(--ws-transition);
    overflow: hidden;
    border: 1px solid rgba(244, 114, 182, 0.1);
}

.ws-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ws-shadow-hover);
}

.ws-card__link {
    display: flex;
    flex-direction: column;
    padding: var(--ws-space-lg);
    text-decoration: none;
    color: inherit;
}

.ws-card__header {
    display: flex;
    align-items: flex-start;
    gap: var(--ws-space-md);
    margin-bottom: var(--ws-space-md);
}

.ws-card__logo {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.ws-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--ws-radius-md);
    background: var(--ws-gray-50);
    padding: 4px;
}

.ws-card__logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ws-gradient-pink);
    color: var(--ws-pink-500);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--ws-font-display);
    border-radius: var(--ws-radius-md);
}

.ws-card__info {
    flex: 1;
    min-width: 0;
}

.ws-card__title {
    font-family: var(--ws-font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ws-gray-800);
    margin: 0 0 4px;
    line-height: 1.4;
}

.ws-card__developer {
    font-size: 0.8125rem;
    color: var(--ws-gray-500);
    margin: 0;
}

/* Tags */
.ws-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ws-space-xs);
    margin-bottom: var(--ws-space-md);
}

.ws-card__tag {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--ws-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ws-card__tag--category {
    background: var(--ws-purple-100);
    color: var(--ws-purple-500);
}

.ws-card__tag--ai {
    background: var(--ws-gradient-button);
    color: var(--ws-white);
}

.ws-card__tag--ai::before {
    content: "✦";
    font-size: 0.5rem;
}

.ws-card__tag--ai-partial {
    background: var(--ws-info-bg);
    color: var(--ws-info);
}

.ws-card__tag--free {
    background: var(--ws-mint-100);
    color: var(--ws-mint-500);
}

.ws-card__tag--free::before {
    content: "♡";
    font-size: 0.5rem;
}

/* Rating */
.ws-card__rating {
    display: flex;
    align-items: center;
    gap: var(--ws-space-sm);
    padding-top: var(--ws-space-md);
    border-top: 1px dashed var(--ws-pink-200);
}

.ws-card__rating-stars {
    display: flex;
    gap: 2px;
}

.ws-card__star {
    width: 16px;
    height: 16px;
    color: var(--ws-gray-300);
}

.ws-card__star--filled {
    color: var(--ws-pink-400);
}

.ws-card__star::before {
    content: "★";
    font-size: 14px;
}

.ws-card__rating-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ws-pink-500);
    font-family: var(--ws-font-display);
}

/* Pagination */
.ws-archive__pagination {
    margin-top: var(--ws-space-2xl);
}

.ws-archive__pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--ws-space-sm);
}

.ws-archive__pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--ws-space-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ws-gray-500);
    text-decoration: none;
    background: var(--ws-white);
    border: 2px solid var(--ws-pink-200);
    border-radius: var(--ws-radius-full);
    transition: var(--ws-transition);
}

.ws-archive__pagination .page-numbers:hover {
    border-color: var(--ws-pink-400);
    color: var(--ws-pink-500);
    background: var(--ws-pink-50);
}

.ws-archive__pagination .page-numbers.current {
    background: var(--ws-gradient-button);
    border-color: transparent;
    color: var(--ws-white);
}

/* Empty State */
.ws-archive__empty {
    text-align: center;
    padding: var(--ws-space-3xl) var(--ws-space-lg);
    background: var(--ws-white);
    border-radius: var(--ws-radius-xl);
    box-shadow: var(--ws-shadow-card);
}

.ws-archive__empty::before {
    content: "🔍";
    font-size: 3rem;
    display: block;
    margin-bottom: var(--ws-space-md);
}

.ws-archive__empty p {
    color: var(--ws-gray-500);
    margin: 0 0 var(--ws-space-md);
}

.ws-archive__empty-link {
    display: inline-flex;
    align-items: center;
    gap: var(--ws-space-sm);
    padding: var(--ws-space-sm) var(--ws-space-lg);
    background: var(--ws-gradient-button);
    color: var(--ws-white);
    text-decoration: none;
    border-radius: var(--ws-radius-full);
    font-weight: 600;
    transition: var(--ws-transition);
}

.ws-archive__empty-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.3);
}


/* ==========================================================================
   Single Page
   ========================================================================== */

.ws-single {
    padding: 0 0 var(--ws-space-3xl);
    min-height: 100vh;
}

/* Breadcrumb */
.ws-single__breadcrumb {
    font-size: 0.8125rem;
    color: var(--ws-gray-500);
    padding: var(--ws-space-md) var(--ws-space-lg);
    background: var(--ws-pink-50);
}

.ws-single__breadcrumb a {
    color: var(--ws-gray-500);
    text-decoration: none;
    transition: var(--ws-transition);
}

.ws-single__breadcrumb a:hover {
    color: var(--ws-pink-500);
}

.ws-single__breadcrumb-sep {
    margin: 0 var(--ws-space-sm);
    color: var(--ws-pink-300);
}

/* Hero Header */
.ws-single__header {
    background: var(--ws-gradient-header);
    padding: var(--ws-space-2xl) var(--ws-space-lg);
    position: relative;
    overflow: hidden;
}

.ws-single__header::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.ws-single__header-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ws-single__header-main {
    display: flex;
    gap: var(--ws-space-xl);
    align-items: flex-start;
}

.ws-single__logo {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.ws-single__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--ws-radius-lg);
    background: var(--ws-white);
    padding: 8px;
    box-shadow: var(--ws-shadow-md);
}

.ws-single__logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ws-white);
    color: var(--ws-pink-500);
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--ws-font-display);
    border-radius: var(--ws-radius-lg);
    box-shadow: var(--ws-shadow-md);
}

.ws-single__header-content {
    flex: 1;
}

.ws-single__header-top {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ws-space-sm);
    margin-bottom: var(--ws-space-sm);
}

.ws-single__status {
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--ws-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ws-single__status--active {
    background: var(--ws-mint-100);
    color: var(--ws-mint-500);
}

.ws-single__status--active::before {
    content: "●";
    font-size: 0.5rem;
}

.ws-single__status--beta {
    background: var(--ws-warning-bg);
    color: var(--ws-warning);
}

.ws-single__status--limited,
.ws-single__status--maintenance {
    background: var(--ws-gray-200);
    color: var(--ws-gray-600);
}

.ws-single__status--ended {
    background: var(--ws-gray-300);
    color: var(--ws-gray-600);
}

.ws-single__badge {
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--ws-radius-full);
}

.ws-single__badge--ai {
    background: var(--ws-gradient-button);
    color: var(--ws-white);
}

.ws-single__badge--ai::before {
    content: "✦ ";
}

.ws-single__badge--ai-partial {
    background: var(--ws-info-bg);
    color: var(--ws-info);
}

.ws-single__title {
    font-family: var(--ws-font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ws-gray-800);
    margin: 0 0 var(--ws-space-xs);
    line-height: 1.3;
}

.ws-single__name-en {
    font-size: 0.875rem;
    color: var(--ws-gray-500);
    margin: 0 0 var(--ws-space-md);
}

.ws-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ws-space-md) var(--ws-space-xl);
}

.ws-single__meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ws-single__meta-label {
    font-size: 0.6875rem;
    color: var(--ws-gray-500);
    font-weight: 500;
}

.ws-single__meta-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ws-gray-700);
}

/* Action Buttons */
.ws-single__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ws-space-sm);
    margin-top: var(--ws-space-lg);
}

.ws-single__action-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--ws-space-sm);
    padding: var(--ws-space-sm) var(--ws-space-xl);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--ws-font-sans);
    text-decoration: none;
    border-radius: var(--ws-radius-full);
    transition: var(--ws-transition);
}

.ws-single__action-btn--primary {
    background: var(--ws-gradient-button);
    color: var(--ws-white);
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.3);
}

.ws-single__action-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 114, 182, 0.4);
    color: var(--ws-white);
}

.ws-single__action-btn--primary::before {
    content: "🔗";
}

.ws-single__action-btn--secondary {
    background: var(--ws-white);
    color: var(--ws-gray-700);
    border: 2px solid var(--ws-pink-200);
}

.ws-single__action-btn--secondary:hover {
    background: var(--ws-pink-50);
    border-color: var(--ws-pink-400);
    color: var(--ws-pink-500);
}

.ws-single__action-btn--secondary::before {
    content: "📄";
}

/* Container */
.ws-single__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--ws-space-xl) var(--ws-space-lg);
}

/* Ratings Section */
.ws-single__ratings {
    background: var(--ws-white);
    border-radius: var(--ws-radius-xl);
    box-shadow: var(--ws-shadow-card);
    padding: var(--ws-space-xl);
    margin-bottom: var(--ws-space-xl);
    border: 1px solid var(--ws-pink-100);
}

.ws-single__ratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--ws-space-lg);
}

.ws-single__rating-item {
    display: flex;
    flex-direction: column;
    gap: var(--ws-space-xs);
    padding: var(--ws-space-md);
    background: var(--ws-pink-50);
    border-radius: var(--ws-radius-lg);
    text-align: center;
}

.ws-single__rating-item--main {
    grid-column: 1 / -1;
    background: var(--ws-gradient-pink);
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--ws-space-md);
    padding: var(--ws-space-lg);
}

.ws-single__rating-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ws-gray-600);
}

.ws-single__rating-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.ws-single__star {
    font-size: 20px;
    color: var(--ws-gray-300);
}

.ws-single__star--filled {
    color: var(--ws-pink-400);
}

.ws-single__star::before {
    content: "★";
}

.ws-single__rating-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ws-pink-500);
    font-family: var(--ws-font-display);
}

.ws-single__rating-bar {
    height: 8px;
    background: var(--ws-gray-200);
    border-radius: var(--ws-radius-full);
    overflow: hidden;
    margin-top: var(--ws-space-xs);
}

.ws-single__rating-bar-fill {
    height: 100%;
    background: var(--ws-gradient-button);
    border-radius: var(--ws-radius-full);
    transition: width 0.6s ease;
}

/* Body - Two Column */
.ws-single__body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--ws-space-xl);
    align-items: start;
}

/* Main Column */
.ws-single__main {
    min-width: 0;
}

.ws-single__section {
    background: var(--ws-white);
    border-radius: var(--ws-radius-xl);
    box-shadow: var(--ws-shadow-card);
    padding: var(--ws-space-xl);
    margin-bottom: var(--ws-space-xl);
    border: 1px solid var(--ws-pink-100);
}

.ws-single__section-title {
    font-family: var(--ws-font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ws-gray-800);
    margin: 0 0 var(--ws-space-md);
    padding-bottom: var(--ws-space-sm);
    border-bottom: 2px solid var(--ws-pink-200);
    display: flex;
    align-items: center;
    gap: var(--ws-space-sm);
}

.ws-single__section-title::before {
    content: "♦";
    color: var(--ws-pink-400);
    font-size: 0.875rem;
}

.ws-single__description {
    font-size: 0.9375rem;
    line-height: 1.9;
    color: var(--ws-gray-600);
}

.ws-single__content {
    font-size: 0.9375rem;
    line-height: 1.9;
}

.ws-single__content p {
    margin-bottom: var(--ws-space-md);
}

/* Features */
.ws-single__features {
    display: grid;
    gap: var(--ws-space-md);
}

.ws-single__feature {
    padding: var(--ws-space-lg);
    border-radius: var(--ws-radius-lg);
}

.ws-single__feature--strength {
    background: var(--ws-mint-50);
    border-left: 4px solid var(--ws-mint-400);
}

.ws-single__feature--weakness {
    background: var(--ws-purple-50);
    border-left: 4px solid var(--ws-purple-300);
}

.ws-single__feature-title {
    font-size: 0.8125rem;
    font-weight: 700;
    margin: 0 0 var(--ws-space-sm);
    display: flex;
    align-items: center;
    gap: var(--ws-space-sm);
}

.ws-single__feature--strength .ws-single__feature-title {
    color: var(--ws-mint-500);
}

.ws-single__feature--strength .ws-single__feature-title::before {
    content: "✓";
    background: var(--ws-mint-400);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
}

.ws-single__feature--weakness .ws-single__feature-title {
    color: var(--ws-purple-500);
}

.ws-single__feature--weakness .ws-single__feature-title::before {
    content: "!";
    background: var(--ws-purple-300);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
}

.ws-single__feature-content {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--ws-gray-600);
}

/* YouTube */
.ws-single__youtube-list {
    display: grid;
    gap: var(--ws-space-md);
}

.ws-single__youtube-item {
    display: flex;
    gap: var(--ws-space-md);
    padding: var(--ws-space-md);
    background: var(--ws-gray-50);
    border-radius: var(--ws-radius-lg);
    transition: var(--ws-transition);
}

.ws-single__youtube-item:hover {
    background: var(--ws-pink-50);
}

.ws-single__youtube-thumb {
    flex-shrink: 0;
    width: 140px;
    position: relative;
    border-radius: var(--ws-radius-md);
    overflow: hidden;
}

.ws-single__youtube-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.ws-single__youtube-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: var(--ws-pink-500);
    border-radius: 50%;
    opacity: 0.95;
    box-shadow: 0 2px 8px rgba(244, 114, 182, 0.4);
}

.ws-single__youtube-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-left: 10px solid var(--ws-white);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.ws-single__youtube-info {
    flex: 1;
    display: flex;
    align-items: center;
}

.ws-single__youtube-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ws-gray-700);
    text-decoration: none;
    line-height: 1.6;
}

.ws-single__youtube-title:hover {
    color: var(--ws-pink-500);
}

/* Reference */
.ws-single__reference-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ws-single__reference-item {
    padding: var(--ws-space-sm) 0;
    border-bottom: 1px dashed var(--ws-pink-200);
}

.ws-single__reference-item:last-child {
    border-bottom: none;
}

.ws-single__reference-item a {
    font-size: 0.9375rem;
    color: var(--ws-gray-600);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--ws-space-sm);
    transition: var(--ws-transition);
}

.ws-single__reference-item a::before {
    content: "→";
    color: var(--ws-pink-400);
}

.ws-single__reference-item a:hover {
    color: var(--ws-pink-500);
}

/* Sidebar */
.ws-single__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--ws-space-lg);
}

.ws-single__sidebar-box {
    background: var(--ws-white);
    border-radius: var(--ws-radius-xl);
    box-shadow: var(--ws-shadow-card);
    padding: var(--ws-space-lg);
    border: 1px solid var(--ws-pink-100);
}

.ws-single__sidebar-title {
    font-family: var(--ws-font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ws-pink-500);
    margin: 0 0 var(--ws-space-md);
    padding-bottom: var(--ws-space-sm);
    border-bottom: 2px dashed var(--ws-pink-200);
    display: flex;
    align-items: center;
    gap: var(--ws-space-xs);
}

.ws-single__sidebar-title::before {
    content: "♡";
}

.ws-single__info-list {
    margin: 0;
}

.ws-single__info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--ws-space-sm) 0;
    border-bottom: 1px solid var(--ws-gray-100);
    gap: var(--ws-space-md);
}

.ws-single__info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ws-single__info-row--full {
    flex-direction: column;
    gap: var(--ws-space-xs);
}

.ws-single__info-row dt {
    font-size: 0.8125rem;
    color: var(--ws-gray-500);
    flex-shrink: 0;
}

.ws-single__info-row dd {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ws-gray-700);
    text-align: right;
    margin: 0;
}

.ws-single__info-row--full dd {
    text-align: left;
}

.ws-single__info-highlight {
    color: var(--ws-pink-500);
    font-weight: 700;
}

.ws-single__info-caution {
    color: var(--ws-gray-500);
}

.ws-single__info-note {
    font-size: 0.75rem;
    color: var(--ws-gray-500);
    margin: var(--ws-space-xs) 0 0;
    font-weight: 400;
}

.ws-single__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ws-space-xs);
}

.ws-single__tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 12px;
    background: var(--ws-pink-50);
    color: var(--ws-pink-500);
    border-radius: var(--ws-radius-full);
}

/* Related Services */
.ws-single__related {
    margin-top: var(--ws-space-xl);
}

.ws-single__related-group {
    background: var(--ws-white);
    border-radius: var(--ws-radius-xl);
    box-shadow: var(--ws-shadow-card);
    padding: var(--ws-space-xl);
    margin-bottom: var(--ws-space-lg);
    border: 1px solid var(--ws-pink-100);
}

.ws-single__related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ws-space-md);
    margin-top: var(--ws-space-md);
}

.ws-single__related-card {
    display: flex;
    align-items: center;
    gap: var(--ws-space-sm);
    padding: var(--ws-space-sm) var(--ws-space-md);
    background: var(--ws-pink-50);
    border-radius: var(--ws-radius-lg);
    text-decoration: none;
    transition: var(--ws-transition);
}

.ws-single__related-card:hover {
    background: var(--ws-pink-100);
    transform: translateY(-2px);
}

.ws-single__related-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.ws-single__related-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--ws-radius-sm);
}

.ws-single__related-logo span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--ws-gradient-pink);
    color: var(--ws-pink-500);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--ws-radius-sm);
}

.ws-single__related-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ws-gray-700);
}

/* Navigation */
.ws-single__nav {
    text-align: center;
    padding: var(--ws-space-xl) 0;
}

.ws-single__nav-link {
    display: inline-flex;
    align-items: center;
    gap: var(--ws-space-sm);
    padding: var(--ws-space-sm) var(--ws-space-xl);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ws-gray-600);
    text-decoration: none;
    background: var(--ws-white);
    border: 2px solid var(--ws-pink-200);
    border-radius: var(--ws-radius-full);
    transition: var(--ws-transition);
}

.ws-single__nav-link:hover {
    background: var(--ws-pink-50);
    border-color: var(--ws-pink-400);
    color: var(--ws-pink-500);
}

.ws-single__nav-link::before {
    content: "←";
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .ws-single__body {
        grid-template-columns: 1fr;
    }
    
    .ws-single__sidebar {
        order: -1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ws-archive__header {
        padding: var(--ws-space-xl) var(--ws-space-md);
    }
    
    .ws-archive__title {
        font-size: 1.5rem;
    }
    
    .ws-archive__stats {
        flex-direction: column;
        gap: var(--ws-space-md);
    }
    
    .ws-archive__stat {
        width: 100%;
        max-width: 200px;
    }
    
    .ws-filter-form {
        flex-direction: column;
        padding: var(--ws-space-md);
    }
    
    .ws-filter-form__group {
        width: 100%;
    }
    
    .ws-filter-form__select {
        width: 100%;
    }
    
    .ws-archive__grid {
        grid-template-columns: 1fr;
        gap: var(--ws-space-md);
    }
    
    .ws-single__header-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .ws-single__logo {
        width: 80px;
        height: 80px;
    }
    
    .ws-single__title {
        font-size: 1.375rem;
    }
    
    .ws-single__meta {
        justify-content: center;
    }
    
    .ws-single__actions {
        justify-content: center;
    }
    
    .ws-single__sidebar {
        grid-template-columns: 1fr;
    }
    
    .ws-single__youtube-item {
        flex-direction: column;
    }
    
    .ws-single__youtube-thumb {
        width: 100%;
    }
    
    .ws-single__ratings-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .ws-single__rating-item--main {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ws-single__ratings-grid {
        grid-template-columns: 1fr;
    }
    
    .ws-card__link {
        padding: var(--ws-space-md);
    }
    
    .ws-card__logo {
        width: 52px;
        height: 52px;
    }
}
