   .servers-page-header {
            text-align: center;
            padding: 2rem 0;
            background-color: var(--card);
            margin-bottom: 2rem;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .servers-page-header h1 {
            margin: 0 0 1rem 0;
            font-size: 2.5rem;
            color: var(--text);
        }

        .servers-page-header p {
            color: var(--text-secondary);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }

        /* 検索セクション */
        .search-section {
            margin-bottom: 1rem;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 8px;
            padding: 1rem;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .search-container {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
        }

        .tag-selection-area {
            flex: 1;
            background: rgba(255, 255, 255, 0.6);
            padding: 0.8rem;
            border-radius: 6px;
            box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .tag-selection-header {
            text-align: left;
            margin-bottom: 0.8rem;
            padding-bottom: 0.6rem;
            border-bottom: 1px solid rgba(51, 122, 183, 0.06);
        }

        .tag-selection-header h3 {
            margin: 0 0 0.2rem 0;
            color: var(--text);
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: -0.2px;
        }

        .tag-selection-header p {
            margin: 0;
            color: var(--text-secondary);
            font-size: 0.8rem;
            line-height: 1.3;
        }

        .available-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            justify-content: flex-start;
            align-items: center;
        }

        .available-tags .tag-option {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.4rem 0.6rem;
            border: 1px solid rgba(51, 122, 183, 0.15);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            user-select: none;
            font-size: 0.7rem;
            font-weight: 500;
            text-align: center;
            min-height: 28px;
            min-width: 65px;
            max-width: 90px;
            flex: 0 0 auto;
            background: rgba(255, 255, 255, 0.8);
        }

        .available-tags .tag-option:hover {
            border-color: var(--primary);
            background: rgba(51, 122, 183, 0.08);
            transform: translateY(-1px);
            box-shadow: 0 2px 6px rgba(51, 122, 183, 0.15);
        }

        .available-tags .tag-option.selected {
            border-color: var(--primary);
            background: var(--primary);
            color: white;
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(51, 122, 183, 0.25);
        }

        .available-tags .tag-option input[type="checkbox"] {
            display: none;
        }

        .available-tags .tag-label {
            font-size: 0.7rem;
            font-weight: 500;
            color: inherit;
            white-space: nowrap;
        }

        /* スマホ版用タグドロップダウン */
        .tag-dropdown-container {
            display: none;
            position: relative;
            width: 100%;
        }

        .tag-dropdown-trigger {
            width: 100%;
            padding: 0.5rem 0.6rem;
            border: 1px solid rgba(51, 122, 183, 0.15);
            border-radius: 5px;
            font-size: 0.8rem;
            font-weight: 500;
            background: rgba(255, 255, 255, 0.9);
            color: var(--text);
            cursor: pointer;
            transition: all 0.2s ease;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 0.5rem center;
            background-size: 0.9rem;
            padding-right: 1.8rem;
            text-align: left;
        }

        .tag-dropdown-trigger:hover {
            border-color: var(--primary);
            background: rgba(255, 255, 255, 1);
            transform: translateY(-1px);
            box-shadow: 0 2px 6px rgba(51, 122, 183, 0.15);
        }

        .tag-dropdown-trigger:focus {
            outline: none;
            border-color: var(--primary);
            background: rgba(255, 255, 255, 1);
            box-shadow: 0 0 0 2px rgba(51, 122, 183, 0.2);
        }

        .tag-dropdown-content {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            border: 1px solid rgba(51, 122, 183, 0.15);
            border-radius: 5px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            max-height: 200px;
            overflow-y: auto;
            display: none;
        }

        .tag-dropdown-content.show {
            display: block;
        }

        .tag-dropdown-option {
            display: flex;
            align-items: center;
            padding: 0.5rem 0.8rem;
            cursor: pointer;
            transition: background-color 0.2s ease;
            border-bottom: 1px solid rgba(51, 122, 183, 0.05);
        }

        .tag-dropdown-option:last-child {
            border-bottom: none;
        }

        .tag-dropdown-option:hover {
            background-color: rgba(51, 122, 183, 0.08);
        }

        .tag-dropdown-option input[type="checkbox"] {
            margin-right: 0.5rem;
            width: 16px;
            height: 16px;
            accent-color: var(--primary);
        }

        .tag-dropdown-option label {
            cursor: pointer;
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--text);
            flex: 1;
        }

        .search-options {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            background: rgba(255, 255, 255, 0.6);
            padding: 0.8rem;
            border-radius: 6px;
            box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.2);
            flex-shrink: 0;
            min-width: 160px;
        }

        .search-option-group {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
        }

        .search-option-group label {
            font-size: 0.75rem;
            color: var(--text);
            font-weight: 600;
            letter-spacing: -0.1px;
        }

        .filter-select {
            padding: 0.5rem 0.6rem;
            border: 1px solid rgba(51, 122, 183, 0.15);
            border-radius: 5px;
            font-size: 0.8rem;
            font-weight: 500;
            background: rgba(255, 255, 255, 0.9);
            color: var(--text);
            cursor: pointer;
            transition: all 0.2s ease;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 0.5rem center;
            background-size: 0.9rem;
            padding-right: 1.8rem;
        }

        .filter-select:hover {
            border-color: var(--primary);
            background: rgba(255, 255, 255, 1);
            transform: translateY(-1px);
            box-shadow: 0 2px 6px rgba(51, 122, 183, 0.15);
        }

        .filter-select:focus {
            outline: none;
            border-color: var(--primary);
            background: rgba(255, 255, 255, 1);
            box-shadow: 0 0 0 2px rgba(51, 122, 183, 0.2);
        }

        .search-options .btn {
            padding: 0.5rem 1rem;
            border-radius: 5px;
            font-weight: 600;
            font-size: 0.8rem;
            transition: all 0.2s ease;
            border: 1px solid transparent;
        }

        .search-options .btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        }

        .search-options .btn-primary {
            background: var(--primary);
            color: white;
        }

        .search-options .btn-outline {
            background: rgba(255, 255, 255, 0.9);
            color: var(--text);
            border-color: rgba(51, 122, 183, 0.2);
        }

        .search-options .btn-outline:hover {
            background: rgba(51, 122, 183, 0.05);
            border-color: var(--primary);
        }

        .servers-results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .results-count {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .view-toggle {
            display: flex;
            gap: 5px;
            background-color: var(--background);
            padding: 3px;
            border-radius: 6px;
        }

        .view-toggle button {
            background: none;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .view-toggle button.active {
            background-color: var(--primary);
            color: white;
        }

        /* リスト表示のスタイル */
        .servers-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .servers-list .server-card {
            display: grid;
            grid-template-columns: 60px 2fr 1fr 80px 120px 100px;
            gap: 0.6rem;
            align-items: center;
            padding: 0.6rem;
            background-color: var(--card);
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            border: 1px solid var(--divider);
            transition: all 0.2s ease;
            position: relative;
        }

        .servers-list .server-card:hover {
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }

        .servers-list .server-rank {
            position: absolute;
            top: 0;
            left: 0;
            width: 28px;
            height: 28px;
            background: rgba(128, 128, 128, 0.8);
            color: white;
            font-weight: bold;
            font-size: 0.6rem;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 50%);
            border-radius: 0 0 50% 0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        /* 左上の半円形順位表示（グリッド表示と同じ） */
        .servers-list .server-card::before {
            content: attr(data-rank);
            position: absolute;
            top: 0;
            left: 0;
            width: 28px;
            height: 28px;
            background: rgba(128, 128, 128, 0.8);
            color: white;
            font-weight: bold;
            font-size: 0.6rem;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 50%);
            border-radius: 0 0 50% 0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .servers-list .server-image {
            width: 50px;
            height: 50px;
            border-radius: 8px;
            background-size: cover;
            background-position: center;
            background-color: var(--background);
            border: 1px solid var(--divider);
        }

        .servers-list .server-content {
            display: contents;
        }

        .servers-list .server-header {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
        }

        .servers-list .server-title-with-icon {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .servers-list .server-icon {
            width: 55px;
            height: 55px;
            border-radius: 10px;
            margin: 0 auto;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        .servers-list .server-title {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
            margin: 0;
        }

        .servers-list .server-tags {
            display: flex;
            gap: 0.3rem;
            flex-wrap: wrap;
        }

        .servers-list .server-tag {
            font-size: 0.7rem;
            padding: 0.2rem 0.4rem;
            border-radius: 10px;
            background-color: var(--background);
            color: var(--text-secondary);
            white-space: nowrap;
        }

        .servers-list .server-description {
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin: 0;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .servers-list .server-status {
            text-align: center;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .servers-list .server-status.online {
            color: #28a745;
        }

        .servers-list .server-status.offline {
            color: #dc3545;
        }

        .servers-list .server-players {
            text-align: center;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text);
        }

        .servers-list .server-score {
            text-align: center;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--primary);
        }

        .servers-list .server-votes {
            text-align: center;
            font-size: 0.85rem;
            color: var(--text);
        }

        .servers-list .server-footer {
            display: none;
        }

        /* リスト表示のヘッダー */
        .servers-list-header {
            display: grid;
            grid-template-columns: 60px 2fr 1fr 80px 120px 100px;
            gap: 0.6rem;
            padding: 0.6rem;
            background-color: var(--background);
            border-radius: 8px 8px 0 0;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .servers-list-header .header-icon {
            text-align: center;
        }

        .servers-list-header .header-server {
            text-align: left;
        }

        .servers-list-header .header-status {
            text-align: center;
        }

        .servers-list-header .header-players {
            text-align: center;
        }

        .servers-list-header .header-score {
            text-align: center;
        }

        .servers-list-header .header-votes {
            text-align: center;
        }

        @media (max-width: 768px) {
            .servers-page-header h1 {
                font-size: 2rem;
            }

            body {
                font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            }

            .search-section {
                padding: 1rem;
                border-radius: 8px;
            }

            .search-container {
                flex-direction: column;
                gap: 1rem;
                width: 100%;
                max-width: 600px;
            }

            .tag-selection-area {
                min-width: auto;
                width: 100%;
                padding: 1rem;
            }

            .search-options {
                min-width: auto;
                width: 100%;
                padding: 1rem;
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }

            .tag-selection-header h3 {
                font-size: 0.9rem;
            }

            .tag-selection-header p {
                font-size: 0.8rem;
            }

            .available-tags {
                gap: 0.4rem;
            }

            .available-tags .tag-option {
                padding: 0.4rem 0.6rem;
                border-radius: 6px;
                font-size: 0.7rem;
                min-width: 60px;
                max-width: 85px;
                min-height: 26px;
            }

            .servers-results-header {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }

            /* リスト表示のモバイル対応 */
            .servers-list .server-card {
                grid-template-columns: 50px 1fr 60px 50px;
                gap: 0.4rem;
                padding: 0.5rem;
                position: relative;
                min-height: 60px;
            }

            .servers-list-header {
                display: grid;
                grid-template-columns: 50px 1fr 60px 50px;
                gap: 0.4rem;
                padding: 0.5rem;
                font-size: 0.7rem;
            }

            .servers-list-header .header-status,
            .servers-list-header .header-votes {
                display: none;
            }

            .servers-list .server-rank {
                position: absolute;
                top: 0.2rem;
                left: 0.2rem;
                width: 20px;
                height: 20px;
                font-size: 0.4rem;
                z-index: 10;
            }

            .servers-list .server-card::before {
                position: absolute;
                top: 0.2rem;
                left: 0.2rem;
                width: 20px;
                height: 20px;
                font-size: 0.4rem;
                z-index: 10;
            }

            .servers-list .server-icon {
                width: 40px;
                height: 40px;
                margin: 0;
                border-radius: 6px;
            }

            .servers-list .server-content {
                display: contents;
            }

            .servers-list .server-header {
                margin-bottom: 0;
                display: flex;
                flex-direction: column;
                gap: 0.2rem;
            }

            .servers-list .server-title {
                font-size: 0.9rem;
                margin-bottom: 0;
                line-height: 1.2;
                font-weight: 600;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                width: 100%;
            }

            .servers-list .server-tags {
                margin-bottom: 0;
                display: flex;
                gap: 0.2rem;
                flex-wrap: wrap;
            }

            .servers-list .server-tag {
                font-size: 0.6rem;
                padding: 0.1rem 0.3rem;
                border-radius: 6px;
            }

            .servers-list .server-description {
                display: none;
            }

            .servers-list .server-players,
            .servers-list .server-score {
                font-size: 0.7rem;
                padding: 0.2rem 0.3rem;
                border-radius: 4px;
                text-align: center;
                display: flex;
                align-items: center;
                justify-content: center;
                min-height: 24px;
            }

            .servers-list .server-players {
                font-weight: 500;
            }

            .servers-list .server-score {
                font-weight: 600;
            }

            .servers-list .server-status,
            .servers-list .server-votes {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .search-section {
                padding: 0.8rem;
            }

            .tag-selection-area {
                padding: 0.8rem;
            }

            .search-options {
                padding: 0.8rem;
                flex-direction: row;
                gap: 0.5rem;
                align-items: flex-end;
            }

            .search-option-group {
                flex: 1;
            }

            .search-options .btn {
                padding: 0.4rem 0.6rem;
                font-size: 0.7rem;
                min-width: 60px;
                flex-shrink: 0;
            }

            .tag-selection-header h3 {
                font-size: 0.85rem;
            }

            .tag-selection-header p {
                font-size: 0.75rem;
            }

            /* スマホ版ではタググリッドを非表示にしてドロップダウンを表示 */
            .available-tags {
                display: none;
            }

            .tag-dropdown-container {
                display: block;
            }

            .filter-select {
                padding: 0.4rem 0.5rem;
                font-size: 0.75rem;
            }

            /* スマホ版のレイアウト調整 */
            .search-container {
                gap: 0.8rem;
            }

            .tag-selection-header {
                margin-bottom: 0.6rem;
                padding-bottom: 0.4rem;
            }

            .tag-selection-header p {
                display: none;
            }
        }